tccli 3.0.1227.1__py2.py3-none-any.whl → 3.0.1229.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aiart/v20221229/api.json +12 -3
- tccli/services/cam/v20190116/api.json +25 -25
- tccli/services/cam/v20190116/examples.json +8 -8
- tccli/services/cdb/v20170320/api.json +167 -9
- tccli/services/cdb/v20170320/examples.json +2 -2
- tccli/services/cfs/v20190719/api.json +19 -0
- tccli/services/ckafka/v20190819/api.json +5 -5
- tccli/services/ckafka/v20190819/examples.json +106 -112
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/cloudaudit/v20190319/api.json +15 -15
- tccli/services/cloudaudit/v20190319/examples.json +3 -3
- tccli/services/config/v20220802/api.json +70 -68
- tccli/services/config/v20220802/examples.json +6 -6
- tccli/services/cynosdb/cynosdb_client.py +228 -16
- tccli/services/cynosdb/v20190107/api.json +251 -0
- tccli/services/cynosdb/v20190107/examples.json +32 -0
- tccli/services/emr/v20190103/api.json +28 -22
- tccli/services/ess/v20201111/api.json +18 -0
- tccli/services/essbasic/v20210526/api.json +20 -1
- tccli/services/facefusion/v20181201/api.json +12 -6
- tccli/services/faceid/v20180301/api.json +1 -1
- tccli/services/hai/v20230812/api.json +6 -6
- tccli/services/hai/v20230812/examples.json +2 -2
- tccli/services/lke/lke_client.py +394 -23
- tccli/services/lke/v20231130/api.json +737 -4
- tccli/services/lke/v20231130/examples.json +62 -0
- tccli/services/mps/v20190612/api.json +1 -1
- tccli/services/mqtt/mqtt_client.py +118 -12
- tccli/services/mqtt/v20240516/api.json +312 -33
- tccli/services/mqtt/v20240516/examples.json +23 -13
- tccli/services/ocr/v20181119/api.json +11 -2
- tccli/services/ocr/v20181119/examples.json +6 -6
- tccli/services/privatedns/v20201028/api.json +41 -13
- tccli/services/pts/v20210728/api.json +22 -12
- tccli/services/redis/v20180412/api.json +14 -14
- tccli/services/scf/v20180416/api.json +12 -0
- tccli/services/ssl/v20191205/api.json +246 -173
- tccli/services/ssl/v20191205/examples.json +69 -69
- tccli/services/sts/v20180813/api.json +17 -11
- tccli/services/sts/v20180813/examples.json +6 -6
- tccli/services/tcr/v20190924/api.json +17 -17
- tccli/services/tdmq/tdmq_client.py +4 -57
- tccli/services/tdmq/v20200217/api.json +119 -200
- tccli/services/tdmq/v20200217/examples.json +29 -49
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/tmt/v20180321/examples.json +2 -2
- tccli/services/trocket/v20230308/api.json +79 -79
- tccli/services/trocket/v20230308/examples.json +8 -8
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/vclm/v20240523/api.json +25 -15
- tccli/services/vclm/v20240523/examples.json +2 -2
- tccli/services/vcube/__init__.py +4 -0
- tccli/services/vcube/v20220410/api.json +4168 -0
- tccli/services/vcube/v20220410/examples.json +277 -0
- tccli/services/vcube/vcube_client.py +1956 -0
- tccli/services/vod/v20180717/api.json +38 -1
- tccli/services/vod/v20180717/examples.json +13 -1
- tccli/services/vpc/v20170312/api.json +195 -148
- tccli/services/vpc/v20170312/examples.json +5 -5
- {tccli-3.0.1227.1.dist-info → tccli-3.0.1229.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1227.1.dist-info → tccli-3.0.1229.1.dist-info}/RECORD +66 -62
- {tccli-3.0.1227.1.dist-info → tccli-3.0.1229.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1227.1.dist-info → tccli-3.0.1229.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1227.1.dist-info → tccli-3.0.1229.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/lke/lke_client.py
CHANGED
@@ -1265,7 +1265,7 @@ def doDescribeSearchStatsGraph(args, parsed_globals):
|
|
1265
1265
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
1266
|
|
1267
1267
|
|
1268
|
-
def
|
1268
|
+
def doDeleteDocCate(args, parsed_globals):
|
1269
1269
|
g_param = parse_global_arg(parsed_globals)
|
1270
1270
|
|
1271
1271
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1294,11 +1294,11 @@ def doQueryParseDocResult(args, parsed_globals):
|
|
1294
1294
|
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
1295
1295
|
client._sdkVersion += ("_CLI_" + __version__)
|
1296
1296
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1297
|
-
model = models.
|
1297
|
+
model = models.DeleteDocCateRequest()
|
1298
1298
|
model.from_json_string(json.dumps(args))
|
1299
1299
|
start_time = time.time()
|
1300
1300
|
while True:
|
1301
|
-
rsp = client.
|
1301
|
+
rsp = client.DeleteDocCate(model)
|
1302
1302
|
result = rsp.to_json_string()
|
1303
1303
|
try:
|
1304
1304
|
json_obj = json.loads(result)
|
@@ -1369,6 +1369,58 @@ def doVerifyQA(args, parsed_globals):
|
|
1369
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
1370
|
|
1371
1371
|
|
1372
|
+
def doCreateDocCate(args, parsed_globals):
|
1373
|
+
g_param = parse_global_arg(parsed_globals)
|
1374
|
+
|
1375
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1376
|
+
cred = credential.CVMRoleCredential()
|
1377
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1378
|
+
cred = credential.STSAssumeRoleCredential(
|
1379
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1380
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1381
|
+
)
|
1382
|
+
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):
|
1383
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1384
|
+
else:
|
1385
|
+
cred = credential.Credential(
|
1386
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1387
|
+
)
|
1388
|
+
http_profile = HttpProfile(
|
1389
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1390
|
+
reqMethod="POST",
|
1391
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1392
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1393
|
+
)
|
1394
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1395
|
+
if g_param[OptionsDefine.Language]:
|
1396
|
+
profile.language = g_param[OptionsDefine.Language]
|
1397
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1398
|
+
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1400
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
+
model = models.CreateDocCateRequest()
|
1402
|
+
model.from_json_string(json.dumps(args))
|
1403
|
+
start_time = time.time()
|
1404
|
+
while True:
|
1405
|
+
rsp = client.CreateDocCate(model)
|
1406
|
+
result = rsp.to_json_string()
|
1407
|
+
try:
|
1408
|
+
json_obj = json.loads(result)
|
1409
|
+
except TypeError as e:
|
1410
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1411
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1412
|
+
break
|
1413
|
+
cur_time = time.time()
|
1414
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1415
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1416
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1417
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1418
|
+
else:
|
1419
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1420
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1421
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1422
|
+
|
1423
|
+
|
1372
1424
|
def doCheckAttributeLabelExist(args, parsed_globals):
|
1373
1425
|
g_param = parse_global_arg(parsed_globals)
|
1374
1426
|
|
@@ -1473,6 +1525,58 @@ def doDescribeDoc(args, parsed_globals):
|
|
1473
1525
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1474
1526
|
|
1475
1527
|
|
1528
|
+
def doListUsageCallDetail(args, parsed_globals):
|
1529
|
+
g_param = parse_global_arg(parsed_globals)
|
1530
|
+
|
1531
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1532
|
+
cred = credential.CVMRoleCredential()
|
1533
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1534
|
+
cred = credential.STSAssumeRoleCredential(
|
1535
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1536
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1537
|
+
)
|
1538
|
+
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):
|
1539
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1540
|
+
else:
|
1541
|
+
cred = credential.Credential(
|
1542
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1543
|
+
)
|
1544
|
+
http_profile = HttpProfile(
|
1545
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1546
|
+
reqMethod="POST",
|
1547
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1548
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1549
|
+
)
|
1550
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1551
|
+
if g_param[OptionsDefine.Language]:
|
1552
|
+
profile.language = g_param[OptionsDefine.Language]
|
1553
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1554
|
+
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
1555
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1556
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1557
|
+
model = models.ListUsageCallDetailRequest()
|
1558
|
+
model.from_json_string(json.dumps(args))
|
1559
|
+
start_time = time.time()
|
1560
|
+
while True:
|
1561
|
+
rsp = client.ListUsageCallDetail(model)
|
1562
|
+
result = rsp.to_json_string()
|
1563
|
+
try:
|
1564
|
+
json_obj = json.loads(result)
|
1565
|
+
except TypeError as e:
|
1566
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1567
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1568
|
+
break
|
1569
|
+
cur_time = time.time()
|
1570
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1571
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1572
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1573
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1574
|
+
else:
|
1575
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1576
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1577
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1578
|
+
|
1579
|
+
|
1476
1580
|
def doDescribeStorageCredential(args, parsed_globals):
|
1477
1581
|
g_param = parse_global_arg(parsed_globals)
|
1478
1582
|
|
@@ -1889,6 +1993,58 @@ def doDescribeUnsatisfiedReplyContext(args, parsed_globals):
|
|
1889
1993
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
1994
|
|
1891
1995
|
|
1996
|
+
def doGroupDoc(args, parsed_globals):
|
1997
|
+
g_param = parse_global_arg(parsed_globals)
|
1998
|
+
|
1999
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2000
|
+
cred = credential.CVMRoleCredential()
|
2001
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2002
|
+
cred = credential.STSAssumeRoleCredential(
|
2003
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2004
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2005
|
+
)
|
2006
|
+
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):
|
2007
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2008
|
+
else:
|
2009
|
+
cred = credential.Credential(
|
2010
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2011
|
+
)
|
2012
|
+
http_profile = HttpProfile(
|
2013
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2014
|
+
reqMethod="POST",
|
2015
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2016
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2017
|
+
)
|
2018
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2019
|
+
if g_param[OptionsDefine.Language]:
|
2020
|
+
profile.language = g_param[OptionsDefine.Language]
|
2021
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2022
|
+
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
2023
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2024
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2025
|
+
model = models.GroupDocRequest()
|
2026
|
+
model.from_json_string(json.dumps(args))
|
2027
|
+
start_time = time.time()
|
2028
|
+
while True:
|
2029
|
+
rsp = client.GroupDoc(model)
|
2030
|
+
result = rsp.to_json_string()
|
2031
|
+
try:
|
2032
|
+
json_obj = json.loads(result)
|
2033
|
+
except TypeError as e:
|
2034
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2035
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2036
|
+
break
|
2037
|
+
cur_time = time.time()
|
2038
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2039
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2040
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2041
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2042
|
+
else:
|
2043
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2044
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2045
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2046
|
+
|
2047
|
+
|
1892
2048
|
def doListApp(args, parsed_globals):
|
1893
2049
|
g_param = parse_global_arg(parsed_globals)
|
1894
2050
|
|
@@ -1993,6 +2149,58 @@ def doDescribeTokenUsage(args, parsed_globals):
|
|
1993
2149
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1994
2150
|
|
1995
2151
|
|
2152
|
+
def doQueryParseDocResult(args, parsed_globals):
|
2153
|
+
g_param = parse_global_arg(parsed_globals)
|
2154
|
+
|
2155
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2156
|
+
cred = credential.CVMRoleCredential()
|
2157
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2158
|
+
cred = credential.STSAssumeRoleCredential(
|
2159
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2160
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2161
|
+
)
|
2162
|
+
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):
|
2163
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2164
|
+
else:
|
2165
|
+
cred = credential.Credential(
|
2166
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2167
|
+
)
|
2168
|
+
http_profile = HttpProfile(
|
2169
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2170
|
+
reqMethod="POST",
|
2171
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2172
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2173
|
+
)
|
2174
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2175
|
+
if g_param[OptionsDefine.Language]:
|
2176
|
+
profile.language = g_param[OptionsDefine.Language]
|
2177
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2178
|
+
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
2179
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2180
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2181
|
+
model = models.QueryParseDocResultRequest()
|
2182
|
+
model.from_json_string(json.dumps(args))
|
2183
|
+
start_time = time.time()
|
2184
|
+
while True:
|
2185
|
+
rsp = client.QueryParseDocResult(model)
|
2186
|
+
result = rsp.to_json_string()
|
2187
|
+
try:
|
2188
|
+
json_obj = json.loads(result)
|
2189
|
+
except TypeError as e:
|
2190
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2191
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2192
|
+
break
|
2193
|
+
cur_time = time.time()
|
2194
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2195
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2196
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2197
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2198
|
+
else:
|
2199
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2200
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2201
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2202
|
+
|
2203
|
+
|
1996
2204
|
def doListQACate(args, parsed_globals):
|
1997
2205
|
g_param = parse_global_arg(parsed_globals)
|
1998
2206
|
|
@@ -2461,7 +2669,7 @@ def doDescribeKnowledgeUsage(args, parsed_globals):
|
|
2461
2669
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2462
2670
|
|
2463
2671
|
|
2464
|
-
def
|
2672
|
+
def doDescribeRobotBizIDByAppKey(args, parsed_globals):
|
2465
2673
|
g_param = parse_global_arg(parsed_globals)
|
2466
2674
|
|
2467
2675
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2490,11 +2698,11 @@ def doResetSession(args, parsed_globals):
|
|
2490
2698
|
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
2491
2699
|
client._sdkVersion += ("_CLI_" + __version__)
|
2492
2700
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2493
|
-
model = models.
|
2701
|
+
model = models.DescribeRobotBizIDByAppKeyRequest()
|
2494
2702
|
model.from_json_string(json.dumps(args))
|
2495
2703
|
start_time = time.time()
|
2496
2704
|
while True:
|
2497
|
-
rsp = client.
|
2705
|
+
rsp = client.DescribeRobotBizIDByAppKey(model)
|
2498
2706
|
result = rsp.to_json_string()
|
2499
2707
|
try:
|
2500
2708
|
json_obj = json.loads(result)
|
@@ -2669,7 +2877,7 @@ def doGetLikeDataCount(args, parsed_globals):
|
|
2669
2877
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2670
2878
|
|
2671
2879
|
|
2672
|
-
def
|
2880
|
+
def doModifyDocCate(args, parsed_globals):
|
2673
2881
|
g_param = parse_global_arg(parsed_globals)
|
2674
2882
|
|
2675
2883
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2698,11 +2906,11 @@ def doDescribeRobotBizIDByAppKey(args, parsed_globals):
|
|
2698
2906
|
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
2699
2907
|
client._sdkVersion += ("_CLI_" + __version__)
|
2700
2908
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2701
|
-
model = models.
|
2909
|
+
model = models.ModifyDocCateRequest()
|
2702
2910
|
model.from_json_string(json.dumps(args))
|
2703
2911
|
start_time = time.time()
|
2704
2912
|
while True:
|
2705
|
-
rsp = client.
|
2913
|
+
rsp = client.ModifyDocCate(model)
|
2706
2914
|
result = rsp.to_json_string()
|
2707
2915
|
try:
|
2708
2916
|
json_obj = json.loads(result)
|
@@ -2773,6 +2981,58 @@ def doExportQAList(args, parsed_globals):
|
|
2773
2981
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2774
2982
|
|
2775
2983
|
|
2984
|
+
def doIgnoreUnsatisfiedReply(args, parsed_globals):
|
2985
|
+
g_param = parse_global_arg(parsed_globals)
|
2986
|
+
|
2987
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2988
|
+
cred = credential.CVMRoleCredential()
|
2989
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2990
|
+
cred = credential.STSAssumeRoleCredential(
|
2991
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2992
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2993
|
+
)
|
2994
|
+
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):
|
2995
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2996
|
+
else:
|
2997
|
+
cred = credential.Credential(
|
2998
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2999
|
+
)
|
3000
|
+
http_profile = HttpProfile(
|
3001
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3002
|
+
reqMethod="POST",
|
3003
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3004
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3005
|
+
)
|
3006
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3007
|
+
if g_param[OptionsDefine.Language]:
|
3008
|
+
profile.language = g_param[OptionsDefine.Language]
|
3009
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3010
|
+
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
3011
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3012
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3013
|
+
model = models.IgnoreUnsatisfiedReplyRequest()
|
3014
|
+
model.from_json_string(json.dumps(args))
|
3015
|
+
start_time = time.time()
|
3016
|
+
while True:
|
3017
|
+
rsp = client.IgnoreUnsatisfiedReply(model)
|
3018
|
+
result = rsp.to_json_string()
|
3019
|
+
try:
|
3020
|
+
json_obj = json.loads(result)
|
3021
|
+
except TypeError as e:
|
3022
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3023
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3024
|
+
break
|
3025
|
+
cur_time = time.time()
|
3026
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3027
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3028
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3029
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3030
|
+
else:
|
3031
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3032
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3033
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3034
|
+
|
3035
|
+
|
2776
3036
|
def doCreateReconstructDocumentFlow(args, parsed_globals):
|
2777
3037
|
g_param = parse_global_arg(parsed_globals)
|
2778
3038
|
|
@@ -3137,7 +3397,7 @@ def doIsTransferIntent(args, parsed_globals):
|
|
3137
3397
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3138
3398
|
|
3139
3399
|
|
3140
|
-
def
|
3400
|
+
def doDescribeReleaseInfo(args, parsed_globals):
|
3141
3401
|
g_param = parse_global_arg(parsed_globals)
|
3142
3402
|
|
3143
3403
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3166,11 +3426,11 @@ def doIgnoreUnsatisfiedReply(args, parsed_globals):
|
|
3166
3426
|
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
3167
3427
|
client._sdkVersion += ("_CLI_" + __version__)
|
3168
3428
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3169
|
-
model = models.
|
3429
|
+
model = models.DescribeReleaseInfoRequest()
|
3170
3430
|
model.from_json_string(json.dumps(args))
|
3171
3431
|
start_time = time.time()
|
3172
3432
|
while True:
|
3173
|
-
rsp = client.
|
3433
|
+
rsp = client.DescribeReleaseInfo(model)
|
3174
3434
|
result = rsp.to_json_string()
|
3175
3435
|
try:
|
3176
3436
|
json_obj = json.loads(result)
|
@@ -3761,6 +4021,58 @@ def doQueryRewrite(args, parsed_globals):
|
|
3761
4021
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3762
4022
|
|
3763
4023
|
|
4024
|
+
def doListDocCate(args, parsed_globals):
|
4025
|
+
g_param = parse_global_arg(parsed_globals)
|
4026
|
+
|
4027
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4028
|
+
cred = credential.CVMRoleCredential()
|
4029
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4030
|
+
cred = credential.STSAssumeRoleCredential(
|
4031
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4032
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4033
|
+
)
|
4034
|
+
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):
|
4035
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4036
|
+
else:
|
4037
|
+
cred = credential.Credential(
|
4038
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4039
|
+
)
|
4040
|
+
http_profile = HttpProfile(
|
4041
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4042
|
+
reqMethod="POST",
|
4043
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4044
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4045
|
+
)
|
4046
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4047
|
+
if g_param[OptionsDefine.Language]:
|
4048
|
+
profile.language = g_param[OptionsDefine.Language]
|
4049
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4050
|
+
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
4051
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4052
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4053
|
+
model = models.ListDocCateRequest()
|
4054
|
+
model.from_json_string(json.dumps(args))
|
4055
|
+
start_time = time.time()
|
4056
|
+
while True:
|
4057
|
+
rsp = client.ListDocCate(model)
|
4058
|
+
result = rsp.to_json_string()
|
4059
|
+
try:
|
4060
|
+
json_obj = json.loads(result)
|
4061
|
+
except TypeError as e:
|
4062
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4063
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4064
|
+
break
|
4065
|
+
cur_time = time.time()
|
4066
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4067
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4068
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4069
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4070
|
+
else:
|
4071
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4072
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4073
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4074
|
+
|
4075
|
+
|
3764
4076
|
def doModifyApp(args, parsed_globals):
|
3765
4077
|
g_param = parse_global_arg(parsed_globals)
|
3766
4078
|
|
@@ -4645,7 +4957,7 @@ def doReconstructDocument(args, parsed_globals):
|
|
4645
4957
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4646
4958
|
|
4647
4959
|
|
4648
|
-
def
|
4960
|
+
def doResetSession(args, parsed_globals):
|
4649
4961
|
g_param = parse_global_arg(parsed_globals)
|
4650
4962
|
|
4651
4963
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4674,11 +4986,11 @@ def doStopDocParse(args, parsed_globals):
|
|
4674
4986
|
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
4675
4987
|
client._sdkVersion += ("_CLI_" + __version__)
|
4676
4988
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4677
|
-
model = models.
|
4989
|
+
model = models.ResetSessionRequest()
|
4678
4990
|
model.from_json_string(json.dumps(args))
|
4679
4991
|
start_time = time.time()
|
4680
4992
|
while True:
|
4681
|
-
rsp = client.
|
4993
|
+
rsp = client.ResetSession(model)
|
4682
4994
|
result = rsp.to_json_string()
|
4683
4995
|
try:
|
4684
4996
|
json_obj = json.loads(result)
|
@@ -4697,7 +5009,7 @@ def doStopDocParse(args, parsed_globals):
|
|
4697
5009
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4698
5010
|
|
4699
5011
|
|
4700
|
-
def
|
5012
|
+
def doListAppKnowledgeDetail(args, parsed_globals):
|
4701
5013
|
g_param = parse_global_arg(parsed_globals)
|
4702
5014
|
|
4703
5015
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4726,11 +5038,63 @@ def doDescribeReleaseInfo(args, parsed_globals):
|
|
4726
5038
|
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
4727
5039
|
client._sdkVersion += ("_CLI_" + __version__)
|
4728
5040
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4729
|
-
model = models.
|
5041
|
+
model = models.ListAppKnowledgeDetailRequest()
|
4730
5042
|
model.from_json_string(json.dumps(args))
|
4731
5043
|
start_time = time.time()
|
4732
5044
|
while True:
|
4733
|
-
rsp = client.
|
5045
|
+
rsp = client.ListAppKnowledgeDetail(model)
|
5046
|
+
result = rsp.to_json_string()
|
5047
|
+
try:
|
5048
|
+
json_obj = json.loads(result)
|
5049
|
+
except TypeError as e:
|
5050
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5051
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5052
|
+
break
|
5053
|
+
cur_time = time.time()
|
5054
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5055
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5056
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5057
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5058
|
+
else:
|
5059
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5060
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5061
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5062
|
+
|
5063
|
+
|
5064
|
+
def doStopDocParse(args, parsed_globals):
|
5065
|
+
g_param = parse_global_arg(parsed_globals)
|
5066
|
+
|
5067
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5068
|
+
cred = credential.CVMRoleCredential()
|
5069
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5070
|
+
cred = credential.STSAssumeRoleCredential(
|
5071
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5072
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5073
|
+
)
|
5074
|
+
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):
|
5075
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5076
|
+
else:
|
5077
|
+
cred = credential.Credential(
|
5078
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5079
|
+
)
|
5080
|
+
http_profile = HttpProfile(
|
5081
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5082
|
+
reqMethod="POST",
|
5083
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5084
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5085
|
+
)
|
5086
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5087
|
+
if g_param[OptionsDefine.Language]:
|
5088
|
+
profile.language = g_param[OptionsDefine.Language]
|
5089
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5090
|
+
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
5091
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5092
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5093
|
+
model = models.StopDocParseRequest()
|
5094
|
+
model.from_json_string(json.dumps(args))
|
5095
|
+
start_time = time.time()
|
5096
|
+
while True:
|
5097
|
+
rsp = client.StopDocParse(model)
|
4734
5098
|
result = rsp.to_json_string()
|
4735
5099
|
try:
|
4736
5100
|
json_obj = json.loads(result)
|
@@ -4784,10 +5148,12 @@ ACTION_MAP = {
|
|
4784
5148
|
"ListAttributeLabel": doListAttributeLabel,
|
4785
5149
|
"ListReleaseConfigPreview": doListReleaseConfigPreview,
|
4786
5150
|
"DescribeSearchStatsGraph": doDescribeSearchStatsGraph,
|
4787
|
-
"
|
5151
|
+
"DeleteDocCate": doDeleteDocCate,
|
4788
5152
|
"VerifyQA": doVerifyQA,
|
5153
|
+
"CreateDocCate": doCreateDocCate,
|
4789
5154
|
"CheckAttributeLabelExist": doCheckAttributeLabelExist,
|
4790
5155
|
"DescribeDoc": doDescribeDoc,
|
5156
|
+
"ListUsageCallDetail": doListUsageCallDetail,
|
4791
5157
|
"DescribeStorageCredential": doDescribeStorageCredential,
|
4792
5158
|
"RateMsgRecord": doRateMsgRecord,
|
4793
5159
|
"ListReleaseQAPreview": doListReleaseQAPreview,
|
@@ -4796,8 +5162,10 @@ ACTION_MAP = {
|
|
4796
5162
|
"CheckAttributeLabelRefer": doCheckAttributeLabelRefer,
|
4797
5163
|
"DescribeCorp": doDescribeCorp,
|
4798
5164
|
"DescribeUnsatisfiedReplyContext": doDescribeUnsatisfiedReplyContext,
|
5165
|
+
"GroupDoc": doGroupDoc,
|
4799
5166
|
"ListApp": doListApp,
|
4800
5167
|
"DescribeTokenUsage": doDescribeTokenUsage,
|
5168
|
+
"QueryParseDocResult": doQueryParseDocResult,
|
4801
5169
|
"ListQACate": doListQACate,
|
4802
5170
|
"ListAppCategory": doListAppCategory,
|
4803
5171
|
"DescribeQA": doDescribeQA,
|
@@ -4807,12 +5175,13 @@ ACTION_MAP = {
|
|
4807
5175
|
"ExportAttributeLabel": doExportAttributeLabel,
|
4808
5176
|
"DescribeRefer": doDescribeRefer,
|
4809
5177
|
"DescribeKnowledgeUsage": doDescribeKnowledgeUsage,
|
4810
|
-
"
|
5178
|
+
"DescribeRobotBizIDByAppKey": doDescribeRobotBizIDByAppKey,
|
4811
5179
|
"ListDoc": doListDoc,
|
4812
5180
|
"ListQA": doListQA,
|
4813
5181
|
"GetLikeDataCount": doGetLikeDataCount,
|
4814
|
-
"
|
5182
|
+
"ModifyDocCate": doModifyDocCate,
|
4815
5183
|
"ExportQAList": doExportQAList,
|
5184
|
+
"IgnoreUnsatisfiedReply": doIgnoreUnsatisfiedReply,
|
4816
5185
|
"CreateReconstructDocumentFlow": doCreateReconstructDocumentFlow,
|
4817
5186
|
"UploadAttributeLabel": doUploadAttributeLabel,
|
4818
5187
|
"GetDocPreview": doGetDocPreview,
|
@@ -4820,7 +5189,7 @@ ACTION_MAP = {
|
|
4820
5189
|
"ModifyRejectedQuestion": doModifyRejectedQuestion,
|
4821
5190
|
"ParseDoc": doParseDoc,
|
4822
5191
|
"IsTransferIntent": doIsTransferIntent,
|
4823
|
-
"
|
5192
|
+
"DescribeReleaseInfo": doDescribeReleaseInfo,
|
4824
5193
|
"ListRelease": doListRelease,
|
4825
5194
|
"ListModel": doListModel,
|
4826
5195
|
"ListRejectedQuestion": doListRejectedQuestion,
|
@@ -4832,6 +5201,7 @@ ACTION_MAP = {
|
|
4832
5201
|
"CreateRejectedQuestion": doCreateRejectedQuestion,
|
4833
5202
|
"DeleteRejectedQuestion": doDeleteRejectedQuestion,
|
4834
5203
|
"QueryRewrite": doQueryRewrite,
|
5204
|
+
"ListDocCate": doListDocCate,
|
4835
5205
|
"ModifyApp": doModifyApp,
|
4836
5206
|
"GetEmbedding": doGetEmbedding,
|
4837
5207
|
"GetAppSecret": doGetAppSecret,
|
@@ -4849,8 +5219,9 @@ ACTION_MAP = {
|
|
4849
5219
|
"DescribeSegments": doDescribeSegments,
|
4850
5220
|
"GetTaskStatus": doGetTaskStatus,
|
4851
5221
|
"ReconstructDocument": doReconstructDocument,
|
5222
|
+
"ResetSession": doResetSession,
|
5223
|
+
"ListAppKnowledgeDetail": doListAppKnowledgeDetail,
|
4852
5224
|
"StopDocParse": doStopDocParse,
|
4853
|
-
"DescribeReleaseInfo": doDescribeReleaseInfo,
|
4854
5225
|
|
4855
5226
|
}
|
4856
5227
|
|