tccli 3.0.1094.1__py2.py3-none-any.whl → 3.0.1096.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 (66) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cls/v20201016/DeleteKafkaRecharge.md +3 -3
  3. tccli/examples/cls/v20201016/ModifyKafkaRecharge.md +23 -13
  4. tccli/examples/cls/v20201016/PreviewKafkaRecharge.md +47 -15
  5. tccli/examples/cynosdb/v20190107/AddClusterSlaveZone.md +2 -1
  6. tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +9 -2
  7. tccli/examples/cynosdb/v20190107/DescribeTasks.md +12 -0
  8. tccli/examples/cynosdb/v20190107/ModifyClusterSlaveZone.md +2 -1
  9. tccli/examples/dasb/v20191018/ModifyCmdTemplate.md +2 -2
  10. tccli/examples/es/v20180416/DescribeServerlessInstances.md +346 -0
  11. tccli/examples/mps/v20190612/CreateAdaptiveDynamicStreamingTemplate.md +1 -1
  12. tccli/examples/mps/v20190612/ModifyAdaptiveDynamicStreamingTemplate.md +1 -1
  13. tccli/examples/organization/v20210331/DescribeEffectivePolicy.md +25 -0
  14. tccli/examples/organization/v20210331/ListNonCompliantResource.md +43 -0
  15. tccli/examples/pts/v20210728/DescribeRegions.md +4 -2
  16. tccli/examples/ssl/v20191205/DescribeDeleteCertificatesTaskResult.md +72 -0
  17. tccli/examples/trocket/v20230308/DescribeMQTTClient.md +57 -49
  18. tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +38 -6
  19. tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +14 -12
  20. tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +1 -121
  21. tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +0 -47
  22. tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +1 -1
  23. tccli/services/aiart/v20221229/api.json +2 -2
  24. tccli/services/antiddos/v20200309/api.json +19 -0
  25. tccli/services/cdb/v20170320/api.json +3 -3
  26. tccli/services/cfw/v20190904/api.json +177 -0
  27. tccli/services/cls/v20201016/api.json +49 -49
  28. tccli/services/cls/v20201016/examples.json +13 -7
  29. tccli/services/cynosdb/v20190107/api.json +74 -0
  30. tccli/services/cynosdb/v20190107/examples.json +4 -4
  31. tccli/services/dasb/v20191018/examples.json +2 -2
  32. tccli/services/dnspod/v20210323/api.json +1 -0
  33. tccli/services/dts/v20211206/api.json +2 -2
  34. tccli/services/es/es_client.py +53 -0
  35. tccli/services/es/v20180416/api.json +429 -0
  36. tccli/services/es/v20180416/examples.json +8 -0
  37. tccli/services/essbasic/v20210526/api.json +9 -0
  38. tccli/services/faceid/v20180301/api.json +22 -3
  39. tccli/services/live/v20180801/api.json +58 -0
  40. tccli/services/monitor/v20180724/api.json +20 -2
  41. tccli/services/mps/v20190612/api.json +172 -92
  42. tccli/services/mps/v20190612/examples.json +2 -2
  43. tccli/services/oceanus/v20190422/api.json +1 -1
  44. tccli/services/omics/v20221128/api.json +20 -2
  45. tccli/services/organization/organization_client.py +106 -0
  46. tccli/services/organization/v20210331/api.json +261 -3
  47. tccli/services/organization/v20210331/examples.json +16 -0
  48. tccli/services/pts/v20210728/api.json +16 -3
  49. tccli/services/pts/v20210728/examples.json +2 -2
  50. tccli/services/redis/v20180412/api.json +11 -0
  51. tccli/services/ssl/ssl_client.py +53 -0
  52. tccli/services/ssl/v20191205/api.json +110 -0
  53. tccli/services/ssl/v20191205/examples.json +8 -0
  54. tccli/services/ssm/v20190923/api.json +1 -1
  55. tccli/services/tdmq/v20200217/api.json +1 -1
  56. tccli/services/trocket/v20230308/api.json +226 -108
  57. tccli/services/trocket/v20230308/examples.json +13 -25
  58. tccli/services/vod/v20180717/api.json +1 -1
  59. tccli/services/wedata/v20210820/api.json +2 -817
  60. tccli/services/wedata/v20210820/examples.json +0 -24
  61. tccli/services/wedata/wedata_client.py +0 -159
  62. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/METADATA +2 -2
  63. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/RECORD +66 -62
  64. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/WHEEL +0 -0
  65. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/entry_points.txt +0 -0
  66. {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/license_files/LICENSE +0 -0
@@ -67,7 +67,7 @@
67
67
  "CreateAdaptiveDynamicStreamingTemplate": [
68
68
  {
69
69
  "document": "",
70
- "input": "https://mps.tencentcloudapi.com/?Action=CreateAdaptiveDynamicStreamingTemplate\n&Name=转自适应码流模板1\n&Format=HLS\n&StreamInfos.0.Video.Codec=libx264\n&StreamInfos.0.Video.Bitrate=2000\n&StreamInfos.0.Video.Fps=2000\n&StreamInfos.0.Audio.Codec=flac\n&StreamInfos.0.Audio.SampleRate=44100\n&StreamInfos.0.Audio.Bitrate=200\n&<公共请求参数>",
70
+ "input": "https://mps.tencentcloudapi.com/?Action=CreateAdaptiveDynamicStreamingTemplate\n&Name=转自适应码流模板1\n&Format=HLS\n&StreamInfos.0.Video.Codec=h264\n&StreamInfos.0.Video.Bitrate=2000\n&StreamInfos.0.Video.Fps=2000\n&StreamInfos.0.Audio.Codec=flac\n&StreamInfos.0.Audio.SampleRate=44100\n&StreamInfos.0.Audio.Bitrate=200\n&<公共请求参数>",
71
71
  "output": "{\n \"Response\": {\n \"Definition\": 30018,\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
72
72
  "title": "创建转自适应码流模板"
73
73
  }
@@ -719,7 +719,7 @@
719
719
  "ModifyAdaptiveDynamicStreamingTemplate": [
720
720
  {
721
721
  "document": "",
722
- "input": "https://mps.tencentcloudapi.com/?Action=ModifyAdaptiveDynamicStreamingTemplate\n&Definition=10038\n&Name=转自适应码流模板2\n&Format=HLS\n&StreamInfos.0.Video.Codec=libx264\n&StreamInfos.0.Video.Bitrate=2000\n&StreamInfos.0.Video.Fps=25\n&StreamInfos.0.Audio.Codec=flac\n&StreamInfos.0.Audio.SampleRate=44100\n&StreamInfos.0.Audio.Bitrate=200\n&<公共请求参数>",
722
+ "input": "https://mps.tencentcloudapi.com/?Action=ModifyAdaptiveDynamicStreamingTemplate\n&Definition=10038\n&Name=转自适应码流模板2\n&Format=HLS\n&StreamInfos.0.Video.Codec=h264\n&StreamInfos.0.Video.Bitrate=2000\n&StreamInfos.0.Video.Fps=25\n&StreamInfos.0.Audio.Codec=flac\n&StreamInfos.0.Audio.SampleRate=44100\n&StreamInfos.0.Audio.Bitrate=200\n&<公共请求参数>",
723
723
  "output": "{\n \"Response\": {\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
724
724
  "title": "修改转自适应码流模板"
725
725
  }
@@ -1809,7 +1809,7 @@
1809
1809
  "members": [
1810
1810
  {
1811
1811
  "disabled": false,
1812
- "document": "作业名称,允许输入长度小于等于50个字符的中文、英文、数字、-(横线)、_(下划线)、.(点),且符号必须半角字符。注意作业名不能和现有作业同名",
1812
+ "document": "作业名称,允许输入长度小于50个字符的中文、英文、数字、-(横线)、_(下划线)、.(点),且符号必须半角字符。注意作业名不能和现有作业同名",
1813
1813
  "example": "job_new",
1814
1814
  "member": "string",
1815
1815
  "name": "Name",
@@ -2243,7 +2243,7 @@
2243
2243
  },
2244
2244
  {
2245
2245
  "disabled": false,
2246
- "document": "工作目录,使用缓存卷内的相对路径 (暂时仅支持Nextflow)",
2246
+ "document": "工作目录,可填写指定缓存卷内的绝对路径,不填使用默认缓存卷内的默认路径,暂时仅支持Nextflow",
2247
2247
  "example": "无",
2248
2248
  "member": "string",
2249
2249
  "name": "WorkDir",
@@ -2258,6 +2258,15 @@
2258
2258
  "name": "AccessMode",
2259
2259
  "required": false,
2260
2260
  "type": "string"
2261
+ },
2262
+ {
2263
+ "disabled": false,
2264
+ "document": "缓存卷ID,不填使用默认缓存卷,暂时仅支持Nextflow。",
2265
+ "example": "无",
2266
+ "member": "string",
2267
+ "name": "VolumeIds",
2268
+ "required": false,
2269
+ "type": "list"
2261
2270
  }
2262
2271
  ],
2263
2272
  "type": "object"
@@ -2938,12 +2947,21 @@
2938
2947
  },
2939
2948
  {
2940
2949
  "disabled": false,
2941
- "document": "工作目录,使用缓存卷内的相对路径 (暂时仅支持Nextflow)",
2950
+ "document": "工作目录,可填写指定缓存卷内的绝对路径,不填使用默认缓存卷内的默认路径,暂时仅支持Nextflow",
2942
2951
  "example": "无",
2943
2952
  "member": "string",
2944
2953
  "name": "WorkDir",
2945
2954
  "required": false,
2946
2955
  "type": "string"
2956
+ },
2957
+ {
2958
+ "disabled": false,
2959
+ "document": "缓存卷ID,不填使用默认缓存卷,暂时仅支持Nextflow。",
2960
+ "example": "无",
2961
+ "member": "string",
2962
+ "name": "VolumeIds",
2963
+ "required": false,
2964
+ "type": "list"
2947
2965
  }
2948
2966
  ],
2949
2967
  "type": "object"
@@ -1215,6 +1215,58 @@ def doDeleteOrganizationNodes(args, parsed_globals):
1215
1215
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1216
1216
 
1217
1217
 
1218
+ def doDescribeEffectivePolicy(args, parsed_globals):
1219
+ g_param = parse_global_arg(parsed_globals)
1220
+
1221
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1222
+ cred = credential.CVMRoleCredential()
1223
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1224
+ cred = credential.STSAssumeRoleCredential(
1225
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1226
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1227
+ )
1228
+ 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):
1229
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1230
+ else:
1231
+ cred = credential.Credential(
1232
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1233
+ )
1234
+ http_profile = HttpProfile(
1235
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1236
+ reqMethod="POST",
1237
+ endpoint=g_param[OptionsDefine.Endpoint],
1238
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1239
+ )
1240
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1241
+ if g_param[OptionsDefine.Language]:
1242
+ profile.language = g_param[OptionsDefine.Language]
1243
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1244
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
1245
+ client._sdkVersion += ("_CLI_" + __version__)
1246
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1247
+ model = models.DescribeEffectivePolicyRequest()
1248
+ model.from_json_string(json.dumps(args))
1249
+ start_time = time.time()
1250
+ while True:
1251
+ rsp = client.DescribeEffectivePolicy(model)
1252
+ result = rsp.to_json_string()
1253
+ try:
1254
+ json_obj = json.loads(result)
1255
+ except TypeError as e:
1256
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1257
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1258
+ break
1259
+ cur_time = time.time()
1260
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1261
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1262
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1263
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1264
+ else:
1265
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1266
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1267
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1268
+
1269
+
1218
1270
  def doDeleteShareUnitResources(args, parsed_globals):
1219
1271
  g_param = parse_global_arg(parsed_globals)
1220
1272
 
@@ -1683,6 +1735,58 @@ def doAddShareUnitResources(args, parsed_globals):
1683
1735
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1684
1736
 
1685
1737
 
1738
+ def doListNonCompliantResource(args, parsed_globals):
1739
+ g_param = parse_global_arg(parsed_globals)
1740
+
1741
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1742
+ cred = credential.CVMRoleCredential()
1743
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1744
+ cred = credential.STSAssumeRoleCredential(
1745
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1746
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1747
+ )
1748
+ 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):
1749
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1750
+ else:
1751
+ cred = credential.Credential(
1752
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1753
+ )
1754
+ http_profile = HttpProfile(
1755
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1756
+ reqMethod="POST",
1757
+ endpoint=g_param[OptionsDefine.Endpoint],
1758
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1759
+ )
1760
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1761
+ if g_param[OptionsDefine.Language]:
1762
+ profile.language = g_param[OptionsDefine.Language]
1763
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1764
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
1765
+ client._sdkVersion += ("_CLI_" + __version__)
1766
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1767
+ model = models.ListNonCompliantResourceRequest()
1768
+ model.from_json_string(json.dumps(args))
1769
+ start_time = time.time()
1770
+ while True:
1771
+ rsp = client.ListNonCompliantResource(model)
1772
+ result = rsp.to_json_string()
1773
+ try:
1774
+ json_obj = json.loads(result)
1775
+ except TypeError as e:
1776
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1777
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1778
+ break
1779
+ cur_time = time.time()
1780
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1781
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1782
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1783
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1784
+ else:
1785
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1786
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1787
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1788
+
1789
+
1686
1790
  def doAttachPolicy(args, parsed_globals):
1687
1791
  g_param = parse_global_arg(parsed_globals)
1688
1792
 
@@ -3747,6 +3851,7 @@ ACTION_MAP = {
3747
3851
  "DescribeOrganizationFinancialByMonth": doDescribeOrganizationFinancialByMonth,
3748
3852
  "DeleteAccount": doDeleteAccount,
3749
3853
  "DeleteOrganizationNodes": doDeleteOrganizationNodes,
3854
+ "DescribeEffectivePolicy": doDescribeEffectivePolicy,
3750
3855
  "DeleteShareUnitResources": doDeleteShareUnitResources,
3751
3856
  "DescribeOrganizationMemberPolicies": doDescribeOrganizationMemberPolicies,
3752
3857
  "CancelOrganizationInvitation": doCancelOrganizationInvitation,
@@ -3756,6 +3861,7 @@ ACTION_MAP = {
3756
3861
  "DescribeOrganizationFinancialByMember": doDescribeOrganizationFinancialByMember,
3757
3862
  "GetOrganizationMember": doGetOrganizationMember,
3758
3863
  "AddShareUnitResources": doAddShareUnitResources,
3864
+ "ListNonCompliantResource": doListNonCompliantResource,
3759
3865
  "AttachPolicy": doAttachPolicy,
3760
3866
  "CreateOrganizationMembersPolicy": doCreateOrganizationMembersPolicy,
3761
3867
  "DescribeShareAreas": doDescribeShareAreas,
@@ -106,7 +106,7 @@
106
106
  "status": "online"
107
107
  },
108
108
  "CreatePolicy": {
109
- "document": "创建一个特殊类型的策略,你可以关联到企业组织Root节点、企业单元或者企业的成员账号。",
109
+ "document": "创建一个特殊类型的策略,您可以关联到企业组织Root节点、企业部门节点或者企业的成员账号。",
110
110
  "input": "CreatePolicyRequest",
111
111
  "name": "创建策略",
112
112
  "output": "CreatePolicyResponse",
@@ -189,6 +189,13 @@
189
189
  "output": "DeleteShareUnitResourcesResponse",
190
190
  "status": "online"
191
191
  },
192
+ "DescribeEffectivePolicy": {
193
+ "document": "查询目标关联的有效策略",
194
+ "input": "DescribeEffectivePolicyRequest",
195
+ "name": "查询目标关联的有效策略",
196
+ "output": "DescribeEffectivePolicyResponse",
197
+ "status": "online"
198
+ },
192
199
  "DescribeOrganization": {
193
200
  "document": "获取企业组织信息",
194
201
  "input": "DescribeOrganizationRequest",
@@ -329,6 +336,13 @@
329
336
  "output": "EnablePolicyTypeResponse",
330
337
  "status": "online"
331
338
  },
339
+ "ListNonCompliantResource": {
340
+ "document": "获取成员标签检测不合规资源列表",
341
+ "input": "ListNonCompliantResourceRequest",
342
+ "name": "获取成员标签检测不合规资源列表",
343
+ "output": "ListNonCompliantResourceResponse",
344
+ "status": "online"
345
+ },
332
346
  "ListOrganizationIdentity": {
333
347
  "document": "获取组织成员访问身份列表",
334
348
  "input": "ListOrganizationIdentityRequest",
@@ -1552,7 +1566,7 @@
1552
1566
  "members": [
1553
1567
  {
1554
1568
  "disabled": false,
1555
- "document": "需要删除的策略ID。可以调用[ListPolicies](https://tcloud4api.woa.com/document/product/1128/79356?!preview&!document=1)获取\n",
1569
+ "document": "需要删除的策略ID。可以调用[ListPolicies](https://cloud.tencent.com/document/product/850/105311)获取\n",
1556
1570
  "example": "100001",
1557
1571
  "member": "uint64",
1558
1572
  "name": "PolicyId",
@@ -1709,6 +1723,42 @@
1709
1723
  ],
1710
1724
  "type": "object"
1711
1725
  },
1726
+ "DescribeEffectivePolicyRequest": {
1727
+ "document": "DescribeEffectivePolicy请求参数结构体",
1728
+ "members": [
1729
+ {
1730
+ "disabled": false,
1731
+ "document": "账号uin或者节点id。",
1732
+ "example": "10083",
1733
+ "member": "uint64",
1734
+ "name": "TargetId",
1735
+ "required": true,
1736
+ "type": "int"
1737
+ }
1738
+ ],
1739
+ "type": "object"
1740
+ },
1741
+ "DescribeEffectivePolicyResponse": {
1742
+ "document": "DescribeEffectivePolicy返回参数结构体",
1743
+ "members": [
1744
+ {
1745
+ "disabled": false,
1746
+ "document": "有效策略。\n注意:此字段可能返回 null,表示取不到有效值。",
1747
+ "example": "无",
1748
+ "member": "EffectivePolicy",
1749
+ "name": "EffectivePolicy",
1750
+ "type": "object",
1751
+ "value_allowed_null": true
1752
+ },
1753
+ {
1754
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1755
+ "member": "string",
1756
+ "name": "RequestId",
1757
+ "type": "string"
1758
+ }
1759
+ ],
1760
+ "type": "object"
1761
+ },
1712
1762
  "DescribeOrganizationAuthNodeRequest": {
1713
1763
  "document": "DescribeOrganizationAuthNode请求参数结构体",
1714
1764
  "members": [
@@ -3249,6 +3299,42 @@
3249
3299
  ],
3250
3300
  "type": "object"
3251
3301
  },
3302
+ "EffectivePolicy": {
3303
+ "document": "有效策略。",
3304
+ "members": [
3305
+ {
3306
+ "disabled": false,
3307
+ "document": "目标ID。",
3308
+ "example": "111111111111",
3309
+ "member": "uint64",
3310
+ "name": "TargetId",
3311
+ "required": true,
3312
+ "type": "int",
3313
+ "value_allowed_null": false
3314
+ },
3315
+ {
3316
+ "disabled": false,
3317
+ "document": "有效策略内容。",
3318
+ "example": "无",
3319
+ "member": "string",
3320
+ "name": "PolicyContent",
3321
+ "required": true,
3322
+ "type": "string",
3323
+ "value_allowed_null": false
3324
+ },
3325
+ {
3326
+ "disabled": false,
3327
+ "document": "有效策略更新时间。",
3328
+ "example": "1668394639",
3329
+ "member": "uint64",
3330
+ "name": "LastUpdatedTimestamp",
3331
+ "required": true,
3332
+ "type": "int",
3333
+ "value_allowed_null": false
3334
+ }
3335
+ ],
3336
+ "usage": "out"
3337
+ },
3252
3338
  "EnablePolicyTypeRequest": {
3253
3339
  "document": "EnablePolicyType请求参数结构体",
3254
3340
  "members": [
@@ -3335,6 +3421,80 @@
3335
3421
  ],
3336
3422
  "usage": "both"
3337
3423
  },
3424
+ "ListNonCompliantResourceRequest": {
3425
+ "document": "ListNonCompliantResource请求参数结构体",
3426
+ "members": [
3427
+ {
3428
+ "disabled": false,
3429
+ "document": "限制数目。取值范围:1~50。",
3430
+ "example": "10",
3431
+ "member": "uint64",
3432
+ "name": "MaxResults",
3433
+ "required": true,
3434
+ "type": "int"
3435
+ },
3436
+ {
3437
+ "disabled": false,
3438
+ "document": "成员Uin。",
3439
+ "example": "111111111111",
3440
+ "member": "uint64",
3441
+ "name": "MemberUin",
3442
+ "required": true,
3443
+ "type": "int"
3444
+ },
3445
+ {
3446
+ "disabled": false,
3447
+ "document": "从上一页的响应中获取的下一页的Token值。\n如果是第一次请求,设置为空。",
3448
+ "example": "\"\"",
3449
+ "member": "string",
3450
+ "name": "PaginationToken",
3451
+ "required": false,
3452
+ "type": "string"
3453
+ },
3454
+ {
3455
+ "disabled": false,
3456
+ "document": "标签键。",
3457
+ "example": "\"\"",
3458
+ "member": "string",
3459
+ "name": "TagKey",
3460
+ "required": false,
3461
+ "type": "string"
3462
+ }
3463
+ ],
3464
+ "type": "object"
3465
+ },
3466
+ "ListNonCompliantResourceResponse": {
3467
+ "document": "ListNonCompliantResource返回参数结构体",
3468
+ "members": [
3469
+ {
3470
+ "disabled": false,
3471
+ "document": "资源及标签合规信息。\n注意:此字段可能返回 null,表示取不到有效值。",
3472
+ "example": "无",
3473
+ "member": "ResourceTagMapping",
3474
+ "name": "Items",
3475
+ "output_required": true,
3476
+ "type": "list",
3477
+ "value_allowed_null": true
3478
+ },
3479
+ {
3480
+ "disabled": false,
3481
+ "document": "获取的下一页的Token值。\n注意:此字段可能返回 null,表示取不到有效值。",
3482
+ "example": "\"\"",
3483
+ "member": "string",
3484
+ "name": "PaginationToken",
3485
+ "output_required": true,
3486
+ "type": "string",
3487
+ "value_allowed_null": true
3488
+ },
3489
+ {
3490
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3491
+ "member": "string",
3492
+ "name": "RequestId",
3493
+ "type": "string"
3494
+ }
3495
+ ],
3496
+ "type": "object"
3497
+ },
3338
3498
  "ListOrganizationIdentityRequest": {
3339
3499
  "document": "ListOrganizationIdentity请求参数结构体",
3340
3500
  "members": [
@@ -4979,6 +5139,42 @@
4979
5139
  ],
4980
5140
  "type": "object"
4981
5141
  },
5142
+ "ResourceTagMapping": {
5143
+ "document": "资源及关联的标签",
5144
+ "members": [
5145
+ {
5146
+ "disabled": false,
5147
+ "document": "资源六段式。腾讯云使用资源六段式描述一个资源。\n例如:qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}。\n注意:此字段可能返回 null,表示取不到有效值。",
5148
+ "example": "无",
5149
+ "member": "string",
5150
+ "name": "Resource",
5151
+ "required": true,
5152
+ "type": "string",
5153
+ "value_allowed_null": true
5154
+ },
5155
+ {
5156
+ "disabled": false,
5157
+ "document": "合规详情。\n注意:此字段可能返回 null,表示取不到有效值。",
5158
+ "example": "无",
5159
+ "member": "TagComplianceDetails",
5160
+ "name": "ComplianceDetails",
5161
+ "required": true,
5162
+ "type": "object",
5163
+ "value_allowed_null": true
5164
+ },
5165
+ {
5166
+ "disabled": false,
5167
+ "document": "资源标签。\n注意:此字段可能返回 null,表示取不到有效值。",
5168
+ "example": "无",
5169
+ "member": "Tags",
5170
+ "name": "Tags",
5171
+ "required": true,
5172
+ "type": "list",
5173
+ "value_allowed_null": true
5174
+ }
5175
+ ],
5176
+ "usage": "out"
5177
+ },
4982
5178
  "ShareArea": {
4983
5179
  "document": "共享地域",
4984
5180
  "members": [
@@ -5160,6 +5356,68 @@
5160
5356
  ],
5161
5357
  "usage": "out"
5162
5358
  },
5359
+ "TagComplianceDetails": {
5360
+ "document": "标签合规信息",
5361
+ "members": [
5362
+ {
5363
+ "disabled": false,
5364
+ "document": "合规状态。true-合规,false-不合规\n注意:此字段可能返回 null,表示取不到有效值。",
5365
+ "example": "true",
5366
+ "member": "bool",
5367
+ "name": "ComplianceStatus",
5368
+ "required": true,
5369
+ "type": "bool",
5370
+ "value_allowed_null": true
5371
+ },
5372
+ {
5373
+ "disabled": false,
5374
+ "document": "值不合规的标签键列表。\n注意:此字段可能返回 null,表示取不到有效值。",
5375
+ "example": "[]",
5376
+ "member": "string",
5377
+ "name": "KeysWithNonCompliantValues",
5378
+ "required": true,
5379
+ "type": "list",
5380
+ "value_allowed_null": true
5381
+ },
5382
+ {
5383
+ "disabled": false,
5384
+ "document": "键不合规的标签键列表。\n注意:此字段可能返回 null,表示取不到有效值。",
5385
+ "example": "[]",
5386
+ "member": "string",
5387
+ "name": "NonCompliantKeys",
5388
+ "required": true,
5389
+ "type": "list",
5390
+ "value_allowed_null": true
5391
+ }
5392
+ ],
5393
+ "usage": "out"
5394
+ },
5395
+ "Tags": {
5396
+ "document": "标签键值对",
5397
+ "members": [
5398
+ {
5399
+ "disabled": false,
5400
+ "document": "标签键。\n注意:此字段可能返回 null,表示取不到有效值。",
5401
+ "example": "\"\"",
5402
+ "member": "string",
5403
+ "name": "TagKey",
5404
+ "required": true,
5405
+ "type": "string",
5406
+ "value_allowed_null": true
5407
+ },
5408
+ {
5409
+ "disabled": false,
5410
+ "document": "标签值。\n注意:此字段可能返回 null,表示取不到有效值。",
5411
+ "example": "\"\"",
5412
+ "member": "string",
5413
+ "name": "TagValue",
5414
+ "required": true,
5415
+ "type": "string",
5416
+ "value_allowed_null": true
5417
+ }
5418
+ ],
5419
+ "usage": "out"
5420
+ },
5163
5421
  "UpdateOrganizationIdentityRequest": {
5164
5422
  "document": "UpdateOrganizationIdentity请求参数结构体",
5165
5423
  "members": [
@@ -5399,7 +5657,7 @@
5399
5657
  "members": [
5400
5658
  {
5401
5659
  "disabled": false,
5402
- "document": "需要编辑的策略ID。可以调用[ListPolicies](https://tcloud4api.woa.com/document/product/1128/79356?!preview&!document=1)获取",
5660
+ "document": "需要编辑的策略ID。可以调用[ListPolicies](https://cloud.tencent.com/document/product/850/105311)获取",
5403
5661
  "example": "100001",
5404
5662
  "member": "int64",
5405
5663
  "name": "PolicyId",
@@ -216,6 +216,14 @@
216
216
  "title": "删除共享单元资源"
217
217
  }
218
218
  ],
219
+ "DescribeEffectivePolicy": [
220
+ {
221
+ "document": "查询目标关联的有效策略",
222
+ "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEffectivePolicy\n<公共请求参数>\n\n{\n \"TargetId\": 111111111111\n}",
223
+ "output": "{\n \"Response\": {\n \"EffectivePolicy\": {\n \"TargetId\": 111111111111,\n \"PolicyContent\": \"{\\\"tags\\\":{\\\"aaa\\\":{\\\"tag_key\\\":\\\"aaa\\\",\\\"tag_value\\\":[\\\"111\\\",\\\"222\\\"],\\\"resource_type_scope\\\":[\\\"cvm:instance\\\",\\\"cvm:volume\\\",\\\"cvm:keypair\\\",\\\"cvm:image\\\"]},\\\"bbb\\\":{\\\"tag_key\\\":\\\"bbb\\\",\\\"tag_value\\\":[\\\"333\\\"]}}}\",\n \"LastUpdatedTimestamp\": 1668394639\n },\n \"RequestId\": \"b46d2afe-6893-4529-bc96-2c82d9214957\"\n }\n}",
224
+ "title": "查询目标关联的有效策略"
225
+ }
226
+ ],
219
227
  "DescribeOrganization": [
220
228
  {
221
229
  "document": "",
@@ -376,6 +384,14 @@
376
384
  "title": "启用策略类型"
377
385
  }
378
386
  ],
387
+ "ListNonCompliantResource": [
388
+ {
389
+ "document": "获取成员标签检测不合规资源列表",
390
+ "input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListNonCompliantResource\n<公共请求参数>\n\n{\n \"MaxResults\": \"10\",\n \"PaginationToken\": \"\",\n \"MemberUin\": 1111111111\n}",
391
+ "output": "{\n \"Response\": {\n \"Items\": [\n {\n \"Resource\": \"qcs::vpc::uin/1111111111:subnet/subnet-test1\",\n \"ComplianceDetails\": {\n \"ComplianceStatus\": true,\n \"KeysWithNonCompliantValues\": [\n \"abc\"\n ],\n \"NonCompliantKeys\": [\n \"abc\"\n ]\n },\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ]\n }\n ],\n \"PaginationToken\": \"fgh363\",\n \"RequestId\": \"242effbd-5220-4776-9cc2-87afbdcb68db\"\n }\n}",
392
+ "title": "获取成员标签检测不合规资源列表"
393
+ }
394
+ ],
379
395
  "ListOrganizationIdentity": [
380
396
  {
381
397
  "document": "获取组织成员访问身份列表",
@@ -3254,7 +3254,17 @@
3254
3254
  },
3255
3255
  "DescribeRegionsRequest": {
3256
3256
  "document": "DescribeRegions请求参数结构体",
3257
- "members": [],
3257
+ "members": [
3258
+ {
3259
+ "disabled": false,
3260
+ "document": "通过该参数指定不同压测网络环境,在不同网络环境下,PTS可用的地域不一样",
3261
+ "example": "0: 公网压测可用地域, 1: VPC私有网络压测可用地域,2: DevCloud环境可用地域",
3262
+ "member": "uint64",
3263
+ "name": "LoadType",
3264
+ "required": false,
3265
+ "type": "int"
3266
+ }
3267
+ ],
3258
3268
  "type": "object"
3259
3269
  },
3260
3270
  "DescribeRegionsResponse": {
@@ -3266,7 +3276,7 @@
3266
3276
  "example": "无",
3267
3277
  "member": "RegionDetail",
3268
3278
  "name": "RegionSet",
3269
- "required": true,
3279
+ "output_required": true,
3270
3280
  "type": "list",
3271
3281
  "value_allowed_null": true
3272
3282
  },
@@ -5207,6 +5217,7 @@
5207
5217
  "example": "无",
5208
5218
  "member": "LoadSpec",
5209
5219
  "name": "LoadSpec",
5220
+ "output_required": true,
5210
5221
  "required": false,
5211
5222
  "type": "object",
5212
5223
  "value_allowed_null": true
@@ -5217,16 +5228,18 @@
5217
5228
  "example": "无",
5218
5229
  "member": "VpcLoadDistribution",
5219
5230
  "name": "VpcLoadDistribution",
5231
+ "output_required": true,
5220
5232
  "required": false,
5221
5233
  "type": "object",
5222
5234
  "value_allowed_null": true
5223
5235
  },
5224
5236
  {
5225
5237
  "disabled": false,
5226
- "document": "压力分布\n注意:此字段可能返回 null,表示取不到有效值。",
5238
+ "document": "多地域压力分布\n注意:此字段可能返回 null,表示取不到有效值。",
5227
5239
  "example": "无",
5228
5240
  "member": "GeoRegionsLoadItem",
5229
5241
  "name": "GeoRegionsLoadDistribution",
5242
+ "output_required": true,
5230
5243
  "required": false,
5231
5244
  "type": "list",
5232
5245
  "value_allowed_null": true
@@ -243,8 +243,8 @@
243
243
  "DescribeRegions": [
244
244
  {
245
245
  "document": "",
246
- "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegions\n<公共请求参数>\n\n{}",
247
- "output": "{\n \"Response\": {\n \"RegionSet\": [\n {\n \"CreatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"UpdatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"RegionId\": 1,\n \"Region\": \"ap-guangzhou\",\n \"RegionShortName\": \"gz\",\n \"RegionState\": 1,\n \"RegionName\": \"广州\",\n \"Area\": \"华南地区\"\n },\n {\n \"CreatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"UpdatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"RegionId\": 37,\n \"Region\": \"ap-shenzhen\",\n \"RegionShortName\": \"szx\",\n \"RegionState\": 1,\n \"RegionName\": \"深圳\",\n \"Area\": \"华南地区\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
246
+ "input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegions\n<公共请求参数>\n\n{\n \"LoadType\": 0\n}",
247
+ "output": "{\n \"Response\": {\n \"RegionSet\": [\n {\n \"CreatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"UpdatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"RegionId\": 1,\n \"Region\": \"ap-guangzhou\",\n \"RegionShortName\": \"gz\",\n \"RegionState\": 1,\n \"RegionName\": \"广州\",\n \"Area\": \"华南地区\"\n },\n {\n \"CreatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"UpdatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"RegionId\": 37,\n \"Region\": \"ap-shenzhen\",\n \"RegionShortName\": \"szx\",\n \"RegionState\": 1,\n \"RegionName\": \"深圳\",\n \"Area\": \"华南地区\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
248
248
  "title": "查询地域列表"
249
249
  }
250
250
  ],