tccli 3.0.1350.1__py2.py3-none-any.whl → 3.0.1351.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 (31) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +7 -9
  3. tccli/services/cdn/v20180606/api.json +1 -1
  4. tccli/services/cdwch/v20200915/api.json +7 -7
  5. tccli/services/cdwch/v20200915/examples.json +2 -2
  6. tccli/services/ctem/ctem_client.py +159 -0
  7. tccli/services/ctem/v20231128/api.json +684 -120
  8. tccli/services/ctem/v20231128/examples.json +24 -0
  9. tccli/services/gme/v20180711/api.json +40 -0
  10. tccli/services/kms/v20190118/api.json +188 -0
  11. tccli/services/lke/lke_client.py +12 -436
  12. tccli/services/lke/v20231130/api.json +25 -1065
  13. tccli/services/lke/v20231130/examples.json +0 -64
  14. tccli/services/monitor/monitor_client.py +53 -0
  15. tccli/services/monitor/v20180724/examples.json +2 -2
  16. tccli/services/monitor/v20230616/api.json +58 -195
  17. tccli/services/monitor/v20230616/examples.json +4 -10
  18. tccli/services/mps/v20190612/api.json +6 -6
  19. tccli/services/redis/v20180412/api.json +24 -5
  20. tccli/services/redis/v20180412/examples.json +1 -1
  21. tccli/services/scf/v20180416/api.json +3 -0
  22. tccli/services/ssl/v20191205/api.json +31 -1
  23. tccli/services/tke/v20180525/api.json +2 -2
  24. tccli/services/tse/tse_client.py +80 -27
  25. tccli/services/tse/v20201207/api.json +193 -0
  26. tccli/services/tse/v20201207/examples.json +8 -0
  27. {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/METADATA +2 -2
  28. {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/RECORD +31 -31
  29. {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/WHEEL +0 -0
  30. {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/entry_points.txt +0 -0
  31. {tccli-3.0.1350.1.dist-info → tccli-3.0.1351.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1350.1'
1
+ __version__ = '3.0.1351.1'
@@ -38,7 +38,7 @@
38
38
  "DescribeGeneralMetricData": {
39
39
  "document": "获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。\n接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。",
40
40
  "input": "DescribeGeneralMetricDataRequest",
41
- "name": "获取指标数据通用接口",
41
+ "name": "获取指标数据通用接口(推荐)",
42
42
  "output": "DescribeGeneralMetricDataResponse",
43
43
  "status": "online"
44
44
  },
@@ -1503,7 +1503,7 @@
1503
1503
  {
1504
1504
  "disabled": false,
1505
1505
  "document": "需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)",
1506
- "example": "[\"request_count\"、“duration”]",
1506
+ "example": "[\"request_count\"、“duration_avg”]",
1507
1507
  "member": "string",
1508
1508
  "name": "Metrics",
1509
1509
  "required": true,
@@ -1566,7 +1566,7 @@
1566
1566
  {
1567
1567
  "disabled": false,
1568
1568
  "document": "是否按固定时间跨度聚合,填入1及大于1的值按1处理,不填按0处理。\n- 填入0,则计算开始时间到截止时间的指标数据。\n- 填入1,则会按照开始时间到截止时间的时间跨度选择聚合粒度:\n - 时间跨度 (0,12) 小时,则按一分钟粒度聚合。\n - 时间跨度 [12,48] 小时,则按五分钟粒度聚合。\n - 时间跨度 (48, +∞) 小时,则按一小时粒度聚合。",
1569
- "example": "60",
1569
+ "example": "1",
1570
1570
  "member": "int64",
1571
1571
  "name": "Period",
1572
1572
  "required": false,
@@ -1575,7 +1575,7 @@
1575
1575
  {
1576
1576
  "disabled": false,
1577
1577
  "document": "对查询指标进行排序:\nKey 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)\nValue 填写排序方式: \n- asc:对查询指标进行升序排序\n- desc:对查询指标进行降序排序",
1578
- "example": "{ \t\"Key\": \"duration\", \"Value\": \"desc\"",
1578
+ "example": "{ \t\"Key\": \"duration_avg\", \"Value\": \"desc\"",
1579
1579
  "member": "OrderBy",
1580
1580
  "name": "OrderBy",
1581
1581
  "required": false,
@@ -2244,12 +2244,11 @@
2244
2244
  {
2245
2245
  "disabled": false,
2246
2246
  "document": "过滤维度名",
2247
- "example": "serviceName",
2247
+ "example": "service.name",
2248
2248
  "member": "string",
2249
2249
  "name": "Key",
2250
2250
  "required": true,
2251
- "type": "string",
2252
- "value_allowed_null": false
2251
+ "type": "string"
2253
2252
  },
2254
2253
  {
2255
2254
  "disabled": false,
@@ -2258,8 +2257,7 @@
2258
2257
  "member": "string",
2259
2258
  "name": "Value",
2260
2259
  "required": true,
2261
- "type": "string",
2262
- "value_allowed_null": false
2260
+ "type": "string"
2263
2261
  }
2264
2262
  ],
2265
2263
  "usage": "in"
@@ -10119,7 +10119,7 @@
10119
10119
  },
10120
10120
  {
10121
10121
  "disabled": false,
10122
- "document": "http 头部值,最多可设置 1000 个字符\nMode 为 del 时非必填\nMode 为 add/set 时必填\n注意:此字段可能返回 null,表示取不到有效值。",
10122
+ "document": "http 头部值,最多可设置 2000 个字符\nMode 为 del 时非必填\nMode 为 add/set 时必填\n注意:此字段可能返回 null,表示取不到有效值。",
10123
10123
  "example": "value",
10124
10124
  "member": "string",
10125
10125
  "name": "HeaderValue",
@@ -1649,7 +1649,7 @@
1649
1649
  {
1650
1650
  "disabled": false,
1651
1651
  "document": "搜索的集群id名称",
1652
- "example": "cdwch-xxxx",
1652
+ "example": "clickhouse-cn-xxxxxx",
1653
1653
  "member": "string",
1654
1654
  "name": "SearchInstanceID",
1655
1655
  "required": false,
@@ -1658,7 +1658,7 @@
1658
1658
  {
1659
1659
  "disabled": false,
1660
1660
  "document": "搜索的集群name",
1661
- "example": "-",
1661
+ "example": "clickhouse-cn-xxxxxx",
1662
1662
  "member": "string",
1663
1663
  "name": "SearchInstanceName",
1664
1664
  "required": false,
@@ -1694,7 +1694,7 @@
1694
1694
  {
1695
1695
  "disabled": false,
1696
1696
  "document": "集群类型,弹性版或自研数仓版",
1697
- "example": "",
1697
+ "example": "clickhouse-cn",
1698
1698
  "member": "string",
1699
1699
  "name": "InstanceType",
1700
1700
  "required": false,
@@ -1703,7 +1703,7 @@
1703
1703
  {
1704
1704
  "disabled": false,
1705
1705
  "document": "组件名称列表",
1706
- "example": "",
1706
+ "example": "0",
1707
1707
  "member": "string",
1708
1708
  "name": "Components",
1709
1709
  "required": false,
@@ -1728,7 +1728,7 @@
1728
1728
  {
1729
1729
  "disabled": false,
1730
1730
  "document": "实例数组\n注意:此字段可能返回 null,表示取不到有效值。",
1731
- "example": "-",
1731
+ "example": "[{\"instanceId:\"clickhouse-cn\"\"}]",
1732
1732
  "member": "CnInstanceInfo",
1733
1733
  "name": "InstancesList",
1734
1734
  "output_required": true,
@@ -1737,8 +1737,8 @@
1737
1737
  },
1738
1738
  {
1739
1739
  "disabled": false,
1740
- "document": "-\n注意:此字段可能返回 null,表示取不到有效值。",
1741
- "example": "-",
1740
+ "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
1741
+ "example": "-1",
1742
1742
  "member": "string",
1743
1743
  "name": "ErrorMsg",
1744
1744
  "output_required": true,
@@ -67,8 +67,8 @@
67
67
  "DescribeCNInstances": [
68
68
  {
69
69
  "document": "",
70
- "input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCNInstances\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchTags\": [\n {\n \"AllValue\": 0,\n \"TagKey\": \"test\",\n \"TagValue\": \"test\"\n }\n ],\n \"SearchInstanceID\": \"test\",\n \"SearchInstanceName\": \"test\"\n}",
71
- "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstancesList\": [\n {\n \"ID\": 0,\n \"InstanceType\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Status\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"InstanceStateInfo\": {\n \"InstanceState\": \"abc\",\n \"FlowCreateTime\": \"abc\",\n \"FlowName\": \"abc\",\n \"FlowProgress\": 0,\n \"InstanceStateDesc\": \"abc\",\n \"FlowMsg\": \"abc\",\n \"ProcessName\": \"abc\",\n \"RequestId\": \"abc\",\n \"ProcessSubName\": \"abc\"\n },\n \"InstanceID\": \"abc\",\n \"Resources\": [\n {\n \"ID\": 0,\n \"InstanceID\": \"abc\",\n \"AppID\": 0,\n \"Uin\": \"abc\",\n \"Component\": \"abc\",\n \"DeployMode\": 0,\n \"SpecName\": \"abc\",\n \"ResourceID\": \"abc\",\n \"Status\": 0,\n \"IP\": \"abc\",\n \"CPU\": 1,\n \"Memory\": 1,\n \"Storage\": 1,\n \"UUID\": \"abc\",\n \"Region\": \"abc\",\n \"Zone\": \"abc\",\n \"Details\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ModifyTime\": \"abc\",\n \"ExpireTime\": \"abc\"\n }\n ]\n }\n ],\n \"ErrorMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
70
+ "input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"SearchInstanceName\": \"\",\n \"SearchInstanceID\": \"\",\n \"Offset\": 0\n}",
71
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1093578c-caab-42fe-a888-37968fd42035\",\n \"InstancesList\": [\n {\n \"ID\": 1336,\n \"InstanceType\": \"clickhouse-cn\",\n \"InstanceID\": \"clickhouse-cn-xxxxxx\",\n \"InstanceName\": \"cdwch-test-3\",\n \"Status\": \"Serving\",\n \"StatusDesc\": \"运行中\"\n }\n ],\n \"ErrorMsg\": \"\",\n \"TotalCount\": 1\n }\n}",
72
72
  "title": "查询云原生实例列表"
73
73
  }
74
74
  ],
@@ -121,6 +121,58 @@ def doDescribeManages(args, parsed_globals):
121
121
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
122
122
 
123
123
 
124
+ def doDescribeLeakageDatas(args, parsed_globals):
125
+ g_param = parse_global_arg(parsed_globals)
126
+
127
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
128
+ cred = credential.CVMRoleCredential()
129
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
130
+ cred = credential.STSAssumeRoleCredential(
131
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
132
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
133
+ )
134
+ 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):
135
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
136
+ else:
137
+ cred = credential.Credential(
138
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
139
+ )
140
+ http_profile = HttpProfile(
141
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
142
+ reqMethod="POST",
143
+ endpoint=g_param[OptionsDefine.Endpoint],
144
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
145
+ )
146
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
147
+ if g_param[OptionsDefine.Language]:
148
+ profile.language = g_param[OptionsDefine.Language]
149
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
150
+ client = mod.CtemClient(cred, g_param[OptionsDefine.Region], profile)
151
+ client._sdkVersion += ("_CLI_" + __version__)
152
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
153
+ model = models.DescribeLeakageDatasRequest()
154
+ model.from_json_string(json.dumps(args))
155
+ start_time = time.time()
156
+ while True:
157
+ rsp = client.DescribeLeakageDatas(model)
158
+ result = rsp.to_json_string()
159
+ try:
160
+ json_obj = json.loads(result)
161
+ except TypeError as e:
162
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
163
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
164
+ break
165
+ cur_time = time.time()
166
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
167
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
168
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
169
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
170
+ else:
171
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
172
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
173
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
+
175
+
124
176
  def doModifyCustomer(args, parsed_globals):
125
177
  g_param = parse_global_arg(parsed_globals)
126
178
 
@@ -537,6 +589,58 @@ def doDescribeCustomers(args, parsed_globals):
537
589
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
538
590
 
539
591
 
592
+ def doDescribeLeakageEmails(args, parsed_globals):
593
+ g_param = parse_global_arg(parsed_globals)
594
+
595
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
596
+ cred = credential.CVMRoleCredential()
597
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
598
+ cred = credential.STSAssumeRoleCredential(
599
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
600
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
601
+ )
602
+ 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):
603
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
604
+ else:
605
+ cred = credential.Credential(
606
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
607
+ )
608
+ http_profile = HttpProfile(
609
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
610
+ reqMethod="POST",
611
+ endpoint=g_param[OptionsDefine.Endpoint],
612
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
613
+ )
614
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
615
+ if g_param[OptionsDefine.Language]:
616
+ profile.language = g_param[OptionsDefine.Language]
617
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
618
+ client = mod.CtemClient(cred, g_param[OptionsDefine.Region], profile)
619
+ client._sdkVersion += ("_CLI_" + __version__)
620
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
621
+ model = models.DescribeLeakageEmailsRequest()
622
+ model.from_json_string(json.dumps(args))
623
+ start_time = time.time()
624
+ while True:
625
+ rsp = client.DescribeLeakageEmails(model)
626
+ result = rsp.to_json_string()
627
+ try:
628
+ json_obj = json.loads(result)
629
+ except TypeError as e:
630
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
631
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
632
+ break
633
+ cur_time = time.time()
634
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
635
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
636
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
637
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
638
+ else:
639
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
640
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
641
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
642
+
643
+
540
644
  def doDescribeApps(args, parsed_globals):
541
645
  g_param = parse_global_arg(parsed_globals)
542
646
 
@@ -1005,6 +1109,58 @@ def doDescribeDarkWebs(args, parsed_globals):
1005
1109
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
1110
 
1007
1111
 
1112
+ def doDescribeLeakageCodes(args, parsed_globals):
1113
+ g_param = parse_global_arg(parsed_globals)
1114
+
1115
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1116
+ cred = credential.CVMRoleCredential()
1117
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1118
+ cred = credential.STSAssumeRoleCredential(
1119
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1120
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1121
+ )
1122
+ 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):
1123
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1124
+ else:
1125
+ cred = credential.Credential(
1126
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1127
+ )
1128
+ http_profile = HttpProfile(
1129
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1130
+ reqMethod="POST",
1131
+ endpoint=g_param[OptionsDefine.Endpoint],
1132
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1133
+ )
1134
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1135
+ if g_param[OptionsDefine.Language]:
1136
+ profile.language = g_param[OptionsDefine.Language]
1137
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1138
+ client = mod.CtemClient(cred, g_param[OptionsDefine.Region], profile)
1139
+ client._sdkVersion += ("_CLI_" + __version__)
1140
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1141
+ model = models.DescribeLeakageCodesRequest()
1142
+ model.from_json_string(json.dumps(args))
1143
+ start_time = time.time()
1144
+ while True:
1145
+ rsp = client.DescribeLeakageCodes(model)
1146
+ result = rsp.to_json_string()
1147
+ try:
1148
+ json_obj = json.loads(result)
1149
+ except TypeError as e:
1150
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1151
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1152
+ break
1153
+ cur_time = time.time()
1154
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1155
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1156
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1157
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1158
+ else:
1159
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1160
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1161
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1162
+
1163
+
1008
1164
  def doDescribeWechatOfficialAccounts(args, parsed_globals):
1009
1165
  g_param = parse_global_arg(parsed_globals)
1010
1166
 
@@ -1330,6 +1486,7 @@ MODELS_MAP = {
1330
1486
  ACTION_MAP = {
1331
1487
  "DescribeNetDisks": doDescribeNetDisks,
1332
1488
  "DescribeManages": doDescribeManages,
1489
+ "DescribeLeakageDatas": doDescribeLeakageDatas,
1333
1490
  "ModifyCustomer": doModifyCustomer,
1334
1491
  "DescribeDomains": doDescribeDomains,
1335
1492
  "DescribeVuls": doDescribeVuls,
@@ -1338,6 +1495,7 @@ ACTION_MAP = {
1338
1495
  "DescribeSensitiveInfos": doDescribeSensitiveInfos,
1339
1496
  "DescribeSubDomains": doDescribeSubDomains,
1340
1497
  "DescribeCustomers": doDescribeCustomers,
1498
+ "DescribeLeakageEmails": doDescribeLeakageEmails,
1341
1499
  "DescribeApps": doDescribeApps,
1342
1500
  "DescribeJobRecordDetails": doDescribeJobRecordDetails,
1343
1501
  "DescribeSuspiciousAssets": doDescribeSuspiciousAssets,
@@ -1347,6 +1505,7 @@ ACTION_MAP = {
1347
1505
  "DescribeHttps": doDescribeHttps,
1348
1506
  "DescribeAssets": doDescribeAssets,
1349
1507
  "DescribeDarkWebs": doDescribeDarkWebs,
1508
+ "DescribeLeakageCodes": doDescribeLeakageCodes,
1350
1509
  "DescribeWechatOfficialAccounts": doDescribeWechatOfficialAccounts,
1351
1510
  "DescribeEnterprises": doDescribeEnterprises,
1352
1511
  "CreateCustomer": doCreateCustomer,