tccli 3.0.1270.1__py2.py3-none-any.whl → 3.0.1271.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.
- tccli/__init__.py +1 -1
- tccli/services/apm/apm_client.py +61 -8
- tccli/services/apm/v20210622/api.json +117 -0
- tccli/services/apm/v20210622/examples.json +8 -0
- tccli/services/dc/v20180410/api.json +10 -0
- tccli/services/emr/v20190103/api.json +66 -0
- tccli/services/emr/v20190103/examples.json +3 -3
- tccli/services/mna/v20210119/api.json +64 -64
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +1 -1
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1271.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1271.1.dist-info}/RECORD +16 -16
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1271.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1271.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1271.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1271.1'
|
tccli/services/apm/apm_client.py
CHANGED
@@ -17,7 +17,7 @@ from tencentcloud.apm.v20210622 import models as models_v20210622
|
|
17
17
|
from jmespath import search
|
18
18
|
import time
|
19
19
|
|
20
|
-
def
|
20
|
+
def doDescribeGeneralApmApplicationConfig(args, parsed_globals):
|
21
21
|
g_param = parse_global_arg(parsed_globals)
|
22
22
|
|
23
23
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -46,11 +46,11 @@ def doModifyApmInstance(args, parsed_globals):
|
|
46
46
|
client = mod.ApmClient(cred, g_param[OptionsDefine.Region], profile)
|
47
47
|
client._sdkVersion += ("_CLI_" + __version__)
|
48
48
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
49
|
-
model = models.
|
49
|
+
model = models.DescribeGeneralApmApplicationConfigRequest()
|
50
50
|
model.from_json_string(json.dumps(args))
|
51
51
|
start_time = time.time()
|
52
52
|
while True:
|
53
|
-
rsp = client.
|
53
|
+
rsp = client.DescribeGeneralApmApplicationConfig(model)
|
54
54
|
result = rsp.to_json_string()
|
55
55
|
try:
|
56
56
|
json_obj = json.loads(result)
|
@@ -277,7 +277,7 @@ def doDescribeApmAgent(args, parsed_globals):
|
|
277
277
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
278
|
|
279
279
|
|
280
|
-
def
|
280
|
+
def doDescribeGeneralOTSpanList(args, parsed_globals):
|
281
281
|
g_param = parse_global_arg(parsed_globals)
|
282
282
|
|
283
283
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -306,11 +306,63 @@ def doDescribeGeneralApmApplicationConfig(args, parsed_globals):
|
|
306
306
|
client = mod.ApmClient(cred, g_param[OptionsDefine.Region], profile)
|
307
307
|
client._sdkVersion += ("_CLI_" + __version__)
|
308
308
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
309
|
-
model = models.
|
309
|
+
model = models.DescribeGeneralOTSpanListRequest()
|
310
310
|
model.from_json_string(json.dumps(args))
|
311
311
|
start_time = time.time()
|
312
312
|
while True:
|
313
|
-
rsp = client.
|
313
|
+
rsp = client.DescribeGeneralOTSpanList(model)
|
314
|
+
result = rsp.to_json_string()
|
315
|
+
try:
|
316
|
+
json_obj = json.loads(result)
|
317
|
+
except TypeError as e:
|
318
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
319
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
320
|
+
break
|
321
|
+
cur_time = time.time()
|
322
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
323
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
324
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
325
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
326
|
+
else:
|
327
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
328
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
329
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
|
+
|
331
|
+
|
332
|
+
def doModifyApmInstance(args, parsed_globals):
|
333
|
+
g_param = parse_global_arg(parsed_globals)
|
334
|
+
|
335
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
336
|
+
cred = credential.CVMRoleCredential()
|
337
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
338
|
+
cred = credential.STSAssumeRoleCredential(
|
339
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
340
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
341
|
+
)
|
342
|
+
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):
|
343
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
344
|
+
else:
|
345
|
+
cred = credential.Credential(
|
346
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
347
|
+
)
|
348
|
+
http_profile = HttpProfile(
|
349
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
350
|
+
reqMethod="POST",
|
351
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
352
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
353
|
+
)
|
354
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
355
|
+
if g_param[OptionsDefine.Language]:
|
356
|
+
profile.language = g_param[OptionsDefine.Language]
|
357
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
358
|
+
client = mod.ApmClient(cred, g_param[OptionsDefine.Region], profile)
|
359
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
360
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
361
|
+
model = models.ModifyApmInstanceRequest()
|
362
|
+
model.from_json_string(json.dumps(args))
|
363
|
+
start_time = time.time()
|
364
|
+
while True:
|
365
|
+
rsp = client.ModifyApmInstance(model)
|
314
366
|
result = rsp.to_json_string()
|
315
367
|
try:
|
316
368
|
json_obj = json.loads(result)
|
@@ -652,12 +704,13 @@ MODELS_MAP = {
|
|
652
704
|
}
|
653
705
|
|
654
706
|
ACTION_MAP = {
|
655
|
-
"
|
707
|
+
"DescribeGeneralApmApplicationConfig": doDescribeGeneralApmApplicationConfig,
|
656
708
|
"DescribeTagValues": doDescribeTagValues,
|
657
709
|
"DescribeGeneralSpanList": doDescribeGeneralSpanList,
|
658
710
|
"DescribeApmInstances": doDescribeApmInstances,
|
659
711
|
"DescribeApmAgent": doDescribeApmAgent,
|
660
|
-
"
|
712
|
+
"DescribeGeneralOTSpanList": doDescribeGeneralOTSpanList,
|
713
|
+
"ModifyApmInstance": doModifyApmInstance,
|
661
714
|
"ModifyGeneralApmApplicationConfig": doModifyGeneralApmApplicationConfig,
|
662
715
|
"DescribeGeneralMetricData": doDescribeGeneralMetricData,
|
663
716
|
"DescribeMetricRecords": doDescribeMetricRecords,
|
@@ -35,6 +35,13 @@
|
|
35
35
|
"output": "DescribeGeneralMetricDataResponse",
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
|
+
"DescribeGeneralOTSpanList": {
|
39
|
+
"document": "通用查询 OpenTelemetry 调用链列表",
|
40
|
+
"input": "DescribeGeneralOTSpanListRequest",
|
41
|
+
"name": "通用查询 OpenTelemetry 调用链列表",
|
42
|
+
"output": "DescribeGeneralOTSpanListResponse",
|
43
|
+
"status": "online"
|
44
|
+
},
|
38
45
|
"DescribeGeneralSpanList": {
|
39
46
|
"document": "通用查询调用链列表",
|
40
47
|
"input": "DescribeGeneralSpanListRequest",
|
@@ -1322,6 +1329,116 @@
|
|
1322
1329
|
],
|
1323
1330
|
"type": "object"
|
1324
1331
|
},
|
1332
|
+
"DescribeGeneralOTSpanListRequest": {
|
1333
|
+
"document": "DescribeGeneralOTSpanList请求参数结构体",
|
1334
|
+
"members": [
|
1335
|
+
{
|
1336
|
+
"disabled": false,
|
1337
|
+
"document": "业务系统 ID",
|
1338
|
+
"example": "apm-CVfliqa8U",
|
1339
|
+
"member": "string",
|
1340
|
+
"name": "InstanceId",
|
1341
|
+
"required": true,
|
1342
|
+
"type": "string"
|
1343
|
+
},
|
1344
|
+
{
|
1345
|
+
"disabled": false,
|
1346
|
+
"document": "Span 查询开始时间戳(单位:秒)",
|
1347
|
+
"example": "1617123538",
|
1348
|
+
"member": "int64",
|
1349
|
+
"name": "StartTime",
|
1350
|
+
"required": true,
|
1351
|
+
"type": "int"
|
1352
|
+
},
|
1353
|
+
{
|
1354
|
+
"disabled": false,
|
1355
|
+
"document": "Span 查询结束时间戳(单位:秒)",
|
1356
|
+
"example": "1617123538",
|
1357
|
+
"member": "int64",
|
1358
|
+
"name": "EndTime",
|
1359
|
+
"required": true,
|
1360
|
+
"type": "int"
|
1361
|
+
},
|
1362
|
+
{
|
1363
|
+
"disabled": false,
|
1364
|
+
"document": "通用过滤参数",
|
1365
|
+
"example": "{ \"Key\": \"service.name\", \"Type\": \"=\", \"Value\": \"java-order-service\" }",
|
1366
|
+
"member": "Filter",
|
1367
|
+
"name": "Filters",
|
1368
|
+
"required": false,
|
1369
|
+
"type": "list"
|
1370
|
+
},
|
1371
|
+
{
|
1372
|
+
"disabled": false,
|
1373
|
+
"document": "排序\n现支持的 Key 有:\n\n- startTime(开始时间)\n- endTime(结束时间)\n- duration(响应时间)\n\n现支持的 Value 有:\n\n- desc(降序排序)\n- asc(升序排序)",
|
1374
|
+
"example": "{ \"Key\": \"startTime\", \"Value\": \"desc\" }",
|
1375
|
+
"member": "OrderBy",
|
1376
|
+
"name": "OrderBy",
|
1377
|
+
"required": false,
|
1378
|
+
"type": "object"
|
1379
|
+
},
|
1380
|
+
{
|
1381
|
+
"disabled": false,
|
1382
|
+
"document": "业务自身服务名,控制台用户请填写taw",
|
1383
|
+
"example": "taw",
|
1384
|
+
"member": "string",
|
1385
|
+
"name": "BusinessName",
|
1386
|
+
"required": false,
|
1387
|
+
"type": "string"
|
1388
|
+
},
|
1389
|
+
{
|
1390
|
+
"disabled": false,
|
1391
|
+
"document": "单页项目个数,默认为10000,合法取值范围为0~10000",
|
1392
|
+
"example": "15",
|
1393
|
+
"member": "int64",
|
1394
|
+
"name": "Limit",
|
1395
|
+
"required": false,
|
1396
|
+
"type": "int"
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
"disabled": false,
|
1400
|
+
"document": "分页",
|
1401
|
+
"example": "1",
|
1402
|
+
"member": "int64",
|
1403
|
+
"name": "Offset",
|
1404
|
+
"required": false,
|
1405
|
+
"type": "int"
|
1406
|
+
}
|
1407
|
+
],
|
1408
|
+
"type": "object"
|
1409
|
+
},
|
1410
|
+
"DescribeGeneralOTSpanListResponse": {
|
1411
|
+
"document": "DescribeGeneralOTSpanList返回参数结构体",
|
1412
|
+
"members": [
|
1413
|
+
{
|
1414
|
+
"disabled": false,
|
1415
|
+
"document": "总数量",
|
1416
|
+
"example": "200",
|
1417
|
+
"member": "int64",
|
1418
|
+
"name": "TotalCount",
|
1419
|
+
"output_required": true,
|
1420
|
+
"type": "int",
|
1421
|
+
"value_allowed_null": false
|
1422
|
+
},
|
1423
|
+
{
|
1424
|
+
"disabled": false,
|
1425
|
+
"document": "装有查询结果 Spans 的 Trace 结构体。OpenTelemetry 标准 Trace 结构体哈希后的字符串,先将 Trace 利用 ptrace.JSONMarshaler 转换成 Json 字符串,再用 gzip 压缩,最后转换成 base64 标准的字符串。",
|
1426
|
+
"example": "无",
|
1427
|
+
"member": "string",
|
1428
|
+
"name": "Spans",
|
1429
|
+
"output_required": true,
|
1430
|
+
"type": "string",
|
1431
|
+
"value_allowed_null": false
|
1432
|
+
},
|
1433
|
+
{
|
1434
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1435
|
+
"member": "string",
|
1436
|
+
"name": "RequestId",
|
1437
|
+
"type": "string"
|
1438
|
+
}
|
1439
|
+
],
|
1440
|
+
"type": "object"
|
1441
|
+
},
|
1325
1442
|
"DescribeGeneralSpanListRequest": {
|
1326
1443
|
"document": "DescribeGeneralSpanList请求参数结构体",
|
1327
1444
|
"members": [
|
@@ -58,6 +58,14 @@
|
|
58
58
|
"title": "查询起始到终止时间内统计 sql_metric 的 duration_avg(耗时时间)指标数据示例"
|
59
59
|
}
|
60
60
|
],
|
61
|
+
"DescribeGeneralOTSpanList": [
|
62
|
+
{
|
63
|
+
"document": "通用查询 OpenTelemetry 调用链列表",
|
64
|
+
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralOTSpanList\n<公共请求参数>\n\n{\n \"InstanceId\": \"apm-CVfliqa8U\",\n \"StartTime\": 1739864668,\n \"EndTime\": 1739865268,\n \"Limit\": 10\n}",
|
65
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"51e8f6fe-f343-45f1-899a-08547ab7b10d\",\n \"Spans\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8VzH85jbBsA0LjU0t0A4SpEAPRAB5gmLh0FoeR6OrMAPqEU4FUHkAB+Fe5uPxwiHGncTHOu+qAYdbWrNZ9rK5aGP0RA1YTfw20iIt3YP1t4JAUeV0I2TirQQXVqnEvSu8gUg2CH7xl3ouUcIXVblXSyF+s/68R7nZ3QNf5RqK81TvgqX2JACSHdNWef2xelyV+2rQseJwSYIu/bXCf/69j8AAAD//wEAAP//2YWydbXKAAA=\",\n \"TotalCount\": 26674\n }\n}",
|
66
|
+
"title": "通用查询 OpenTelemetry 调用链列表"
|
67
|
+
}
|
68
|
+
],
|
61
69
|
"DescribeGeneralSpanList": [
|
62
70
|
{
|
63
71
|
"document": "根据 Trace ID 列表批量查询 Span,Filters 查询参数中将 Type 设置为 in ,将 Trace ID 列表通过,隔开",
|
@@ -311,6 +311,16 @@
|
|
311
311
|
"output_required": true,
|
312
312
|
"type": "list",
|
313
313
|
"value_allowed_null": false
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"disabled": false,
|
317
|
+
"document": "接入点地址。",
|
318
|
+
"example": "广东省清远市清城区清晖南路腾讯清城云计算数据中心",
|
319
|
+
"member": "string",
|
320
|
+
"name": "Address",
|
321
|
+
"output_required": true,
|
322
|
+
"type": "string",
|
323
|
+
"value_allowed_null": false
|
314
324
|
}
|
315
325
|
],
|
316
326
|
"usage": "out"
|
@@ -10624,6 +10624,50 @@
|
|
10624
10624
|
"type": "string",
|
10625
10625
|
"value_allowed_null": false
|
10626
10626
|
},
|
10627
|
+
{
|
10628
|
+
"disabled": false,
|
10629
|
+
"document": "节点部署服务列表,例如[\"HDFS-3.1.2\",\"YARN-3.1.2\"]。\n注意:此字段可能返回 null,表示取不到有效值。",
|
10630
|
+
"example": "[\"HDFS-3.1.2\",\"YARN-3.1.2\"]",
|
10631
|
+
"member": "string",
|
10632
|
+
"name": "SoftDeployDesc",
|
10633
|
+
"output_required": false,
|
10634
|
+
"required": false,
|
10635
|
+
"type": "list",
|
10636
|
+
"value_allowed_null": true
|
10637
|
+
},
|
10638
|
+
{
|
10639
|
+
"disabled": false,
|
10640
|
+
"document": "启动进程列表,例如[\"NodeManager\"]。",
|
10641
|
+
"example": "[\"NodeManager\"]",
|
10642
|
+
"member": "string",
|
10643
|
+
"name": "ServiceNodeDesc",
|
10644
|
+
"output_required": false,
|
10645
|
+
"required": false,
|
10646
|
+
"type": "string",
|
10647
|
+
"value_allowed_null": false
|
10648
|
+
},
|
10649
|
+
{
|
10650
|
+
"disabled": false,
|
10651
|
+
"document": "启动进程列表。\n注意:此字段可能返回 null,表示取不到有效值。",
|
10652
|
+
"example": "7",
|
10653
|
+
"member": "int64",
|
10654
|
+
"name": "ServiceNodeInfo",
|
10655
|
+
"output_required": true,
|
10656
|
+
"required": false,
|
10657
|
+
"type": "list",
|
10658
|
+
"value_allowed_null": true
|
10659
|
+
},
|
10660
|
+
{
|
10661
|
+
"disabled": false,
|
10662
|
+
"document": "节点部署服务列表。部署服务仅填写HDFS、YARN。[组件名对应的映射关系表](https://cloud.tencent.com/document/product/589/98760)\n注意:此字段可能返回 null,表示取不到有效值。",
|
10663
|
+
"example": "HDFS",
|
10664
|
+
"member": "int64",
|
10665
|
+
"name": "SoftDeployInfo",
|
10666
|
+
"output_required": true,
|
10667
|
+
"required": false,
|
10668
|
+
"type": "list",
|
10669
|
+
"value_allowed_null": true
|
10670
|
+
},
|
10627
10671
|
{
|
10628
10672
|
"disabled": false,
|
10629
10673
|
"document": "多指标触发条件\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -10634,6 +10678,28 @@
|
|
10634
10678
|
"required": false,
|
10635
10679
|
"type": "object",
|
10636
10680
|
"value_allowed_null": true
|
10681
|
+
},
|
10682
|
+
{
|
10683
|
+
"disabled": false,
|
10684
|
+
"document": "伸缩组Id",
|
10685
|
+
"example": "2",
|
10686
|
+
"member": "int64",
|
10687
|
+
"name": "GroupId",
|
10688
|
+
"output_required": false,
|
10689
|
+
"required": false,
|
10690
|
+
"type": "int",
|
10691
|
+
"value_allowed_null": false
|
10692
|
+
},
|
10693
|
+
{
|
10694
|
+
"disabled": false,
|
10695
|
+
"document": "soft例如yarn",
|
10696
|
+
"example": "yarn",
|
10697
|
+
"member": "string",
|
10698
|
+
"name": "Soft",
|
10699
|
+
"output_required": false,
|
10700
|
+
"required": false,
|
10701
|
+
"type": "string",
|
10702
|
+
"value_allowed_null": false
|
10637
10703
|
}
|
10638
10704
|
],
|
10639
10705
|
"usage": "both"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"AddMetricScaleStrategy": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddMetricScaleStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StrategyType\": 0,\n \"LoadAutoScaleStrategy\": {\n \"CalmDownTime\": 0,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 0\n }\n ],\n \"LoadMetrics\": \"AvailableMB#root\",\n \"MetricId\": 3,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"Priority\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"ScaleAction\": 2,\n \"ScaleNum\": 1,\n \"StrategyName\": \"并行负载-re04\",\n \"StrategyStatus\": 1\n },\n \"TimeAutoScaleStrategy\": {\n \"CompensateFlag\": 0,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GroupId\": 27,\n \"IntervalTime\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"RepeatStrategy\": {\n \"Expire\": \"2025-11-05 23:59:59\",\n \"NotRepeat\": {\n \"ExecuteAt\": \"2024-11-05 14:43:00\"\n },\n \"RepeatType\": \"NONE\"\n },\n \"Priority\": 0,\n \"RetryValidTime\": 60,\n \"ScaleAction\": 1,\n \"ScaleNum\": 10,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyName\": \"add\",\n \"StrategyStatus\": 1,\n \"TerminatePolicy\": \"DEFAULT\"\n }\n}",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddMetricScaleStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StrategyType\": 0,\n \"LoadAutoScaleStrategy\": {\n \"CalmDownTime\": 0,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GroupId\": 109,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 0\n }\n ],\n \"LoadMetrics\": \"AvailableMB#root\",\n \"MetricId\": 3,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"Priority\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"ScaleAction\": 2,\n \"ScaleNum\": 1,\n \"StrategyName\": \"并行负载-re04\",\n \"StrategyStatus\": 1\n },\n \"TimeAutoScaleStrategy\": {\n \"CompensateFlag\": 0,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GroupId\": 27,\n \"IntervalTime\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"RepeatStrategy\": {\n \"Expire\": \"2025-11-05 23:59:59\",\n \"NotRepeat\": {\n \"ExecuteAt\": \"2024-11-05 14:43:00\"\n },\n \"RepeatType\": \"NONE\"\n },\n \"Priority\": 0,\n \"RetryValidTime\": 60,\n \"ScaleAction\": 1,\n \"ScaleNum\": 10,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyName\": \"add\",\n \"StrategyStatus\": 1,\n \"TerminatePolicy\": \"DEFAULT\"\n }\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"e3f82d54-6fa6-49c2-a479-8d2f5cf77f91\"\n }\n}",
|
8
8
|
"title": "添加扩缩容规则成功示例"
|
9
9
|
}
|
@@ -116,7 +116,7 @@
|
|
116
116
|
{
|
117
117
|
"document": "",
|
118
118
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleStrategies\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"GroupId\": 0\n}",
|
119
|
-
"output": "{\n \"Response\": {\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 16\n }\n ],\n \"LoadMetrics\": \"AvailableVCores#root.default\",\n \"MetricId\": 1,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"MeasureMethod\": \"INSTANCE\",\n \"PeriodValid\": \"\",\n \"Priority\": 3,\n \"ProcessMethod\": 3,\n \"ScaleAction\": 2,\n \"ScaleNum\": 2,\n \"StrategyId\": 1521,\n \"StrategyName\": \"负载缩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [],\n \"YarnNodeLabel\": \"\"\n }\n ],\n \"RequestId\": \"272c1c07-2840-44c8-8753-a761617f71fd\",\n \"TimeBasedAutoScaleStrategies\": [\n {\n \"CompensateFlag\": 1,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"IMPALA-4.1.0\\\":-1,\\\"KYUUBI-1.6.0\\\":-1,\\\"TRINO-389\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"IntervalTime\": 300,\n \"MaxUse\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 1,\n \"RepeatStrategy\": {\n \"DayRepeat\": {\n \"ExecuteAtTimeOfDay\": \"08:30:00\",\n \"Step\": 1\n },\n \"Expire\": \"2024-09-11 23:59:59\",\n \"MonthRepeat\": {\n \"DaysOfMonthRange\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n },\n \"NotRepeat\": {\n \"ExecuteAt\": \"\"\n },\n \"RepeatType\": \"DAY\",\n \"WeekRepeat\": {\n \"DaysOfWeek\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n }\n },\n \"RetryValidTime\": 300,\n \"ScaleAction\": 1,\n \"ScaleNum\": 1,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyId\": 1274,\n \"StrategyName\": \"时间伸缩扩容周期性\",\n \"StrategyStatus\": 3,\n \"Tags\": [\n {\n \"TagKey\": \"key09993\",\n \"TagValue\": \"value1\"\n },\n {\n \"TagKey\": \"key09991\",\n \"TagValue\": \"value1\"\n }\n ],\n \"TerminatePolicy\": \"DEFAULT\"\n },\n {\n \"CompensateFlag\": 0,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": true,\n \"GraceDownTime\": 180,\n \"GroupId\": 0,\n \"IntervalTime\": 60,\n \"MaxUse\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 2,\n \"RepeatStrategy\": {\n \"DayRepeat\": {\n \"ExecuteAtTimeOfDay\": \"09:30:00\",\n \"Step\": 1\n },\n \"Expire\": \"2024-09-11 23:59:59\",\n \"MonthRepeat\": {\n \"DaysOfMonthRange\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n },\n \"NotRepeat\": {\n \"ExecuteAt\": \"\"\n },\n \"RepeatType\": \"DAY\",\n \"WeekRepeat\": {\n \"DaysOfWeek\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n }\n },\n \"RetryValidTime\": 60,\n \"ScaleAction\": 2,\n \"ScaleNum\": 1,\n \"ServiceNodeInfo\": null,\n \"SoftDeployInfo\": null,\n \"StrategyId\": 1275,\n \"StrategyName\": \"时间伸缩缩容周期性-开启优雅缩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [],\n \"TerminatePolicy\": \"DEFAULT\"\n }\n ]\n }\n}",
|
119
|
+
"output": "{\n \"Response\": {\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 16\n }\n ],\n \"LoadMetrics\": \"AvailableVCores#root.default\",\n \"MetricId\": 1,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"MeasureMethod\": \"INSTANCE\",\n \"PeriodValid\": \"\",\n \"Priority\": 3,\n \"ProcessMethod\": 3,\n \"ScaleAction\": 2,\n \"ScaleNum\": 2,\n \"ServiceNodeInfo\": null,\n \"Soft\": \"yarn\",\n \"SoftDeployInfo\": null,\n \"StrategyId\": 1521,\n \"StrategyName\": \"负载缩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [],\n \"YarnNodeLabel\": \"\"\n }\n ],\n \"RequestId\": \"272c1c07-2840-44c8-8753-a761617f71fd\",\n \"TimeBasedAutoScaleStrategies\": [\n {\n \"CompensateFlag\": 1,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"IMPALA-4.1.0\\\":-1,\\\"KYUUBI-1.6.0\\\":-1,\\\"TRINO-389\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"IntervalTime\": 300,\n \"MaxUse\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 1,\n \"RepeatStrategy\": {\n \"DayRepeat\": {\n \"ExecuteAtTimeOfDay\": \"08:30:00\",\n \"Step\": 1\n },\n \"Expire\": \"2024-09-11 23:59:59\",\n \"MonthRepeat\": {\n \"DaysOfMonthRange\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n },\n \"NotRepeat\": {\n \"ExecuteAt\": \"\"\n },\n \"RepeatType\": \"DAY\",\n \"WeekRepeat\": {\n \"DaysOfWeek\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n }\n },\n \"RetryValidTime\": 300,\n \"ScaleAction\": 1,\n \"ScaleNum\": 1,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyId\": 1274,\n \"StrategyName\": \"时间伸缩扩容周期性\",\n \"StrategyStatus\": 3,\n \"Tags\": [\n {\n \"TagKey\": \"key09993\",\n \"TagValue\": \"value1\"\n },\n {\n \"TagKey\": \"key09991\",\n \"TagValue\": \"value1\"\n }\n ],\n \"TerminatePolicy\": \"DEFAULT\"\n },\n {\n \"CompensateFlag\": 0,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": true,\n \"GraceDownTime\": 180,\n \"GroupId\": 0,\n \"IntervalTime\": 60,\n \"MaxUse\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 2,\n \"RepeatStrategy\": {\n \"DayRepeat\": {\n \"ExecuteAtTimeOfDay\": \"09:30:00\",\n \"Step\": 1\n },\n \"Expire\": \"2024-09-11 23:59:59\",\n \"MonthRepeat\": {\n \"DaysOfMonthRange\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n },\n \"NotRepeat\": {\n \"ExecuteAt\": \"\"\n },\n \"RepeatType\": \"DAY\",\n \"WeekRepeat\": {\n \"DaysOfWeek\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n }\n },\n \"RetryValidTime\": 60,\n \"ScaleAction\": 2,\n \"ScaleNum\": 1,\n \"ServiceNodeInfo\": null,\n \"SoftDeployInfo\": null,\n \"StrategyId\": 1275,\n \"StrategyName\": \"时间伸缩缩容周期性-开启优雅缩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [],\n \"TerminatePolicy\": \"DEFAULT\"\n }\n ]\n }\n}",
|
120
120
|
"title": "获取自动扩缩容规则"
|
121
121
|
}
|
122
122
|
],
|
@@ -411,7 +411,7 @@
|
|
411
411
|
"ModifyAutoScaleStrategy": [
|
412
412
|
{
|
413
413
|
"document": "修改扩缩容规则",
|
414
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoScaleStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StrategyType\": 0,\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 16\n }\n ],\n \"LoadMetrics\": \"AvailableVCores#root.default\",\n \"MetricId\": 1,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 3,\n \"ProcessMethod\": 3,\n \"ScaleAction\": 2,\n \"ScaleNum\": 2,\n \"StrategyId\": 1521,\n \"StrategyName\": \"负载缩容\",\n \"StrategyStatus\": 3\n }\n ],\n \"TimeAutoScaleStrategies\": [\n {\n \"CompensateFlag\": 1,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-2.8.5\\\":-1,\\\"YARN-2.8.5\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"IntervalTime\": 0,\n \"MaxUse\": 8,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 2,\n \"RepeatStrategy\": {\n \"Expire\": \"2025-11-05 23:59:59\",\n \"NotRepeat\": {\n \"ExecuteAt\": \"2024-11-06 09:10:00\"\n },\n \"RepeatType\": \"NONE\"\n },\n \"RetryValidTime\": 60,\n \"ScaleAction\": 1,\n \"ScaleNum\": 6,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyId\": 1783,\n \"StrategyName\": \"测试准实时任务扩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [\n {\n \"TagKey\": \"group\",\n \"TagValue\": \"data\"\n }\n ],\n \"TerminatePolicy\": \"TIMING\"\n }\n ]\n}",
|
414
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoScaleStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StrategyType\": 0,\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 16\n }\n ],\n \"LoadMetrics\": \"AvailableVCores#root.default\",\n \"MetricId\": 1,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 3,\n \"ProcessMethod\": 3,\n \"ScaleAction\": 2,\n \"ScaleNum\": 2,\n \"Soft\": \"yarn\",\n \"StrategyId\": 1521,\n \"StrategyName\": \"负载缩容\",\n \"StrategyStatus\": 3\n }\n ],\n \"TimeAutoScaleStrategies\": [\n {\n \"CompensateFlag\": 1,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-2.8.5\\\":-1,\\\"YARN-2.8.5\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"IntervalTime\": 0,\n \"MaxUse\": 8,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 2,\n \"RepeatStrategy\": {\n \"Expire\": \"2025-11-05 23:59:59\",\n \"NotRepeat\": {\n \"ExecuteAt\": \"2024-11-06 09:10:00\"\n },\n \"RepeatType\": \"NONE\"\n },\n \"RetryValidTime\": 60,\n \"ScaleAction\": 1,\n \"ScaleNum\": 6,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyId\": 1783,\n \"StrategyName\": \"测试准实时任务扩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [\n {\n \"TagKey\": \"group\",\n \"TagValue\": \"data\"\n }\n ],\n \"TerminatePolicy\": \"TIMING\"\n }\n ]\n}",
|
415
415
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8833a2df-1487-4f78-89b6-eff26058a240\"\n }\n}",
|
416
416
|
"title": "修改扩缩容规则"
|
417
417
|
}
|
@@ -1650,13 +1650,13 @@
|
|
1650
1650
|
},
|
1651
1651
|
{
|
1652
1652
|
"disabled": false,
|
1653
|
-
"document": "流量包ID
|
1653
|
+
"document": "流量包ID,仅当付费模式为流量包类型时才有。",
|
1654
1654
|
"example": "res-1",
|
1655
1655
|
"member": "string",
|
1656
1656
|
"name": "ResourceId",
|
1657
1657
|
"output_required": false,
|
1658
1658
|
"type": "string",
|
1659
|
-
"value_allowed_null":
|
1659
|
+
"value_allowed_null": false
|
1660
1660
|
}
|
1661
1661
|
],
|
1662
1662
|
"usage": "out"
|
@@ -1871,13 +1871,13 @@
|
|
1871
1871
|
},
|
1872
1872
|
{
|
1873
1873
|
"disabled": false,
|
1874
|
-
"document": "购买时间,Unix
|
1874
|
+
"document": "购买时间,Unix时间戳格式,单位:秒",
|
1875
1875
|
"example": "1697181612",
|
1876
1876
|
"member": "int64",
|
1877
1877
|
"name": "CreateTime",
|
1878
1878
|
"output_required": false,
|
1879
1879
|
"type": "int",
|
1880
|
-
"value_allowed_null":
|
1880
|
+
"value_allowed_null": false
|
1881
1881
|
},
|
1882
1882
|
{
|
1883
1883
|
"disabled": false,
|
@@ -3600,14 +3600,14 @@
|
|
3600
3600
|
},
|
3601
3601
|
{
|
3602
3602
|
"disabled": false,
|
3603
|
-
"document": "
|
3603
|
+
"document": "分组描述",
|
3604
3604
|
"example": "\"description for group\"",
|
3605
3605
|
"member": "string",
|
3606
3606
|
"name": "Description",
|
3607
3607
|
"output_required": true,
|
3608
3608
|
"required": false,
|
3609
3609
|
"type": "string",
|
3610
|
-
"value_allowed_null":
|
3610
|
+
"value_allowed_null": false
|
3611
3611
|
},
|
3612
3612
|
{
|
3613
3613
|
"disabled": false,
|
@@ -3628,47 +3628,47 @@
|
|
3628
3628
|
"members": [
|
3629
3629
|
{
|
3630
3630
|
"disabled": false,
|
3631
|
-
"document": "
|
3631
|
+
"document": "硬件序列号",
|
3632
3632
|
"example": "AN",
|
3633
3633
|
"member": "string",
|
3634
3634
|
"name": "SN",
|
3635
3635
|
"output_required": true,
|
3636
3636
|
"required": true,
|
3637
3637
|
"type": "string",
|
3638
|
-
"value_allowed_null":
|
3638
|
+
"value_allowed_null": false
|
3639
3639
|
},
|
3640
3640
|
{
|
3641
3641
|
"disabled": false,
|
3642
|
-
"document": "license计费模式:\n1,租户付费\n2,厂商月付费\n3
|
3642
|
+
"document": "license计费模式:\n1,租户付费\n2,厂商月付费\n3,厂商永久授权",
|
3643
3643
|
"example": "1",
|
3644
3644
|
"member": "int64",
|
3645
3645
|
"name": "LicenseChargingMode",
|
3646
3646
|
"output_required": true,
|
3647
3647
|
"required": true,
|
3648
3648
|
"type": "int",
|
3649
|
-
"value_allowed_null":
|
3649
|
+
"value_allowed_null": false
|
3650
3650
|
},
|
3651
3651
|
{
|
3652
3652
|
"disabled": false,
|
3653
|
-
"document": "
|
3653
|
+
"document": "设备描述",
|
3654
3654
|
"example": "this is descript",
|
3655
3655
|
"member": "string",
|
3656
3656
|
"name": "Description",
|
3657
3657
|
"output_required": true,
|
3658
3658
|
"required": false,
|
3659
3659
|
"type": "string",
|
3660
|
-
"value_allowed_null":
|
3660
|
+
"value_allowed_null": false
|
3661
3661
|
},
|
3662
3662
|
{
|
3663
3663
|
"disabled": false,
|
3664
|
-
"document": "硬件ID
|
3664
|
+
"document": "硬件ID,入参无需传递",
|
3665
3665
|
"example": "cpe-9oii2ew1z4",
|
3666
3666
|
"member": "string",
|
3667
3667
|
"name": "HardwareId",
|
3668
3668
|
"output_required": true,
|
3669
3669
|
"required": false,
|
3670
3670
|
"type": "string",
|
3671
|
-
"value_allowed_null":
|
3671
|
+
"value_allowed_null": false
|
3672
3672
|
}
|
3673
3673
|
],
|
3674
3674
|
"usage": "both"
|
@@ -3678,143 +3678,143 @@
|
|
3678
3678
|
"members": [
|
3679
3679
|
{
|
3680
3680
|
"disabled": false,
|
3681
|
-
"document": "设备ID
|
3681
|
+
"document": "设备ID",
|
3682
3682
|
"example": "mna-dev1",
|
3683
3683
|
"member": "string",
|
3684
3684
|
"name": "DeviceId",
|
3685
3685
|
"output_required": true,
|
3686
3686
|
"type": "string",
|
3687
|
-
"value_allowed_null":
|
3687
|
+
"value_allowed_null": false
|
3688
3688
|
},
|
3689
3689
|
{
|
3690
3690
|
"disabled": false,
|
3691
|
-
"document": "
|
3691
|
+
"document": "设备名称",
|
3692
3692
|
"example": "dev-name",
|
3693
3693
|
"member": "string",
|
3694
3694
|
"name": "DeviceName",
|
3695
3695
|
"output_required": true,
|
3696
3696
|
"type": "string",
|
3697
|
-
"value_allowed_null":
|
3697
|
+
"value_allowed_null": false
|
3698
3698
|
},
|
3699
3699
|
{
|
3700
3700
|
"disabled": false,
|
3701
|
-
"document": "
|
3701
|
+
"document": "激活时间",
|
3702
3702
|
"example": "1676800844",
|
3703
3703
|
"member": "string",
|
3704
3704
|
"name": "ActiveTime",
|
3705
3705
|
"output_required": true,
|
3706
3706
|
"type": "string",
|
3707
|
-
"value_allowed_null":
|
3707
|
+
"value_allowed_null": false
|
3708
3708
|
},
|
3709
3709
|
{
|
3710
3710
|
"disabled": false,
|
3711
|
-
"document": "
|
3711
|
+
"document": "最后在线时间",
|
3712
3712
|
"example": "1676800844",
|
3713
3713
|
"member": "string",
|
3714
3714
|
"name": "LastOnlineTime",
|
3715
3715
|
"output_required": false,
|
3716
3716
|
"type": "string",
|
3717
|
-
"value_allowed_null":
|
3717
|
+
"value_allowed_null": false
|
3718
3718
|
},
|
3719
3719
|
{
|
3720
3720
|
"disabled": false,
|
3721
|
-
"document": "
|
3721
|
+
"document": "备注",
|
3722
3722
|
"example": "this is descript",
|
3723
3723
|
"member": "string",
|
3724
3724
|
"name": "Description",
|
3725
3725
|
"output_required": true,
|
3726
3726
|
"type": "string",
|
3727
|
-
"value_allowed_null":
|
3727
|
+
"value_allowed_null": false
|
3728
3728
|
},
|
3729
3729
|
{
|
3730
3730
|
"disabled": false,
|
3731
|
-
"document": "
|
3731
|
+
"document": "厂商备注",
|
3732
3732
|
"example": "厂商备注",
|
3733
3733
|
"member": "string",
|
3734
3734
|
"name": "VendorDescription",
|
3735
3735
|
"output_required": true,
|
3736
3736
|
"type": "string",
|
3737
|
-
"value_allowed_null":
|
3737
|
+
"value_allowed_null": false
|
3738
3738
|
},
|
3739
3739
|
{
|
3740
3740
|
"disabled": false,
|
3741
|
-
"document": "license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权\n注:后续将废弃此参数,新接入请使用LicensePayMode和Payer
|
3741
|
+
"document": "license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权\n注:后续将废弃此参数,新接入请使用LicensePayMode和Payer",
|
3742
3742
|
"example": "1",
|
3743
3743
|
"member": "int64",
|
3744
3744
|
"name": "LicenseChargingMode",
|
3745
3745
|
"output_required": true,
|
3746
3746
|
"type": "int",
|
3747
|
-
"value_allowed_null":
|
3747
|
+
"value_allowed_null": false
|
3748
3748
|
},
|
3749
3749
|
{
|
3750
3750
|
"disabled": false,
|
3751
|
-
"document": "
|
3751
|
+
"document": "创建时间",
|
3752
3752
|
"example": "1676800844",
|
3753
3753
|
"member": "string",
|
3754
3754
|
"name": "CreateTime",
|
3755
3755
|
"output_required": true,
|
3756
3756
|
"type": "string",
|
3757
|
-
"value_allowed_null":
|
3757
|
+
"value_allowed_null": false
|
3758
3758
|
},
|
3759
3759
|
{
|
3760
3760
|
"disabled": false,
|
3761
|
-
"document": "
|
3761
|
+
"document": "硬件序列号",
|
3762
3762
|
"example": "AN",
|
3763
3763
|
"member": "string",
|
3764
3764
|
"name": "SN",
|
3765
3765
|
"output_required": true,
|
3766
3766
|
"type": "string",
|
3767
|
-
"value_allowed_null":
|
3767
|
+
"value_allowed_null": false
|
3768
3768
|
},
|
3769
3769
|
{
|
3770
3770
|
"disabled": false,
|
3771
|
-
"document": "license授权有效期 \n0:月度授权 \n1
|
3771
|
+
"document": "license授权有效期 \n0:月度授权 \n1:永久授权",
|
3772
3772
|
"example": "0",
|
3773
3773
|
"member": "int64",
|
3774
3774
|
"name": "LicensePayMode",
|
3775
3775
|
"output_required": true,
|
3776
3776
|
"type": "int",
|
3777
|
-
"value_allowed_null":
|
3777
|
+
"value_allowed_null": false
|
3778
3778
|
},
|
3779
3779
|
{
|
3780
3780
|
"disabled": false,
|
3781
|
-
"document": "付费方 \n0:客户付费 \n1
|
3781
|
+
"document": "付费方 \n0:客户付费 \n1:厂商付费",
|
3782
3782
|
"example": "1",
|
3783
3783
|
"member": "int64",
|
3784
3784
|
"name": "Payer",
|
3785
3785
|
"output_required": true,
|
3786
3786
|
"type": "int",
|
3787
|
-
"value_allowed_null":
|
3787
|
+
"value_allowed_null": false
|
3788
3788
|
},
|
3789
3789
|
{
|
3790
3790
|
"disabled": false,
|
3791
|
-
"document": "设备分组ID
|
3791
|
+
"document": "设备分组ID",
|
3792
3792
|
"example": "\"group-1\"",
|
3793
3793
|
"member": "string",
|
3794
3794
|
"name": "GroupId",
|
3795
3795
|
"output_required": true,
|
3796
3796
|
"type": "string",
|
3797
|
-
"value_allowed_null":
|
3797
|
+
"value_allowed_null": false
|
3798
3798
|
},
|
3799
3799
|
{
|
3800
3800
|
"disabled": false,
|
3801
|
-
"document": "
|
3801
|
+
"document": "设备分组名称",
|
3802
3802
|
"example": "\"g-name\"",
|
3803
3803
|
"member": "string",
|
3804
3804
|
"name": "GroupName",
|
3805
3805
|
"output_required": true,
|
3806
3806
|
"type": "string",
|
3807
|
-
"value_allowed_null":
|
3807
|
+
"value_allowed_null": false
|
3808
3808
|
},
|
3809
3809
|
{
|
3810
3810
|
"disabled": false,
|
3811
|
-
"document": "设备无流量包处理方式,0: 按量付费,1: 截断加速\t
|
3811
|
+
"document": "设备无流量包处理方式,0: 按量付费,1: 截断加速\t",
|
3812
3812
|
"example": "0",
|
3813
3813
|
"member": "int64",
|
3814
3814
|
"name": "FlowTrunc",
|
3815
3815
|
"output_required": false,
|
3816
3816
|
"type": "int",
|
3817
|
-
"value_allowed_null":
|
3817
|
+
"value_allowed_null": false
|
3818
3818
|
}
|
3819
3819
|
],
|
3820
3820
|
"usage": "out"
|
@@ -3890,14 +3890,14 @@
|
|
3890
3890
|
},
|
3891
3891
|
{
|
3892
3892
|
"disabled": false,
|
3893
|
-
"document": "
|
3893
|
+
"document": "互通规则描述",
|
3894
3894
|
"example": "this is descript",
|
3895
3895
|
"member": "string",
|
3896
3896
|
"name": "Description",
|
3897
3897
|
"output_required": false,
|
3898
3898
|
"required": false,
|
3899
3899
|
"type": "string",
|
3900
|
-
"value_allowed_null":
|
3900
|
+
"value_allowed_null": false
|
3901
3901
|
}
|
3902
3902
|
],
|
3903
3903
|
"usage": "both"
|
@@ -3947,29 +3947,29 @@
|
|
3947
3947
|
"example": "1662622200",
|
3948
3948
|
"member": "string",
|
3949
3949
|
"name": "Time",
|
3950
|
-
"
|
3950
|
+
"output_required": true,
|
3951
3951
|
"type": "string",
|
3952
3952
|
"value_allowed_null": false
|
3953
3953
|
},
|
3954
3954
|
{
|
3955
3955
|
"disabled": false,
|
3956
|
-
"document": "业务指标(bps/ms
|
3956
|
+
"document": "业务指标(bps/ms/%)",
|
3957
3957
|
"example": "1.0",
|
3958
3958
|
"member": "float",
|
3959
3959
|
"name": "BusinessMetrics",
|
3960
|
-
"
|
3960
|
+
"output_required": true,
|
3961
3961
|
"type": "float",
|
3962
|
-
"value_allowed_null":
|
3962
|
+
"value_allowed_null": false
|
3963
3963
|
},
|
3964
3964
|
{
|
3965
3965
|
"disabled": false,
|
3966
|
-
"document": "
|
3966
|
+
"document": "网卡状态信息",
|
3967
3967
|
"example": "无",
|
3968
3968
|
"member": "SlotNetInfo",
|
3969
3969
|
"name": "SlotNetInfo",
|
3970
|
-
"
|
3970
|
+
"output_required": true,
|
3971
3971
|
"type": "list",
|
3972
|
-
"value_allowed_null":
|
3972
|
+
"value_allowed_null": false
|
3973
3973
|
}
|
3974
3974
|
],
|
3975
3975
|
"usage": "out"
|
@@ -4260,33 +4260,33 @@
|
|
4260
4260
|
"members": [
|
4261
4261
|
{
|
4262
4262
|
"disabled": false,
|
4263
|
-
"document": "
|
4263
|
+
"document": "网卡名",
|
4264
4264
|
"example": "\"eth0\"",
|
4265
4265
|
"member": "string",
|
4266
4266
|
"name": "NetInfoName",
|
4267
|
-
"
|
4267
|
+
"output_required": true,
|
4268
4268
|
"type": "string",
|
4269
|
-
"value_allowed_null":
|
4269
|
+
"value_allowed_null": false
|
4270
4270
|
},
|
4271
4271
|
{
|
4272
4272
|
"disabled": false,
|
4273
|
-
"document": "公网IP
|
4273
|
+
"document": "公网IP",
|
4274
4274
|
"example": "\"xxx.xxx.xx.xxx\"",
|
4275
4275
|
"member": "string",
|
4276
4276
|
"name": "PublicIP",
|
4277
|
-
"
|
4277
|
+
"output_required": true,
|
4278
4278
|
"type": "string",
|
4279
|
-
"value_allowed_null":
|
4279
|
+
"value_allowed_null": false
|
4280
4280
|
},
|
4281
4281
|
{
|
4282
4282
|
"disabled": false,
|
4283
|
-
"document": "指标数据(bps/ms
|
4283
|
+
"document": "指标数据(bps/ms/%)",
|
4284
4284
|
"example": "2.3",
|
4285
4285
|
"member": "float",
|
4286
4286
|
"name": "Current",
|
4287
|
-
"
|
4287
|
+
"output_required": true,
|
4288
4288
|
"type": "float",
|
4289
|
-
"value_allowed_null":
|
4289
|
+
"value_allowed_null": false
|
4290
4290
|
}
|
4291
4291
|
],
|
4292
4292
|
"usage": "out"
|
@@ -4702,13 +4702,13 @@
|
|
4702
4702
|
},
|
4703
4703
|
{
|
4704
4704
|
"disabled": false,
|
4705
|
-
"document": "
|
4705
|
+
"document": "激活时间",
|
4706
4706
|
"example": "1680019225",
|
4707
4707
|
"member": "string",
|
4708
4708
|
"name": "ActiveTime",
|
4709
4709
|
"output_required": false,
|
4710
4710
|
"type": "string",
|
4711
|
-
"value_allowed_null":
|
4711
|
+
"value_allowed_null": false
|
4712
4712
|
},
|
4713
4713
|
{
|
4714
4714
|
"disabled": false,
|
@@ -4742,13 +4742,13 @@
|
|
4742
4742
|
},
|
4743
4743
|
{
|
4744
4744
|
"disabled": false,
|
4745
|
-
"document": "
|
4745
|
+
"document": "最后在线时间",
|
4746
4746
|
"example": "1680019225",
|
4747
4747
|
"member": "string",
|
4748
4748
|
"name": "LastOnlineTime",
|
4749
4749
|
"output_required": false,
|
4750
4750
|
"type": "string",
|
4751
|
-
"value_allowed_null":
|
4751
|
+
"value_allowed_null": false
|
4752
4752
|
},
|
4753
4753
|
{
|
4754
4754
|
"disabled": false,
|
@@ -379,7 +379,7 @@
|
|
379
379
|
"status": "online"
|
380
380
|
},
|
381
381
|
"RecognizeGeneralCardWarn": {
|
382
|
-
"document": "支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps
|
382
|
+
"document": "支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。\n\n默认接口请求频率限制:5次/秒。",
|
383
383
|
"input": "RecognizeGeneralCardWarnRequest",
|
384
384
|
"name": "通用卡证鉴伪",
|
385
385
|
"output": "RecognizeGeneralCardWarnResponse",
|
@@ -456,7 +456,7 @@
|
|
456
456
|
"status": "online"
|
457
457
|
},
|
458
458
|
"RecognizeValidIDCardOCR": {
|
459
|
-
"document": "本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。\n\n默认接口请求频率限制:
|
459
|
+
"document": "本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。\n\n默认接口请求频率限制:5次/秒。",
|
460
460
|
"input": "RecognizeValidIDCardOCRRequest",
|
461
461
|
"name": "有效身份证件识别(鉴伪版)",
|
462
462
|
"output": "RecognizeValidIDCardOCRResponse",
|
@@ -566,7 +566,7 @@
|
|
566
566
|
{
|
567
567
|
"document": "识别身份证信息",
|
568
568
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeValidIDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg\"\n}",
|
569
|
-
"output": "{\n \"Response\": {\n \"IDCardInfo\": {\n \"Address\": {\n \"Confidence\":
|
569
|
+
"output": "{\n \"Response\": {\n \"IDCardInfo\": {\n \"Address\": {\n \"Confidence\": 90,\n \"Content\": \"广东省深圳市南山区腾讯大厦\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"Authority\": {\n \"Confidence\": 0,\n \"Content\": \"\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"Birth\": {\n \"Confidence\": 90,\n \"Content\": \"1995年5月13日\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"CardImage\": {\n \"Confidence\": 0,\n \"Content\": \"\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"IdNum\": {\n \"Confidence\": 90,\n \"Content\": \"440305199505132561\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"Name\": {\n \"Confidence\": 90,\n \"Content\": \"刘洋\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"Nation\": {\n \"Confidence\": 90,\n \"Content\": \"汉\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"PortraitImage\": {\n \"Confidence\": 0,\n \"Content\": \"\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"Sex\": {\n \"Confidence\": 90,\n \"Content\": \"女\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"ValidDate\": {\n \"Confidence\": 0,\n \"Content\": \"\",\n \"IsInComplete\": 0,\n \"IsKeyInComplete\": 0,\n \"IsKeyReflect\": 0,\n \"IsReflect\": 0\n },\n \"WarnInfos\": {\n \"BorderCheck\": 0,\n \"CopyCheck\": 0,\n \"OcclusionCheck\": 0,\n \"PSCheck\": 0,\n \"ReshootCheck\": 0\n }\n },\n \"PermanentResidencePermitInfo\": null,\n \"RequestId\": \"54729fef-cab8-4608-82fe-89376795d263\",\n \"ResidencePermitInfo\": null,\n \"TemporaryIDCardInfo\": null,\n \"Type\": \"身份证人像面\"\n }\n}",
|
570
570
|
"title": "有效身份证件识别(鉴伪版)示例"
|
571
571
|
}
|
572
572
|
],
|
@@ -3754,7 +3754,7 @@
|
|
3754
3754
|
},
|
3755
3755
|
{
|
3756
3756
|
"disabled": false,
|
3757
|
-
"document": "层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.
|
3757
|
+
"document": "层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.88Layer.EF.BC.89.E7.8A.B6.E6.80.81)",
|
3758
3758
|
"example": "Active",
|
3759
3759
|
"member": "string",
|
3760
3760
|
"name": "Status",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1271.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1271
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tccli/__init__.py,sha256=
|
1
|
+
tccli/__init__.py,sha256=xt9mzXbQftw3LamdqD_-df8rUZfsxizQxfekXvlDLNg,27
|
2
2
|
tccli/argparser.py,sha256=WtfpBhj2R6JHSzagy6w6Q4y3YVmyIC_yK80w3tqBPgU,5589
|
3
3
|
tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
|
4
4
|
tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
|
@@ -114,9 +114,9 @@ tccli/services/apigateway/apigateway_client.py,sha256=w273e4AZV1quqYb4x-6jTDV3Sz
|
|
114
114
|
tccli/services/apigateway/v20180808/api.json,sha256=GxjgBR3zoIPJ6p685JGSBLJNw2FHaWdC3d09Ab2L6mA,487590
|
115
115
|
tccli/services/apigateway/v20180808/examples.json,sha256=8ZPCaw0ipBm2yYwSmXWcYqv1HwEIue_JwgGBh3wxsco,113705
|
116
116
|
tccli/services/apm/__init__.py,sha256=pRXt2LxrW_7YhAxeZFDT8ofNxPoI0sJRnYaqyC883ws,85
|
117
|
-
tccli/services/apm/apm_client.py,sha256=
|
118
|
-
tccli/services/apm/v20210622/api.json,sha256=
|
119
|
-
tccli/services/apm/v20210622/examples.json,sha256=
|
117
|
+
tccli/services/apm/apm_client.py,sha256=Vd-raphYWUmFJ8rFU_2DxRA0cal7f-WnbT8LP46oio0,46542
|
118
|
+
tccli/services/apm/v20210622/api.json,sha256=DiSiNf9tFBqfrDwh1RfPMT6WbOEnlNmkmSN2s2XEavA,84324
|
119
|
+
tccli/services/apm/v20210622/examples.json,sha256=2ir80zRtJTXJ5O22CeF8gtZBMM9bZUaxGbVwHSi-ALY,72666
|
120
120
|
tccli/services/asr/__init__.py,sha256=p5vj9tQ7DaJB2RjtkIsaOCgWXa45w4vy6ezxvHS73wk,85
|
121
121
|
tccli/services/asr/asr_client.py,sha256=pB9mJU_EP8bSGf8KAzLpT0ah9oGV0f7Cj5KBGcFP42A,104870
|
122
122
|
tccli/services/asr/v20190614/api.json,sha256=De9okDzzQqS08YFK5MC0S-z7_TnnS1CI761fWWM8kW4,136577
|
@@ -393,7 +393,7 @@ tccli/services/dbdc/v20201029/api.json,sha256=mulLe8m8bQtPX6XRFkQ6mLIG5xSINgOdJy
|
|
393
393
|
tccli/services/dbdc/v20201029/examples.json,sha256=eGTVmgIGpwDhFAFg_Jfc93dNcqftEfGwbp57a_UC6Vw,9888
|
394
394
|
tccli/services/dc/__init__.py,sha256=F85UKFIvFDeY9lBgdBEQTz0PrnvVzHzKLZ39zzlT3CA,83
|
395
395
|
tccli/services/dc/dc_client.py,sha256=CyDtAXDHdoc8OR4TFJdNC0mWPNKUqx23vP5qz9VxMOI,74846
|
396
|
-
tccli/services/dc/v20180410/api.json,sha256=
|
396
|
+
tccli/services/dc/v20180410/api.json,sha256=yw81e8vszHmwbjSvlWHZxRzJY08BqaodrZPKLwVjvMM,119777
|
397
397
|
tccli/services/dc/v20180410/examples.json,sha256=HFPGvA7uvCAM0px9n0OvY_AlH4q0KFlXaxS-_dyR6Jw,37719
|
398
398
|
tccli/services/dcdb/__init__.py,sha256=JmO9Di2Z3t-oG_8KH0-EkhPxG3RQfozKM12oJ2CNzM4,87
|
399
399
|
tccli/services/dcdb/dcdb_client.py,sha256=CKESatIzyqv0OyuZnEjiYYs-9WCD8cKQElqM0Apl-dk,251105
|
@@ -461,8 +461,8 @@ tccli/services/eis/v20210601/api.json,sha256=g4AJCtbcKsD7SK1PNkOi3otPkTgRrzkfsBo
|
|
461
461
|
tccli/services/eis/v20210601/examples.json,sha256=0AzvsX5xN4sc7M4GKxa888M0-rOayfoPeR26AKgLXCw,5943
|
462
462
|
tccli/services/emr/__init__.py,sha256=CuCQwSW5RgNZF9gAIua1frYRqyXro0GUikyCRDqmWs8,85
|
463
463
|
tccli/services/emr/emr_client.py,sha256=hCZ0b7yp_cvSh73sZXmuSvW9L8XnkjvUiYaFCoaNCBc,241843
|
464
|
-
tccli/services/emr/v20190103/api.json,sha256=
|
465
|
-
tccli/services/emr/v20190103/examples.json,sha256=
|
464
|
+
tccli/services/emr/v20190103/api.json,sha256=69INWa6BXbIxxRyWf6berPnGfsi_T4VkEf0d8Y3jzjo,632876
|
465
|
+
tccli/services/emr/v20190103/examples.json,sha256=rL9hkH1cRpOaai5lDPdfbKNIZfVuMK9mOuQf9JDiv7c,173814
|
466
466
|
tccli/services/es/__init__.py,sha256=Tgbj2S-AFcftz26Uaksp0nrbDZShO6QOdNN89tFu9s0,83
|
467
467
|
tccli/services/es/es_client.py,sha256=0UYT2WOOIyGVP--zUVFMUzadjt_pfyhMsOoUFcwWBWE,195270
|
468
468
|
tccli/services/es/v20180416/api.json,sha256=szBcWS-Ucp7i0Fz1lSZABdF80IuswX1teXmA8RI5KzI,372375
|
@@ -695,7 +695,7 @@ tccli/services/mmps/v20200710/api.json,sha256=gmpoOM13PxyZqluU-KwwmxEiPaaj2AASdl
|
|
695
695
|
tccli/services/mmps/v20200710/examples.json,sha256=a5rwRLEhCPzA83a_ujZVzWNqRI_FSMA2fcCBCBm9YiY,12669
|
696
696
|
tccli/services/mna/__init__.py,sha256=LSVBLnv32Zluq214OI9imRQp8ffp314l-4yapy89M2w,85
|
697
697
|
tccli/services/mna/mna_client.py,sha256=Z7H4-Tdtqir48eGPBkEIbRvIXgJ9wXYw-0geLD-Z5fw,138057
|
698
|
-
tccli/services/mna/v20210119/api.json,sha256=
|
698
|
+
tccli/services/mna/v20210119/api.json,sha256=DuRD_a656-WX_cSKV81rWx7NYhiGaR0ecyVlfTbrKWg,152198
|
699
699
|
tccli/services/mna/v20210119/examples.json,sha256=bCSCWapUfgVaBRAjl5VRglUBooAT1ZeZK_lTmSBqUQE,42171
|
700
700
|
tccli/services/mongodb/__init__.py,sha256=Xj1cMJt16_OaoYzXR0TgIRPw-DADd-yJkmk3CeEpvk0,93
|
701
701
|
tccli/services/mongodb/mongodb_client.py,sha256=K0weHCAFvZ6cf8DHXPiVnaAaehj7TlllAsTh0g7sNos,180381
|
@@ -747,8 +747,8 @@ tccli/services/oceanus/v20190422/api.json,sha256=wRumyA6UoFmC1YquwEwD9StVunMf518
|
|
747
747
|
tccli/services/oceanus/v20190422/examples.json,sha256=kEx6KDab-9813o__oBdGOWRiORn7knfQQeqmnOhS2Rs,49504
|
748
748
|
tccli/services/ocr/__init__.py,sha256=1UdHN9VtB5qVwAn2FMefSi4BhMTJOjmFgYZT-zTEVBM,85
|
749
749
|
tccli/services/ocr/ocr_client.py,sha256=LGTs_JYbX3WONMyt9yJIWWP-PH8HUEPCUcGfGzX1IDQ,280184
|
750
|
-
tccli/services/ocr/v20181119/api.json,sha256=
|
751
|
-
tccli/services/ocr/v20181119/examples.json,sha256=
|
750
|
+
tccli/services/ocr/v20181119/api.json,sha256=wjt81DDN1yrCjzYU21oFHoH7qGK4X-cpiedzNqqprD8,865433
|
751
|
+
tccli/services/ocr/v20181119/examples.json,sha256=QUHp43X0KfvsmkL9QlBuzybYVROEyqkfYHve-AEn6e8,599951
|
752
752
|
tccli/services/omics/__init__.py,sha256=2Uhk7Pv4ejuVCryMqNlAdn8xPMdHO2Hr4500KAZ0W-M,89
|
753
753
|
tccli/services/omics/omics_client.py,sha256=FMdcSDblBVzrf_RsMH7SCUVr3kFj8M24Eet4gyeeu2w,67560
|
754
754
|
tccli/services/omics/v20221128/api.json,sha256=mJe0KYdxAJH3B9bx7yWZlf7A5RmPFZ5qDZELg7UZjIg,124356
|
@@ -805,7 +805,7 @@ tccli/services/rum/v20210622/api.json,sha256=V0N8Ucczbkv39qvttwUsahyIKXzYGPD_yi3
|
|
805
805
|
tccli/services/rum/v20210622/examples.json,sha256=zCc6vnL-ZSorc6I5hCvzftIFDM0L-QMxw236B_5dgtw,59694
|
806
806
|
tccli/services/scf/__init__.py,sha256=3faZHXJgI7IwnqjGNKVPOIQ6ZW08wo8kgTLRpok8ZMc,85
|
807
807
|
tccli/services/scf/scf_client.py,sha256=vVV8mjGcZtLib9AVDCWXqlpr0R2IlTar5Fyxh-Mo0-M,166515
|
808
|
-
tccli/services/scf/v20180416/api.json,sha256=
|
808
|
+
tccli/services/scf/v20180416/api.json,sha256=eSN1KSNQN1nxVuxymTdm5agRA7HgEilEGFKyJOQB1zc,266452
|
809
809
|
tccli/services/scf/v20180416/examples.json,sha256=N8AIGmy7cdTFJsLYGu2LLhoITE8NT_SLSG6WK561Ndg,45205
|
810
810
|
tccli/services/ses/__init__.py,sha256=J-SZFw3XVI3f_DzMexJURmTZUsc7i32U7hRrvlfuVns,85
|
811
811
|
tccli/services/ses/ses_client.py,sha256=yjJ3UPEvQ_2nhUDC9Kxnap2vwyhqx_PJiglrkqekZis,101813
|
@@ -1167,8 +1167,8 @@ tccli/services/yunsou/v20180504/api.json,sha256=2808fil5p3pTEJ3SqXEEq7eSrASZOiv8
|
|
1167
1167
|
tccli/services/yunsou/v20180504/examples.json,sha256=Jg4WuqS_Wxl7eTBMbzjem65FuUZQi3qq3xtlBNFZlTU,11870
|
1168
1168
|
tccli/services/yunsou/v20191115/api.json,sha256=r_p7c7fMNylQVDpSN0CkUB4Cx1nYW1lI3BM_Zi50FNs,15932
|
1169
1169
|
tccli/services/yunsou/v20191115/examples.json,sha256=vN5MzexHVPMckm4MbnXNiOe3KKiVchvf4_uLpjOskuk,3983
|
1170
|
-
tccli-3.0.
|
1171
|
-
tccli-3.0.
|
1172
|
-
tccli-3.0.
|
1173
|
-
tccli-3.0.
|
1174
|
-
tccli-3.0.
|
1170
|
+
tccli-3.0.1271.1.dist-info/METADATA,sha256=fWM2IJof1mqpGr5zfBJ-DWJoW9881RwPRtT2p_M8ckM,16408
|
1171
|
+
tccli-3.0.1271.1.dist-info/WHEEL,sha256=HyPWovjK_wfsxZqVnw7Bu5rgKxNh3Nm__lHm0ALDcb4,101
|
1172
|
+
tccli-3.0.1271.1.dist-info/entry_points.txt,sha256=9ZzsXxi7Xj3ZneT7VxRVJpFvnmdEOeysh999_0gWVvo,85
|
1173
|
+
tccli-3.0.1271.1.dist-info/license_files/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
1174
|
+
tccli-3.0.1271.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|