tccli 3.0.1296.2__py2.py3-none-any.whl → 3.0.1297.2__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/antiddos/v20200309/api.json +2 -2
- tccli/services/batch/v20170312/api.json +9 -8
- tccli/services/ccc/ccc_client.py +230 -18
- tccli/services/ccc/v20200210/api.json +363 -0
- tccli/services/ccc/v20200210/examples.json +32 -0
- tccli/services/cme/v20191029/examples.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +97 -77
- tccli/services/dnspod/v20210323/api.json +105 -88
- tccli/services/dnspod/v20210323/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +44 -0
- tccli/services/gs/v20191118/examples.json +8 -0
- tccli/services/iotcloud/v20210408/api.json +11 -15
- tccli/services/iss/iss_client.py +411 -305
- tccli/services/iss/v20230517/api.json +236 -0
- tccli/services/iss/v20230517/examples.json +16 -0
- tccli/services/lighthouse/v20200324/api.json +3 -3
- tccli/services/lke/v20231130/api.json +34 -1
- tccli/services/rce/v20201103/api.json +0 -9
- tccli/services/rce/v20201103/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +6 -6
- tccli/services/tione/tione_client.py +220 -8
- tccli/services/tione/v20211111/api.json +359 -0
- tccli/services/tione/v20211111/examples.json +32 -0
- tccli/services/trtc/v20190722/api.json +10 -1
- tccli/services/vod/v20180717/api.json +4 -4
- tccli/services/vod/v20180717/examples.json +4 -4
- {tccli-3.0.1296.2.dist-info → tccli-3.0.1297.2.dist-info}/METADATA +2 -2
- {tccli-3.0.1296.2.dist-info → tccli-3.0.1297.2.dist-info}/RECORD +34 -34
- {tccli-3.0.1296.2.dist-info → tccli-3.0.1297.2.dist-info}/WHEEL +0 -0
- {tccli-3.0.1296.2.dist-info → tccli-3.0.1297.2.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1296.2.dist-info → tccli-3.0.1297.2.dist-info}/license_files/LICENSE +0 -0
@@ -747,6 +747,58 @@ def doDescribeNotebooks(args, parsed_globals):
|
|
747
747
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
748
748
|
|
749
749
|
|
750
|
+
def doCreateTrainingTask(args, parsed_globals):
|
751
|
+
g_param = parse_global_arg(parsed_globals)
|
752
|
+
|
753
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
754
|
+
cred = credential.CVMRoleCredential()
|
755
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
756
|
+
cred = credential.STSAssumeRoleCredential(
|
757
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
758
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
759
|
+
)
|
760
|
+
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):
|
761
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
762
|
+
else:
|
763
|
+
cred = credential.Credential(
|
764
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
765
|
+
)
|
766
|
+
http_profile = HttpProfile(
|
767
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
768
|
+
reqMethod="POST",
|
769
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
770
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
771
|
+
)
|
772
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
773
|
+
if g_param[OptionsDefine.Language]:
|
774
|
+
profile.language = g_param[OptionsDefine.Language]
|
775
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
776
|
+
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
777
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
778
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
779
|
+
model = models.CreateTrainingTaskRequest()
|
780
|
+
model.from_json_string(json.dumps(args))
|
781
|
+
start_time = time.time()
|
782
|
+
while True:
|
783
|
+
rsp = client.CreateTrainingTask(model)
|
784
|
+
result = rsp.to_json_string()
|
785
|
+
try:
|
786
|
+
json_obj = json.loads(result)
|
787
|
+
except TypeError as e:
|
788
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
789
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
790
|
+
break
|
791
|
+
cur_time = time.time()
|
792
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
793
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
794
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
795
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
796
|
+
else:
|
797
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
798
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
799
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
800
|
+
|
801
|
+
|
750
802
|
def doStartNotebookInstance(args, parsed_globals):
|
751
803
|
g_param = parse_global_arg(parsed_globals)
|
752
804
|
|
@@ -1111,7 +1163,7 @@ def doChatCompletion(args, parsed_globals):
|
|
1111
1163
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1112
1164
|
|
1113
1165
|
|
1114
|
-
def
|
1166
|
+
def doDeleteTrainingModel(args, parsed_globals):
|
1115
1167
|
g_param = parse_global_arg(parsed_globals)
|
1116
1168
|
|
1117
1169
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1140,11 +1192,11 @@ def doDescribeModelAccelerateVersions(args, parsed_globals):
|
|
1140
1192
|
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
1141
1193
|
client._sdkVersion += ("_CLI_" + __version__)
|
1142
1194
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1143
|
-
model = models.
|
1195
|
+
model = models.DeleteTrainingModelRequest()
|
1144
1196
|
model.from_json_string(json.dumps(args))
|
1145
1197
|
start_time = time.time()
|
1146
1198
|
while True:
|
1147
|
-
rsp = client.
|
1199
|
+
rsp = client.DeleteTrainingModel(model)
|
1148
1200
|
result = rsp.to_json_string()
|
1149
1201
|
try:
|
1150
1202
|
json_obj = json.loads(result)
|
@@ -1267,6 +1319,58 @@ def doCreateNotebook(args, parsed_globals):
|
|
1267
1319
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1268
1320
|
|
1269
1321
|
|
1322
|
+
def doStartTrainingTask(args, parsed_globals):
|
1323
|
+
g_param = parse_global_arg(parsed_globals)
|
1324
|
+
|
1325
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1326
|
+
cred = credential.CVMRoleCredential()
|
1327
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1328
|
+
cred = credential.STSAssumeRoleCredential(
|
1329
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1330
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1331
|
+
)
|
1332
|
+
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):
|
1333
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1334
|
+
else:
|
1335
|
+
cred = credential.Credential(
|
1336
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1337
|
+
)
|
1338
|
+
http_profile = HttpProfile(
|
1339
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1340
|
+
reqMethod="POST",
|
1341
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1342
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1343
|
+
)
|
1344
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1345
|
+
if g_param[OptionsDefine.Language]:
|
1346
|
+
profile.language = g_param[OptionsDefine.Language]
|
1347
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1348
|
+
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
1349
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1350
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1351
|
+
model = models.StartTrainingTaskRequest()
|
1352
|
+
model.from_json_string(json.dumps(args))
|
1353
|
+
start_time = time.time()
|
1354
|
+
while True:
|
1355
|
+
rsp = client.StartTrainingTask(model)
|
1356
|
+
result = rsp.to_json_string()
|
1357
|
+
try:
|
1358
|
+
json_obj = json.loads(result)
|
1359
|
+
except TypeError as e:
|
1360
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1361
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1362
|
+
break
|
1363
|
+
cur_time = time.time()
|
1364
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1365
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1366
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1367
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1368
|
+
else:
|
1369
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1370
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1371
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1372
|
+
|
1373
|
+
|
1270
1374
|
def doDescribeModelServiceGroup(args, parsed_globals):
|
1271
1375
|
g_param = parse_global_arg(parsed_globals)
|
1272
1376
|
|
@@ -1527,6 +1631,58 @@ def doPushTrainingMetrics(args, parsed_globals):
|
|
1527
1631
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1528
1632
|
|
1529
1633
|
|
1634
|
+
def doStopTrainingTask(args, parsed_globals):
|
1635
|
+
g_param = parse_global_arg(parsed_globals)
|
1636
|
+
|
1637
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1638
|
+
cred = credential.CVMRoleCredential()
|
1639
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1640
|
+
cred = credential.STSAssumeRoleCredential(
|
1641
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1642
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1643
|
+
)
|
1644
|
+
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):
|
1645
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1646
|
+
else:
|
1647
|
+
cred = credential.Credential(
|
1648
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1649
|
+
)
|
1650
|
+
http_profile = HttpProfile(
|
1651
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1652
|
+
reqMethod="POST",
|
1653
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1654
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1655
|
+
)
|
1656
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1657
|
+
if g_param[OptionsDefine.Language]:
|
1658
|
+
profile.language = g_param[OptionsDefine.Language]
|
1659
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1660
|
+
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
1661
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1662
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1663
|
+
model = models.StopTrainingTaskRequest()
|
1664
|
+
model.from_json_string(json.dumps(args))
|
1665
|
+
start_time = time.time()
|
1666
|
+
while True:
|
1667
|
+
rsp = client.StopTrainingTask(model)
|
1668
|
+
result = rsp.to_json_string()
|
1669
|
+
try:
|
1670
|
+
json_obj = json.loads(result)
|
1671
|
+
except TypeError as e:
|
1672
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1673
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1674
|
+
break
|
1675
|
+
cur_time = time.time()
|
1676
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1677
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1678
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1679
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1680
|
+
else:
|
1681
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1682
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1683
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1684
|
+
|
1685
|
+
|
1530
1686
|
def doDescribeTrainingModelVersions(args, parsed_globals):
|
1531
1687
|
g_param = parse_global_arg(parsed_globals)
|
1532
1688
|
|
@@ -2203,7 +2359,7 @@ def doDescribeNotebookInstances(args, parsed_globals):
|
|
2203
2359
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2204
2360
|
|
2205
2361
|
|
2206
|
-
def
|
2362
|
+
def doDeleteTrainingTask(args, parsed_globals):
|
2207
2363
|
g_param = parse_global_arg(parsed_globals)
|
2208
2364
|
|
2209
2365
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2232,11 +2388,63 @@ def doDeleteTrainingModel(args, parsed_globals):
|
|
2232
2388
|
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
2233
2389
|
client._sdkVersion += ("_CLI_" + __version__)
|
2234
2390
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2235
|
-
model = models.
|
2391
|
+
model = models.DeleteTrainingTaskRequest()
|
2236
2392
|
model.from_json_string(json.dumps(args))
|
2237
2393
|
start_time = time.time()
|
2238
2394
|
while True:
|
2239
|
-
rsp = client.
|
2395
|
+
rsp = client.DeleteTrainingTask(model)
|
2396
|
+
result = rsp.to_json_string()
|
2397
|
+
try:
|
2398
|
+
json_obj = json.loads(result)
|
2399
|
+
except TypeError as e:
|
2400
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2401
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2402
|
+
break
|
2403
|
+
cur_time = time.time()
|
2404
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2405
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2406
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2407
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2408
|
+
else:
|
2409
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2410
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2411
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2412
|
+
|
2413
|
+
|
2414
|
+
def doDescribeModelAccelerateVersions(args, parsed_globals):
|
2415
|
+
g_param = parse_global_arg(parsed_globals)
|
2416
|
+
|
2417
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2418
|
+
cred = credential.CVMRoleCredential()
|
2419
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2420
|
+
cred = credential.STSAssumeRoleCredential(
|
2421
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2422
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2423
|
+
)
|
2424
|
+
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):
|
2425
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2426
|
+
else:
|
2427
|
+
cred = credential.Credential(
|
2428
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2429
|
+
)
|
2430
|
+
http_profile = HttpProfile(
|
2431
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2432
|
+
reqMethod="POST",
|
2433
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2434
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2435
|
+
)
|
2436
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2437
|
+
if g_param[OptionsDefine.Language]:
|
2438
|
+
profile.language = g_param[OptionsDefine.Language]
|
2439
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2440
|
+
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
2441
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2442
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2443
|
+
model = models.DescribeModelAccelerateVersionsRequest()
|
2444
|
+
model.from_json_string(json.dumps(args))
|
2445
|
+
start_time = time.time()
|
2446
|
+
while True:
|
2447
|
+
rsp = client.DescribeModelAccelerateVersions(model)
|
2240
2448
|
result = rsp.to_json_string()
|
2241
2449
|
try:
|
2242
2450
|
json_obj = json.loads(result)
|
@@ -3218,6 +3426,7 @@ ACTION_MAP = {
|
|
3218
3426
|
"StopTrainingJob": doStopTrainingJob,
|
3219
3427
|
"StartNotebook": doStartNotebook,
|
3220
3428
|
"DescribeNotebooks": doDescribeNotebooks,
|
3429
|
+
"CreateTrainingTask": doCreateTrainingTask,
|
3221
3430
|
"StartNotebookInstance": doStartNotebookInstance,
|
3222
3431
|
"DeleteNotebook": doDeleteNotebook,
|
3223
3432
|
"DeleteNotebookInstance": doDeleteNotebookInstance,
|
@@ -3225,14 +3434,16 @@ ACTION_MAP = {
|
|
3225
3434
|
"DescribeModelServiceHotUpdated": doDescribeModelServiceHotUpdated,
|
3226
3435
|
"DescribeModelAccelerateTask": doDescribeModelAccelerateTask,
|
3227
3436
|
"ChatCompletion": doChatCompletion,
|
3228
|
-
"
|
3437
|
+
"DeleteTrainingModel": doDeleteTrainingModel,
|
3229
3438
|
"CreateDataset": doCreateDataset,
|
3230
3439
|
"CreateNotebook": doCreateNotebook,
|
3440
|
+
"StartTrainingTask": doStartTrainingTask,
|
3231
3441
|
"DescribeModelServiceGroup": doDescribeModelServiceGroup,
|
3232
3442
|
"CreatePresignedNotebookInstanceUrl": doCreatePresignedNotebookInstanceUrl,
|
3233
3443
|
"DeleteModelServiceGroup": doDeleteModelServiceGroup,
|
3234
3444
|
"DescribeNotebookLifecycleScript": doDescribeNotebookLifecycleScript,
|
3235
3445
|
"PushTrainingMetrics": doPushTrainingMetrics,
|
3446
|
+
"StopTrainingTask": doStopTrainingTask,
|
3236
3447
|
"DescribeTrainingModelVersions": doDescribeTrainingModelVersions,
|
3237
3448
|
"CreateNotebookLifecycleScript": doCreateNotebookLifecycleScript,
|
3238
3449
|
"CreateCodeRepository": doCreateCodeRepository,
|
@@ -3246,7 +3457,8 @@ ACTION_MAP = {
|
|
3246
3457
|
"ModifyModelService": doModifyModelService,
|
3247
3458
|
"DescribeTrainingTask": doDescribeTrainingTask,
|
3248
3459
|
"DescribeNotebookInstances": doDescribeNotebookInstances,
|
3249
|
-
"
|
3460
|
+
"DeleteTrainingTask": doDeleteTrainingTask,
|
3461
|
+
"DescribeModelAccelerateVersions": doDescribeModelAccelerateVersions,
|
3250
3462
|
"StopModelAccelerateTask": doStopModelAccelerateTask,
|
3251
3463
|
"CreateNotebookInstance": doCreateNotebookInstance,
|
3252
3464
|
"DeleteCodeRepository": doDeleteCodeRepository,
|