tccli 3.0.1273.1__py2.py3-none-any.whl → 3.0.1274.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 (34) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/captcha/v20190722/api.json +116 -116
  3. tccli/services/captcha/v20190722/examples.json +1 -1
  4. tccli/services/cdwch/v20200915/api.json +61 -11
  5. tccli/services/clb/v20180317/api.json +9 -0
  6. tccli/services/dlc/v20210125/examples.json +1 -1
  7. tccli/services/dts/v20211206/api.json +1 -1
  8. tccli/services/faceid/v20180301/api.json +11 -11
  9. tccli/services/faceid/v20180301/examples.json +8 -2
  10. tccli/services/hunyuan/v20230901/api.json +2 -2
  11. tccli/services/lke/v20231130/api.json +73 -2
  12. tccli/services/lke/v20231130/examples.json +1 -1
  13. tccli/services/lkeap/v20240522/api.json +3 -3
  14. tccli/services/lowcode/lowcode_client.py +477 -0
  15. tccli/services/lowcode/v20210108/api.json +1764 -155
  16. tccli/services/lowcode/v20210108/examples.json +75 -9
  17. tccli/services/monitor/monitor_client.py +53 -0
  18. tccli/services/monitor/v20180724/api.json +188 -0
  19. tccli/services/monitor/v20180724/examples.json +8 -0
  20. tccli/services/rce/v20201103/api.json +26 -26
  21. tccli/services/redis/v20180412/api.json +110 -110
  22. tccli/services/ssl/v20191205/api.json +9 -9
  23. tccli/services/tdid/v20210519/api.json +95 -26
  24. tccli/services/tdid/v20210519/examples.json +15 -3
  25. tccli/services/tsf/v20180326/api.json +88 -88
  26. tccli/services/tsf/v20180326/examples.json +2 -2
  27. tccli/services/waf/v20180125/api.json +1 -1
  28. tccli/services/weilingwith/v20230427/api.json +1 -1
  29. tccli/services/weilingwith/v20230427/examples.json +3 -3
  30. {tccli-3.0.1273.1.dist-info → tccli-3.0.1274.1.dist-info}/METADATA +2 -2
  31. {tccli-3.0.1273.1.dist-info → tccli-3.0.1274.1.dist-info}/RECORD +34 -34
  32. {tccli-3.0.1273.1.dist-info → tccli-3.0.1274.1.dist-info}/WHEEL +0 -0
  33. {tccli-3.0.1273.1.dist-info → tccli-3.0.1274.1.dist-info}/entry_points.txt +0 -0
  34. {tccli-3.0.1273.1.dist-info → tccli-3.0.1274.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,17 +1,83 @@
1
1
  {
2
2
  "actions": {
3
+ "CreateKnowledgeSet": [
4
+ {
5
+ "document": "创建微搭知识库",
6
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateKnowledgeSet\n<公共请求参数>\n\n{\n \"Name\": \"test\",\n \"Title\": \"testTiTle\",\n \"Desc\": \"descd\"\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
8
+ "title": "创建知识库"
9
+ }
10
+ ],
11
+ "DeleteKnowledgeDocumentSet": [
12
+ {
13
+ "document": "删除知识库下文档",
14
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteKnowledgeDocumentSet\n<公共请求参数>\n\n{\n \"CollectionView\": \"gqtianTw west666\",\n \"Query\": {\n \"DocumentSetId\": [\n \"124847948693739929www6\"\n ]\n }\n}",
15
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"AffectedCount\": 1\n },\n \"RequestId\": \"7365a503-7b9e-4510-9b0c-e7af0f0c06cf\"\n }\n}",
16
+ "title": "删除知识库下文档"
17
+ }
18
+ ],
19
+ "DeleteKnowledgeSet": [
20
+ {
21
+ "document": "用于删除知识库",
22
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteKnowledgeSet\n<公共请求参数>\n\n{\n \"Name\": \"test\"\n}",
23
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
24
+ "title": "删除知识库"
25
+ }
26
+ ],
3
27
  "DescribeDataSourceList": [
4
28
  {
5
- "document": "",
6
- "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataSourceList\n<公共请求参数>\n\n{\n \"PageIndex\": 0,\n \"PageSize\": 0,\n \"EnvId\": \"aaa\"\n}",
7
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Count\": 0,\n \"Rows\": [\n {\n \"IsNewDataSource\": 0,\n \"ChildDataSourceNames\": [\n \"xx\"\n ],\n \"CmsProject\": \"xx\",\n \"CreatorId\": \"xx\",\n \"AuthStatus\": 0,\n \"Type\": \"xx\",\n \"AppUsageList\": [\n {\n \"OnlineStatusUse\": 0,\n \"PreviewStatusUse\": 0,\n \"Id\": \"xx\",\n \"EditStatusUse\": 0,\n \"Title\": \"xx\"\n }\n ],\n \"Schema\": \"xx\",\n \"PkgId\": \"xx\",\n \"Description\": \"xx\",\n \"ScfStatus\": 1,\n \"PublishVersion\": \"xx\",\n \"ViewId\": \"xx\",\n \"Title\": \"xx\",\n \"PublishedAt\": \"xx\",\n \"TemplateCode\": \"xx\",\n \"DataSourceVersion\": \"xx\",\n \"UpdatedAt\": \"xx\",\n \"Configuration\": \"xx\",\n \"CreatedAt\": \"xx\",\n \"EnvId\": \"xx\",\n \"Name\": \"xx\",\n \"ChildDataSourceIds\": [\n \"xx\"\n ],\n \"Fun\": \"xx\",\n \"Methods\": \"xx\",\n \"SubType\": \"database\",\n \"Source\": 0,\n \"SchemaVersion\": \"xx\",\n \"PublishViewId\": \"xx\",\n \"Id\": \"xx\"\n }\n ]\n },\n \"RequestId\": \"xx\"\n }\n}",
8
- "title": "获取数据源详情列表"
9
- },
29
+ "document": "查询数据源列表",
30
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataSourceList\n<公共请求参数>\n\n{\n \"PageSize\": 10,\n \"PageIndex\": 1,\n \"EnvId\": \"lowcode-4jT6kVY\",\n \"Appids\": [\n \"data-4jT6kVY\"\n ],\n \"DataSourceIds\": [\n \"data-4jT6kVY\"\n ],\n \"DataSourceNames\": [\n \"4jT6kVY\"\n ],\n \"DataSourceType\": \"mysql\",\n \"QueryOption\": {\n \"LikeName\": \"4jT6kVY\",\n \"LikeTitle\": \"用户\"\n },\n \"ViewIds\": [\n \"4jT6kVY\"\n ],\n \"AppLinkStatus\": 0,\n \"QueryBindToApp\": 0,\n \"QueryConnector\": 0,\n \"NotQuerySubTypeList\": [\n \"d4jT6kVY\"\n ],\n \"ChannelList\": [\n \"4jT6kVY\"\n ],\n \"QueryDataSourceRelationList\": true,\n \"DbInstanceType\": \"mysql\",\n \"DatabaseTableNames\": [\n \"sys_user\"\n ],\n \"QuerySystemModel\": true\n}",
31
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Rows\": [\n {\n \"Id\": \"data-4jT6kVY\",\n \"Title\": \"用户\",\n \"Name\": \"sys_user\",\n \"Type\": \"database\",\n \"Description\": \"内置数据源\",\n \"Schema\": \"{\\\"x-primary-column\\\":\\\"name\\\",\\\"x-kind\\\":\\\"tcb\\\",\\\"name\\\":\\\"sys_user\\\",\\\"x-defaultMethods\\\":[\\\"wedaCreate\\\"]}\",\n \"CmsProject\": \"data-4jT6kVY\",\n \"PkgId\": \"lowcode-4jT6kVY\",\n \"SchemaVersion\": \"2.0\",\n \"CreatorId\": \"sys_user_1\",\n \"CreatedAt\": \"sys\",\n \"UpdatedAt\": \"sys\",\n \"EnvId\": \"lowcode-4jT6kVY\",\n \"DataSourceVersion\": \"data-4jT6kVY\",\n \"AppUsageList\": [\n {\n \"Id\": \"data-4jT6kVY\",\n \"Title\": \"用户\",\n \"EditStatusUse\": 0,\n \"PreviewStatusUse\": 0,\n \"OnlineStatusUse\": 0,\n \"DataSourceId\": \"data-4jT6kVY\"\n }\n ],\n \"PublishedAt\": \"sys\",\n \"ChildDataSourceIds\": [\n \"data-4jT6kVY\"\n ],\n \"Fun\": \"{\\\"prviewPublishAt\\\":\\\"2024-11-19T17:28:57.919+0800\\\",\\\"onlinePublishAt\\\":\\\"2024-11-19T17:28:30.989+0800\\\",\\\"previewVersion\\\":2,\\\"onlineVersion\\\":2}\",\n \"ScfStatus\": 1,\n \"Methods\": \"data-4jT6kVY\",\n \"ChildDataSourceNames\": [\n \"data-4jT6kVY\"\n ],\n \"IsNewDataSource\": 0,\n \"ViewId\": \"view-67vvgoe840\",\n \"Configuration\": \"data-4jT6kVY\",\n \"TemplateCode\": \"data-4jT6kVY\",\n \"Source\": 0,\n \"PublishVersion\": \"data-4jT6kVY\",\n \"PublishViewId\": \"data-4jT6kVY\",\n \"SubType\": \"data-4jT6kVY\",\n \"AuthStatus\": 0,\n \"AuthInfo\": {\n \"AuthUser\": \"sys\"\n },\n \"PublishStatus\": 0,\n \"UpdateVersion\": 0,\n \"RelationFieldList\": [\n {\n \"Field\": \"abcdata-4jT6kVY\",\n \"Format\": \"data-4jT6kVY\",\n \"RelateDataSourceName\": \"data-4jT6kVY\"\n }\n ],\n \"DbInstanceType\": \"mysql\",\n \"PreviewTableName\": \"sys_user_pre\",\n \"PublishedTableName\": \"sys_user\",\n \"DbSourceType\": \"mysql\"\n }\n ],\n \"Count\": 1\n },\n \"RequestId\": \"1234_23232sdssasd\"\n }\n}",
32
+ "title": "DescribeDataSourceList"
33
+ }
34
+ ],
35
+ "DescribeKnowledgeDocumentSetDetail": [
36
+ {
37
+ "document": "获取知识库下文档详情",
38
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKnowledgeDocumentSetDetail\n<公共请求参数>\n\n{\n \"CollectionView\": \"gqtianTest222666\",\n \"DocumentSetId\": \"1248479222486937399296\"\n}",
39
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Count\": 1,\n \"DocumentSet\": {\n \"DocumentSetId\": \"1248479222486937399296\",\n \"FileTitle\": \"kent测试文件\",\n \"FileMetaData\": \"{\\\"url\\\": \\\"https://ww.com\\\", \\\"total\\\": 3}\",\n \"DocumentSetInfo\": {\n \"ByteLength\": 46,\n \"CreateTime\": \"2024-06-07 11:31:45\",\n \"IndexedProgress\": 100,\n \"IndexedStatus\": \"Ready\",\n \"Keywords\": \"\",\n \"LastUpdateTime\": \"2024-06-07 11:31:46\",\n \"TextLength\": 20\n },\n \"DocumentSetName\": \"jackzlqin.md\",\n \"Name\": \"\",\n \"Author\": \"\",\n \"SplitterPreprocess\": {\n \"AppendKeywordsToChunk\": false,\n \"AppendTitleToChunk\": true\n },\n \"Text\": \"1. 入门微搭的技术文档\\n2. 学习微搭\",\n \"TextPrefix\": \"1. 入门微搭的技术文档\\n2. 学习微搭......\"\n }\n },\n \"RequestId\": \"b404ff44-6bc3-4f60-8185-2ff4d9be5b63\"\n }\n}",
40
+ "title": "获取知识库下文档详情"
41
+ }
42
+ ],
43
+ "DescribeKnowledgeDocumentSetList": [
44
+ {
45
+ "document": "查询知识库下文件集合",
46
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKnowledgeDocumentSetList\n<公共请求参数>\n\n{\n \"CollectionView\": \"gqtianTest666\",\n \"Query\": {\n \"Limit\": 10,\n \"Offset\": 0\n }\n}",
47
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Count\": 1,\n \"DocumentSets\": [\n {\n \"DocumentSetId\": \"1248479486937399296\",\n \"FileTitle\": \"kent测试文件\",\n \"FileMetaData\": \"{\\\"url\\\": \\\"https://ww.com\\\", \\\"total\\\": 3}\",\n \"DocumentSetInfo\": {\n \"ByteLength\": 46,\n \"CreateTime\": \"2024-06-07 11:31:45\",\n \"IndexedErrorMsg\": \"\",\n \"IndexedProgress\": 100,\n \"IndexedStatus\": \"Ready\",\n \"Keywords\": \"\",\n \"LastUpdateTime\": \"2024-06-07 11:31:46\",\n \"TextLength\": 20\n },\n \"DocumentSetName\": \"jackzlqin.md\",\n \"Name\": \"\",\n \"Author\": \"\",\n \"SplitterPreprocess\": {\n \"AppendKeywordsToChunk\": false,\n \"AppendTitleToChunk\": true\n },\n \"TextPrefix\": \"1. 入门微搭的技术文档\\n2. 学习微搭......\"\n }\n ]\n },\n \"RequestId\": \"2e7bdcc4-d82f-4b81-abc6-6e8b08cf1832\"\n }\n}",
48
+ "title": "查询知识库下文件集合"
49
+ }
50
+ ],
51
+ "DescribeKnowledgeSetList": [
52
+ {
53
+ "document": "查询环境下的知识库列表",
54
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKnowledgeSetList\n<公共请求参数>\n\n{\n \"Limit\": 10\n}",
55
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"KnowledgeSets\": [\n {\n \"Name\": \"test\",\n \"Title\": \"testTiTle\",\n \"Desc\": \"test\",\n \"Active\": \"ENABLED\",\n \"CreateTime\": \"2024-06-04 18:07:38\",\n \"UpdateTime\": \"2024-06-04 18:09:29\"\n }\n ],\n \"Total\": 1\n },\n \"RequestId\": \"f549082e-0cff-4026-96f6-a570d9f1c22d\"\n }\n}",
56
+ "title": "查询环境下的知识库列表"
57
+ }
58
+ ],
59
+ "SearchDocList": [
60
+ {
61
+ "document": "根据关键字搜索知识库文档",
62
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchDocList\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"CollectionView\": \"abc\",\n \"SearchKey\": \"abc\",\n \"SearchValue\": \"abc\",\n \"PageNo\": 1,\n \"PageSize\": 1\n}",
63
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"DocInfos\": [\n {\n \"CollectionViewName\": \"abc\",\n \"DocSetId\": \"123456\",\n \"DocSetName\": \"abc.md\",\n \"DocType\": \".md\",\n \"FileTitle\": \"abc\",\n \"FileMetaData\": \"{}\",\n \"DocDesc\": \"test\",\n \"FileSize\": 0\n }\n ],\n \"Total\": 10\n },\n \"RequestId\": \"1cc82948-244f-4812-bb2a-25a8a473d312\"\n }\n}",
64
+ "title": "知识库文档搜索接口"
65
+ }
66
+ ],
67
+ "UpdateKnowledgeSet": [
68
+ {
69
+ "document": "更新知识库状态",
70
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateKnowledgeSet\n<公共请求参数>\n\n{\n \"Name\": \"test\",\n \"Active\": \"ENABLED\"\n}",
71
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dde48f19-e0fb-490e-bf4c-150bcf7e3c91\"\n }\n}",
72
+ "title": "更新知识库"
73
+ }
74
+ ],
75
+ "UploadKnowledgeDocumentSet": [
10
76
  {
11
- "document": "",
12
- "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataSourceList\n<公共请求参数>\n\n{\n \"PageIndex\":\"1\",\n \"EnvId\":\"\"123\"\",\n \"PageSize\":\"1\"\n}",
13
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Count\": 8,\n \"Rows\": [\n {\n \"AppUsageList\": [\n {\n \"EditStatusUse\": 0,\n \"Id\": \"\",\n \"OnlineStatusUse\": 0,\n \"PreviewStatusUse\": 0,\n \"Title\": \"\"\n }\n ],\n \"AuthInfo\": {\n \"AuthUser\": \"\"\n },\n \"AuthStatus\": 0,\n \"ChildDataSourceIds\": [\n \"\"\n ],\n \"ChildDataSourceNames\": [\n \"\"\n ],\n \"CmsProject\": \"0\",\n \"Configuration\": \"\",\n \"CreatedAt\": \"\",\n \"CreatorId\": \"\",\n \"DataSourceVersion\": \"\",\n \"Description\": \"\",\n \"EnvId\": \"\",\n \"Fun\": \"\",\n \"Id\": \"\",\n \"IsNewDataSource\": 0,\n \"Methods\": \"\",\n \"Name\": \"\",\n \"PkgId\": \"\",\n \"PublishVersion\": \"\",\n \"PublishViewId\": \"\",\n \"PublishedAt\": \"\",\n \"ScfStatus\": 0,\n \"Schema\": \"\",\n \"SchemaVersion\": \"\",\n \"Source\": 0,\n \"SubType\": \"\",\n \"TemplateCode\": \"\",\n \"Title\": \"\",\n \"Type\": \"\",\n \"UpdatedAt\": \"\",\n \"ViewId\": \"\"\n }\n ]\n },\n \"RequestId\": \"7aad9c07-97ab-4bed-8a4a-77e0c4c96e6a\"\n }\n}",
14
- "title": "成功用例"
77
+ "document": "上传知识库文档\n",
78
+ "input": "POST / HTTP/1.1\nHost: lowcode.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UploadKnowledgeDocumentSet\n<公共请求参数>\n\n{\n \"EnvId\": \"lowcode-1gk9y5ik310a94df\",\n \"CollectionView\": \"qinmyku873d0a97\",\n \"CosUrl\": \"https://6c6f-lowcode-5g5llxbq5bc9299e-1300677802.tcb.qcloud.la/weda-uploader/5e471ea6d1891cced441b68df1022023-新手指引.md\",\n \"FileName\": \"jackzlqin-test1.md\",\n \"DocumentDesc\": \"test-qin-11\",\n \"FileTitle\":\"kent测试文件\",\n \"FileMetaData\":\"{\\\"url\\\":\\\"https://ww.com\\\",\\\"total\\\":3}\",\n \"DocumentSetId\":\"1258635496046329856\"\n}\n\n",
79
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"DocumentSetId\": \"1248563007152455680\",\n \"DocumentSetName\": \"jackzqlin-test.md\",\n \"FileTitle\": \"kent测试文件\",\n \"FileMetaData\": \"{\\\"url\\\":\\\"https://ww.com\\\",\\\"total\\\":3}\"\n },\n \"RequestId\": \"0f27f7a7-2d8a-456a-8de9-2e794f3f8e74\"\n }\n}",
80
+ "title": "UploadKnowledgeDocumentSet"
15
81
  }
16
82
  ]
17
83
  },
@@ -4647,6 +4647,58 @@ def doUpdateAlertRuleState(args, parsed_globals):
4647
4647
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4648
4648
 
4649
4649
 
4650
+ def doGetTopNMonitorData(args, parsed_globals):
4651
+ g_param = parse_global_arg(parsed_globals)
4652
+
4653
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4654
+ cred = credential.CVMRoleCredential()
4655
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4656
+ cred = credential.STSAssumeRoleCredential(
4657
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4658
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4659
+ )
4660
+ 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):
4661
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4662
+ else:
4663
+ cred = credential.Credential(
4664
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4665
+ )
4666
+ http_profile = HttpProfile(
4667
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4668
+ reqMethod="POST",
4669
+ endpoint=g_param[OptionsDefine.Endpoint],
4670
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4671
+ )
4672
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4673
+ if g_param[OptionsDefine.Language]:
4674
+ profile.language = g_param[OptionsDefine.Language]
4675
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4676
+ client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile)
4677
+ client._sdkVersion += ("_CLI_" + __version__)
4678
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4679
+ model = models.GetTopNMonitorDataRequest()
4680
+ model.from_json_string(json.dumps(args))
4681
+ start_time = time.time()
4682
+ while True:
4683
+ rsp = client.GetTopNMonitorData(model)
4684
+ result = rsp.to_json_string()
4685
+ try:
4686
+ json_obj = json.loads(result)
4687
+ except TypeError as e:
4688
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4689
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4690
+ break
4691
+ cur_time = time.time()
4692
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4693
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4694
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4695
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4696
+ else:
4697
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4698
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4699
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4700
+
4701
+
4650
4702
  def doModifyPrometheusTemp(args, parsed_globals):
4651
4703
  g_param = parse_global_arg(parsed_globals)
4652
4704
 
@@ -8337,6 +8389,7 @@ ACTION_MAP = {
8337
8389
  "CreatePrometheusAgent": doCreatePrometheusAgent,
8338
8390
  "CreatePrometheusGlobalNotification": doCreatePrometheusGlobalNotification,
8339
8391
  "UpdateAlertRuleState": doUpdateAlertRuleState,
8392
+ "GetTopNMonitorData": doGetTopNMonitorData,
8340
8393
  "ModifyPrometheusTemp": doModifyPrometheusTemp,
8341
8394
  "UnbindPrometheusManagedGrafana": doUnbindPrometheusManagedGrafana,
8342
8395
  "DescribeExporterIntegrations": doDescribeExporterIntegrations,
@@ -784,6 +784,13 @@
784
784
  "output": "GetPrometheusAgentManagementCommandResponse",
785
785
  "status": "online"
786
786
  },
787
+ "GetTopNMonitorData": {
788
+ "document": "支持TopN查询,对于给定的监控指标和时间区间,按照指标大小按序返回不同维度组合及数据。",
789
+ "input": "GetTopNMonitorDataRequest",
790
+ "name": "获取TopN监控数据",
791
+ "output": "GetTopNMonitorDataResponse",
792
+ "status": "online"
793
+ },
787
794
  "InstallPlugins": {
788
795
  "document": "安装 Grafana Plugin",
789
796
  "input": "InstallPluginsRequest",
@@ -13931,6 +13938,137 @@
13931
13938
  ],
13932
13939
  "type": "object"
13933
13940
  },
13941
+ "GetTopNMonitorDataRequest": {
13942
+ "document": "GetTopNMonitorData请求参数结构体",
13943
+ "members": [
13944
+ {
13945
+ "disabled": false,
13946
+ "document": "topN",
13947
+ "example": "20",
13948
+ "member": "uint64",
13949
+ "name": "N",
13950
+ "required": true,
13951
+ "type": "int"
13952
+ },
13953
+ {
13954
+ "disabled": false,
13955
+ "document": "起始时间",
13956
+ "example": "2020-05-11T14:52:44+08:00",
13957
+ "member": "datetime_iso",
13958
+ "name": "StartTime",
13959
+ "required": true,
13960
+ "type": "string"
13961
+ },
13962
+ {
13963
+ "disabled": false,
13964
+ "document": "截止时间",
13965
+ "example": "2020-05-11T14:52:44+08:00",
13966
+ "member": "datetime_iso",
13967
+ "name": "EndTime",
13968
+ "required": true,
13969
+ "type": "string"
13970
+ },
13971
+ {
13972
+ "disabled": false,
13973
+ "document": "实例对象的维度组合,格式为key-value键值对形式的集合。不同类型的实例字段完全不同,如CVM为[{\"Name\":\"InstanceId\",\"Value\":\"ins-j0hk02zo\"}],Ckafka为[{\"Name\":\"instanceId\",\"Value\":\"ckafka-l49k54dd\"}],COS为[{\"Name\":\"appid\",\"Value\":\"1258344699\"},{\"Name\":\"bucket\",\"Value\":\"rig-1258344699\"}]。各个云产品的维度请参阅各个产品监控指标文档,对应的维度列即为维度组合的key,value为key对应的值。单请求最多支持批量拉取50个实例的监控数据。",
13974
+ "example": "[{\"Dimensions\":[{\"Name\":\"netgroup\",\"Value\":\"-1\"}]}]",
13975
+ "member": "Instance",
13976
+ "name": "Instances",
13977
+ "required": true,
13978
+ "type": "list"
13979
+ },
13980
+ {
13981
+ "disabled": false,
13982
+ "document": "指标名称,如Bwpresourcebandwidthin,仅支持单指标拉取。各个云产品的详细指标说明请参阅各个产品监控指标文档,对应的指标英文名即为MetricName",
13983
+ "example": "Bwpresourcebandwidthin",
13984
+ "member": "string",
13985
+ "name": "MetricName",
13986
+ "required": true,
13987
+ "type": "string"
13988
+ },
13989
+ {
13990
+ "disabled": false,
13991
+ "document": "命名空间,如QCE/CVM。各个云产品的详细命名空间说明请参阅各个产品监控指标文档",
13992
+ "example": "QCE/BWP",
13993
+ "member": "string",
13994
+ "name": "Namespace",
13995
+ "required": true,
13996
+ "type": "string"
13997
+ },
13998
+ {
13999
+ "disabled": false,
14000
+ "document": "监控统计周期,如60。默认为取值为60,单位为s。每个指标支持的统计周期不一定相同,各个云产品支持的统计周期请参阅各个产品监控指标文档,对应的统计周期列即为支持的统计周期。",
14001
+ "example": "60",
14002
+ "member": "uint64",
14003
+ "name": "Period",
14004
+ "required": false,
14005
+ "type": "int"
14006
+ }
14007
+ ],
14008
+ "type": "object"
14009
+ },
14010
+ "GetTopNMonitorDataResponse": {
14011
+ "document": "GetTopNMonitorData返回参数结构体",
14012
+ "members": [
14013
+ {
14014
+ "disabled": false,
14015
+ "document": "指标名\t",
14016
+ "example": "Bwpresourcebandwidthin",
14017
+ "member": "string",
14018
+ "name": "MetricName",
14019
+ "output_required": true,
14020
+ "type": "string",
14021
+ "value_allowed_null": false
14022
+ },
14023
+ {
14024
+ "disabled": false,
14025
+ "document": "统计周期\t",
14026
+ "example": "60",
14027
+ "member": "uint64",
14028
+ "name": "Period",
14029
+ "output_required": true,
14030
+ "type": "int",
14031
+ "value_allowed_null": false
14032
+ },
14033
+ {
14034
+ "disabled": false,
14035
+ "document": "topN",
14036
+ "example": "无",
14037
+ "member": "uint64",
14038
+ "name": "N",
14039
+ "output_required": true,
14040
+ "type": "int",
14041
+ "value_allowed_null": false
14042
+ },
14043
+ {
14044
+ "disabled": false,
14045
+ "document": "排序的监控数据\t",
14046
+ "example": "无",
14047
+ "member": "SingleOrderedDataPoint",
14048
+ "name": "OrderedDataPoints",
14049
+ "output_required": true,
14050
+ "type": "list",
14051
+ "value_allowed_null": false
14052
+ },
14053
+ {
14054
+ "disabled": false,
14055
+ "document": "返回信息",
14056
+ "example": "无",
14057
+ "member": "string",
14058
+ "name": "Msg",
14059
+ "output_required": true,
14060
+ "type": "string",
14061
+ "value_allowed_null": false
14062
+ },
14063
+ {
14064
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
14065
+ "member": "string",
14066
+ "name": "RequestId",
14067
+ "type": "string"
14068
+ }
14069
+ ],
14070
+ "type": "object"
14071
+ },
13934
14072
  "GrafanaAccountInfo": {
13935
14073
  "document": "Grafana可视化服务 授权账户信息",
13936
14074
  "members": [
@@ -19882,6 +20020,56 @@
19882
20020
  ],
19883
20021
  "type": "object"
19884
20022
  },
20023
+ "SingleOrderedDataPoint": {
20024
+ "document": "单个有序数据点",
20025
+ "members": [
20026
+ {
20027
+ "disabled": false,
20028
+ "document": "实例对象维度组合\t\n注意:此字段可能返回 null,表示取不到有效值。",
20029
+ "example": "无",
20030
+ "member": "Dimension",
20031
+ "name": "Dimensions",
20032
+ "output_required": true,
20033
+ "required": false,
20034
+ "type": "list",
20035
+ "value_allowed_null": true
20036
+ },
20037
+ {
20038
+ "disabled": false,
20039
+ "document": "监控数据值\n注意:此字段可能返回 null,表示取不到有效值。",
20040
+ "example": "无",
20041
+ "member": "float",
20042
+ "name": "Value",
20043
+ "output_required": true,
20044
+ "required": false,
20045
+ "type": "float",
20046
+ "value_allowed_null": true
20047
+ },
20048
+ {
20049
+ "disabled": false,
20050
+ "document": "监控数据时间戳\n注意:此字段可能返回 null,表示取不到有效值。",
20051
+ "example": "无",
20052
+ "member": "uint64",
20053
+ "name": "Timestamp",
20054
+ "output_required": true,
20055
+ "required": false,
20056
+ "type": "int",
20057
+ "value_allowed_null": true
20058
+ },
20059
+ {
20060
+ "disabled": false,
20061
+ "document": "排序序号\n注意:此字段可能返回 null,表示取不到有效值。",
20062
+ "example": "无",
20063
+ "member": "uint64",
20064
+ "name": "Order",
20065
+ "output_required": true,
20066
+ "required": false,
20067
+ "type": "int",
20068
+ "value_allowed_null": true
20069
+ }
20070
+ ],
20071
+ "usage": "both"
20072
+ },
19885
20073
  "SyncPrometheusTempRequest": {
19886
20074
  "document": "SyncPrometheusTemp请求参数结构体",
19887
20075
  "members": [
@@ -1076,6 +1076,14 @@
1076
1076
  "title": "获取 Prometheus Agent 管理相关的命令行"
1077
1077
  }
1078
1078
  ],
1079
+ "GetTopNMonitorData": [
1080
+ {
1081
+ "document": "根据某个netgroup实例,查看一段时间范围内带宽Top5的u_id数据。",
1082
+ "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTopNMonitorData\n<公共请求参数>\n\n{\n \"Namespace\": \"QCE/BWP\",\n \"MetricName\": \"Bwpresourcebandwidthin\",\n \"Period\": 60,\n \"StartTime\": \"2024-09-05T00:27:00+08:00\",\n \"EndTime\": \"2024-09-05T23:27:00+08:00\",\n \"N\": 5,\n \"Instances\": [\n {\n \"Dimensions\": [\n {\n \"Name\": \"netgroup\",\n \"Value\": \"-1\"\n }\n ]\n }\n ]\n}",
1083
+ "output": "{\n \"Response\": {\n \"MetricName\": \"Bwpresourcebandwidthin\",\n \"Period\": 60,\n \"N\": 5,\n \"OrderedDataPoints\": [\n {\n \"Dimensions\": [\n {\n \"Name\": \"appid\",\n \"Value\": \"251236571\"\n },\n {\n \"Name\": \"netgroup\",\n \"Value\": \"-1\"\n },\n {\n \"Name\": \"u_id\",\n \"Value\": \"eip-3xq5lcpb\"\n }\n ],\n \"Timestamp\": 1725496200,\n \"Value\": 19411.2,\n \"Order\": 1\n },\n {\n \"Dimensions\": [\n {\n \"Name\": \"u_id\",\n \"Value\": \"eip-bhhl5d0l\"\n },\n {\n \"Name\": \"appid\",\n \"Value\": \"251236571\"\n },\n {\n \"Name\": \"netgroup\",\n \"Value\": \"-1\"\n }\n ],\n \"Timestamp\": 1725495840,\n \"Value\": 2224,\n \"Order\": 2\n },\n {\n \"Dimensions\": [\n {\n \"Name\": \"appid\",\n \"Value\": \"251236571\"\n },\n {\n \"Name\": \"netgroup\",\n \"Value\": \"-1\"\n },\n {\n \"Name\": \"u_id\",\n \"Value\": \"eip-7mg0n41b\"\n }\n ],\n \"Timestamp\": 1725496200,\n \"Value\": 2088,\n \"Order\": 3\n },\n {\n \"Dimensions\": [\n {\n \"Name\": \"netgroup\",\n \"Value\": \"-1\"\n },\n {\n \"Name\": \"u_id\",\n \"Value\": \"eip-r2n5fxfr\"\n },\n {\n \"Name\": \"appid\",\n \"Value\": \"251195348\"\n }\n ],\n \"Timestamp\": 1725495840,\n \"Value\": 1759.2,\n \"Order\": 4\n },\n {\n \"Dimensions\": [\n {\n \"Name\": \"netgroup\",\n \"Value\": \"-1\"\n },\n {\n \"Name\": \"u_id\",\n \"Value\": \"eip-bl7z49yd\"\n },\n {\n \"Name\": \"appid\",\n \"Value\": \"251236571\"\n }\n ],\n \"Timestamp\": 1725496140,\n \"Value\": 1568,\n \"Order\": 5\n }\n ],\n \"RequestId\": \"yql-qqqqqqqqq\",\n \"Msg\": \"Success\"\n }\n}",
1084
+ "title": "拉取BWP带宽Top5的监控数据"
1085
+ }
1086
+ ],
1079
1087
  "InstallPlugins": [
1080
1088
  {
1081
1089
  "document": "",
@@ -2132,23 +2132,23 @@
2132
2132
  "members": [
2133
2133
  {
2134
2134
  "disabled": false,
2135
- "document": "错误码,0 表示成功,非0表示失败错误码。\n0:成功\n1:错误\n1002:参数错误\n4300:未开通服务\n4301:后端未创建对应产品\n注意:此字段可能返回 null,表示取不到有效值。",
2136
- "example": "",
2135
+ "document": "错误码,0 表示成功,非0表示失败错误码。\n0:成功\n1:错误\n1002:参数错误\n4300:未开通服务\n4301:后端未创建对应产品",
2136
+ "example": "0",
2137
2137
  "member": "int64",
2138
2138
  "name": "Code",
2139
2139
  "output_required": true,
2140
2140
  "type": "int",
2141
- "value_allowed_null": true
2141
+ "value_allowed_null": false
2142
2142
  },
2143
2143
  {
2144
2144
  "disabled": false,
2145
- "document": "UTF-8编码,出错消息。\n注意:此字段可能返回 null,表示取不到有效值。",
2146
- "example": "",
2145
+ "document": "UTF-8编码,出错消息。",
2146
+ "example": "OK",
2147
2147
  "member": "string",
2148
2148
  "name": "Message",
2149
2149
  "output_required": true,
2150
2150
  "type": "string",
2151
- "value_allowed_null": true
2151
+ "value_allowed_null": false
2152
2152
  },
2153
2153
  {
2154
2154
  "disabled": false,
@@ -2162,13 +2162,13 @@
2162
2162
  },
2163
2163
  {
2164
2164
  "disabled": false,
2165
- "document": "控制台显示的req_id。\n注意:此字段可能返回 null,表示取不到有效值。",
2166
- "example": "",
2165
+ "document": "控制台显示的req_id",
2166
+ "example": "9a570741-****-****-****-****0b788232",
2167
2167
  "member": "string",
2168
2168
  "name": "UUid",
2169
2169
  "output_required": true,
2170
2170
  "type": "string",
2171
- "value_allowed_null": true
2171
+ "value_allowed_null": false
2172
2172
  }
2173
2173
  ],
2174
2174
  "usage": "out"
@@ -2178,83 +2178,83 @@
2178
2178
  "members": [
2179
2179
  {
2180
2180
  "disabled": false,
2181
- "document": "账号ID:对应输入参数。\n当AccountType为1时,对应QQ的OpenId;\n当AccountType为2时,对应微信的OpenId/UnionId;\n当AccountType为10004时,对应手机号的MD5值;\n当AccountType为10005时,对应手机号的SHA256值。\n注意:此字段可能返回 null,表示取不到有效值。",
2181
+ "document": "账号ID:对应输入参数。\n当AccountType为1时,对应QQ的OpenId;\n当AccountType为2时,对应微信的OpenId/UnionId;\n当AccountType为10004时,对应手机号的MD5值;\n当AccountType为10005时,对应手机号的SHA256值。",
2182
2182
  "example": "3ac9aa8a9a0**********fd6ed526ed9",
2183
2183
  "member": "string",
2184
2184
  "name": "UserId",
2185
2185
  "output_required": true,
2186
2186
  "type": "string",
2187
- "value_allowed_null": true
2187
+ "value_allowed_null": false
2188
2188
  },
2189
2189
  {
2190
2190
  "disabled": false,
2191
- "document": "操作时间戳,单位秒(对应输入参数)。\n注意:此字段可能返回 null,表示取不到有效值。",
2191
+ "document": "操作时间戳,单位秒(对应输入参数)。",
2192
2192
  "example": "1614760549",
2193
2193
  "member": "uint64",
2194
2194
  "name": "PostTime",
2195
2195
  "output_required": true,
2196
2196
  "type": "int",
2197
- "value_allowed_null": true
2197
+ "value_allowed_null": false
2198
2198
  },
2199
2199
  {
2200
2200
  "disabled": false,
2201
- "document": "业务参数。\n注意:此字段可能返回 null,表示取不到有效值。",
2202
- "example": "",
2201
+ "document": "业务参数。",
2202
+ "example": "",
2203
2203
  "member": "string",
2204
2204
  "name": "AssociateAccount",
2205
2205
  "output_required": true,
2206
2206
  "type": "string",
2207
- "value_allowed_null": true
2207
+ "value_allowed_null": false
2208
2208
  },
2209
2209
  {
2210
2210
  "disabled": false,
2211
- "document": "操作来源的外网IP(对应输入参数)。\n注意:此字段可能返回 null,表示取不到有效值。",
2211
+ "document": "操作来源的外网IP(对应输入参数)。",
2212
2212
  "example": "123.***.***.253",
2213
2213
  "member": "string",
2214
2214
  "name": "UserIp",
2215
2215
  "output_required": true,
2216
2216
  "type": "string",
2217
- "value_allowed_null": true
2217
+ "value_allowed_null": false
2218
2218
  },
2219
2219
  {
2220
2220
  "disabled": false,
2221
- "document": "风险等级\npass:无恶意\nreview:低风险,需要人工审核\nreject:高风险,建议拦截\n注意:此字段可能返回 null,表示取不到有效值。",
2221
+ "document": "风险等级\npass:无恶意\nreview:低风险,需要人工审核\nreject:高风险,建议拦截",
2222
2222
  "example": "reject",
2223
2223
  "member": "string",
2224
2224
  "name": "RiskLevel",
2225
2225
  "output_required": true,
2226
2226
  "type": "string",
2227
- "value_allowed_null": true
2227
+ "value_allowed_null": false
2228
2228
  },
2229
2229
  {
2230
2230
  "disabled": false,
2231
- "document": "风险类型,可能同时命中多个风险类型\n1: 账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素。\n11: 疑似低活跃账号,账号活跃度与正常用户有差异。\n2: 垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报。\n21: 疑似小号,账号有疑似线上养号,小号等行为。\n22: 疑似违规账号,账号曾有违规行为、曾被举报过、曾因违规被处罚过等。\n3: 无效账号,送检账号参数无法成功解析,请检查微信 OpenId 是否有误/AppId 与 QQ OpenId 无法关联/微信 OpenId 权限是否开通/手机号是否为中国大陆手机号;\n4: 黑名单,该账号在业务侧有过拉黑记录。\n5: 白名单,业务自行有添加过白名单记录。\n101: 批量操作,存在 IP/设备/环境等因素的聚集性异常。\n1011: 疑似 IP 属性聚集,出现 IP 聚集。\n1012: 疑似设备属性聚集,出现设备聚集。\n102: 自动机,疑似自动机批量请求。\n103: 恶意行为-网赚,疑似网赚。\n104: 微信登录态无效,检查 WeChatAccessToken 参数,是否已经失效。\n201: 环境风险,环境异常操作 IP/设备/环境存在异常。当前 IP 为非常用 IP 或恶意 IP 段。\n2011: 疑似非常用IP,请求当前请求 IP 非该账号常用 IP。\n2012: 疑似 IP 异常,使用 IDC 机房 IP 或使用代理 IP 或使用恶意 IP 等。\n205: 非公网有效 IP,传进来的 IP 地址为内网 IP 地址或者 IP 保留地址。\n注意:此字段可能返回 null,表示取不到有效值。",
2231
+ "document": "风险类型,可能同时命中多个风险类型\n1: 账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素。\n11: 疑似低活跃账号,账号活跃度与正常用户有差异。\n2: 垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报。\n21: 疑似小号,账号有疑似线上养号,小号等行为。\n22: 疑似违规账号,账号曾有违规行为、曾被举报过、曾因违规被处罚过等。\n3: 无效账号,送检账号参数无法成功解析,请检查微信 OpenId 是否有误/AppId 与 QQ OpenId 无法关联/微信 OpenId 权限是否开通/手机号是否为中国大陆手机号;\n4: 黑名单,该账号在业务侧有过拉黑记录。\n5: 白名单,业务自行有添加过白名单记录。\n101: 批量操作,存在 IP/设备/环境等因素的聚集性异常。\n1011: 疑似 IP 属性聚集,出现 IP 聚集。\n1012: 疑似设备属性聚集,出现设备聚集。\n102: 自动机,疑似自动机批量请求。\n103: 恶意行为-网赚,疑似网赚。\n104: 微信登录态无效,检查 WeChatAccessToken 参数,是否已经失效。\n201: 环境风险,环境异常操作 IP/设备/环境存在异常。当前 IP 为非常用 IP 或恶意 IP 段。\n2011: 疑似非常用IP,请求当前请求 IP 非该账号常用 IP。\n2012: 疑似 IP 异常,使用 IDC 机房 IP 或使用代理 IP 或使用恶意 IP 等。\n205: 非公网有效 IP,传进来的 IP 地址为内网 IP 地址或者 IP 保留地址。",
2232
2232
  "example": "[101,201]",
2233
2233
  "member": "int64",
2234
2234
  "name": "RiskType",
2235
2235
  "output_required": true,
2236
2236
  "type": "list",
2237
- "value_allowed_null": true
2237
+ "value_allowed_null": false
2238
2238
  },
2239
2239
  {
2240
2240
  "disabled": false,
2241
- "document": "设备指纹ID,如果集成了设备指纹,并传入了正确的DeviceToken和Platform,该字段正常输出;如果DeviceToken异常(校验不通过),则会在RiskType中返回\"-1\"标签,ConstId字段为空;如果没有集成设备指纹ConstId字段默认为空。\n注意:此字段可能返回 null,表示取不到有效值。",
2241
+ "document": "设备指纹ID,如果集成了设备指纹,并传入了正确的DeviceToken和Platform,该字段正常输出;如果DeviceToken异常(校验不通过),则会在RiskType中返回\"-1\"标签,ConstId字段为空;如果没有集成设备指纹ConstId字段默认为空。",
2242
2242
  "example": "7BCF***************789",
2243
2243
  "member": "string",
2244
2244
  "name": "ConstId",
2245
2245
  "output_required": true,
2246
2246
  "type": "string",
2247
- "value_allowed_null": true
2247
+ "value_allowed_null": false
2248
2248
  },
2249
2249
  {
2250
2250
  "disabled": false,
2251
- "document": "风险扩展数据。\n注意:此字段可能返回 null,表示取不到有效值。",
2251
+ "document": "风险扩展数据。",
2252
2252
  "example": "{\"Model\":[{\"FieldName\":\"051***01\",\"FieldValue\":\"2\"}]}",
2253
2253
  "member": "string",
2254
2254
  "name": "RiskInformation",
2255
2255
  "output_required": false,
2256
2256
  "type": "string",
2257
- "value_allowed_null": true
2257
+ "value_allowed_null": false
2258
2258
  }
2259
2259
  ],
2260
2260
  "usage": "out"