tccli 3.0.1243.1__py2.py3-none-any.whl → 3.0.1245.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/aca/v20210323/api.json +107 -107
- tccli/services/aca/v20210323/examples.json +5 -5
- tccli/services/asr/v20190614/examples.json +6 -6
- tccli/services/cbs/v20170312/api.json +9 -0
- tccli/services/cdwdoris/v20211228/api.json +22 -2
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +185 -156
- tccli/services/cls/v20201016/examples.json +5 -5
- tccli/services/cvm/v20170312/api.json +8 -8
- tccli/services/cvm/v20170312/examples.json +4 -4
- tccli/services/dbbrain/dbbrain_client.py +57 -4
- tccli/services/dbbrain/v20210527/api.json +145 -0
- tccli/services/dbbrain/v20210527/examples.json +8 -0
- tccli/services/dts/v20211206/api.json +9 -0
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/v20231130/api.json +30 -0
- tccli/services/mna/v20210119/examples.json +1 -1
- tccli/services/monitor/v20180724/api.json +55 -0
- tccli/services/scf/scf_client.py +118 -65
- tccli/services/scf/v20180416/api.json +570 -475
- tccli/services/scf/v20180416/examples.json +52 -44
- tccli/services/tcb/v20180608/api.json +13 -13
- tccli/services/tcm/v20210413/api.json +52 -48
- tccli/services/tcm/v20210413/examples.json +7 -7
- tccli/services/tcr/v20190924/api.json +435 -407
- tccli/services/tcr/v20190924/examples.json +49 -49
- tccli/services/teo/v20220901/api.json +3 -3
- tccli/services/tke/v20180525/api.json +1544 -1258
- tccli/services/tke/v20180525/examples.json +165 -165
- tccli/services/tke/v20220501/api.json +16 -16
- tccli/services/tke/v20220501/examples.json +2 -2
- tccli/services/trocket/trocket_client.py +57 -4
- tccli/services/trocket/v20230308/api.json +143 -51
- tccli/services/trocket/v20230308/examples.json +11 -3
- tccli/services/vclm/v20240523/api.json +3 -3
- tccli/services/vpc/v20170312/api.json +182 -154
- tccli/services/vpc/v20170312/examples.json +12 -34
- tccli/services/waf/v20180125/api.json +1 -1
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/license_files/LICENSE +0 -0
@@ -3505,6 +3505,24 @@
|
|
3505
3505
|
"name": "EbSubject",
|
3506
3506
|
"required": false,
|
3507
3507
|
"type": "string"
|
3508
|
+
},
|
3509
|
+
{
|
3510
|
+
"disabled": false,
|
3511
|
+
"document": "附加告警内容",
|
3512
|
+
"example": "无",
|
3513
|
+
"member": "string",
|
3514
|
+
"name": "AdditionalAlarmContent",
|
3515
|
+
"required": false,
|
3516
|
+
"type": "string"
|
3517
|
+
},
|
3518
|
+
{
|
3519
|
+
"disabled": false,
|
3520
|
+
"document": "通知模板绑定信息",
|
3521
|
+
"example": "[{\"NoticeContentTmplID\":\"tmpl-xxx\",\"PolicyID\":\"policy-xxx\",\"NoticeID\":\"notice-xxx\"}]",
|
3522
|
+
"member": "NoticeContentTmplBindInfo",
|
3523
|
+
"name": "NoticeContentTmplBindInfos",
|
3524
|
+
"required": false,
|
3525
|
+
"type": "list"
|
3508
3526
|
}
|
3509
3527
|
],
|
3510
3528
|
"type": "object"
|
@@ -15513,6 +15531,15 @@
|
|
15513
15531
|
"name": "HierarchicalNotices",
|
15514
15532
|
"required": false,
|
15515
15533
|
"type": "list"
|
15534
|
+
},
|
15535
|
+
{
|
15536
|
+
"disabled": false,
|
15537
|
+
"document": "通知内容模板绑定信息",
|
15538
|
+
"example": " [{\"NoticeContentTmplID\":\"tmpl-xxx\",\"PolicyID\":\"policy-xxx\",\"NoticeID\":\"notice-xxx\"}]",
|
15539
|
+
"member": "NoticeContentTmplBindInfo",
|
15540
|
+
"name": "NoticeContentTmplBindInfos",
|
15541
|
+
"required": false,
|
15542
|
+
"type": "list"
|
15516
15543
|
}
|
15517
15544
|
],
|
15518
15545
|
"type": "object"
|
@@ -16379,6 +16406,34 @@
|
|
16379
16406
|
],
|
16380
16407
|
"usage": "in"
|
16381
16408
|
},
|
16409
|
+
"NoticeContentTmplBindInfo": {
|
16410
|
+
"document": "通知内容模板绑定信息",
|
16411
|
+
"members": [
|
16412
|
+
{
|
16413
|
+
"disabled": false,
|
16414
|
+
"document": "通知内容模板ID",
|
16415
|
+
"example": "tmpl-xxx",
|
16416
|
+
"member": "string",
|
16417
|
+
"name": "ContentTmplID",
|
16418
|
+
"output_required": false,
|
16419
|
+
"required": false,
|
16420
|
+
"type": "string",
|
16421
|
+
"value_allowed_null": false
|
16422
|
+
},
|
16423
|
+
{
|
16424
|
+
"disabled": false,
|
16425
|
+
"document": "通知模板ID",
|
16426
|
+
"example": "notice-xxx",
|
16427
|
+
"member": "string",
|
16428
|
+
"name": "NoticeID",
|
16429
|
+
"output_required": false,
|
16430
|
+
"required": false,
|
16431
|
+
"type": "string",
|
16432
|
+
"value_allowed_null": false
|
16433
|
+
}
|
16434
|
+
],
|
16435
|
+
"usage": "both"
|
16436
|
+
},
|
16382
16437
|
"Operator": {
|
16383
16438
|
"document": "维度支持的操作符信息",
|
16384
16439
|
"members": [
|
tccli/services/scf/scf_client.py
CHANGED
@@ -485,7 +485,7 @@ def doCopyFunction(args, parsed_globals):
|
|
485
485
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
486
486
|
|
487
487
|
|
488
|
-
def
|
488
|
+
def doDeleteTrigger(args, parsed_globals):
|
489
489
|
g_param = parse_global_arg(parsed_globals)
|
490
490
|
|
491
491
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -514,11 +514,11 @@ def doGetFunctionLogs(args, parsed_globals):
|
|
514
514
|
client = mod.ScfClient(cred, g_param[OptionsDefine.Region], profile)
|
515
515
|
client._sdkVersion += ("_CLI_" + __version__)
|
516
516
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
517
|
-
model = models.
|
517
|
+
model = models.DeleteTriggerRequest()
|
518
518
|
model.from_json_string(json.dumps(args))
|
519
519
|
start_time = time.time()
|
520
520
|
while True:
|
521
|
-
rsp = client.
|
521
|
+
rsp = client.DeleteTrigger(model)
|
522
522
|
result = rsp.to_json_string()
|
523
523
|
try:
|
524
524
|
json_obj = json.loads(result)
|
@@ -589,7 +589,7 @@ def doListAliases(args, parsed_globals):
|
|
589
589
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
590
|
|
591
591
|
|
592
|
-
def
|
592
|
+
def doDeleteNamespace(args, parsed_globals):
|
593
593
|
g_param = parse_global_arg(parsed_globals)
|
594
594
|
|
595
595
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -618,11 +618,11 @@ def doDeleteTrigger(args, parsed_globals):
|
|
618
618
|
client = mod.ScfClient(cred, g_param[OptionsDefine.Region], profile)
|
619
619
|
client._sdkVersion += ("_CLI_" + __version__)
|
620
620
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
621
|
-
model = models.
|
621
|
+
model = models.DeleteNamespaceRequest()
|
622
622
|
model.from_json_string(json.dumps(args))
|
623
623
|
start_time = time.time()
|
624
624
|
while True:
|
625
|
-
rsp = client.
|
625
|
+
rsp = client.DeleteNamespace(model)
|
626
626
|
result = rsp.to_json_string()
|
627
627
|
try:
|
628
628
|
json_obj = json.loads(result)
|
@@ -1109,7 +1109,7 @@ def doGetAsyncEventStatus(args, parsed_globals):
|
|
1109
1109
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
1110
|
|
1111
1111
|
|
1112
|
-
def
|
1112
|
+
def doPutTotalConcurrencyConfig(args, parsed_globals):
|
1113
1113
|
g_param = parse_global_arg(parsed_globals)
|
1114
1114
|
|
1115
1115
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1138,11 +1138,11 @@ def doDeleteNamespace(args, parsed_globals):
|
|
1138
1138
|
client = mod.ScfClient(cred, g_param[OptionsDefine.Region], profile)
|
1139
1139
|
client._sdkVersion += ("_CLI_" + __version__)
|
1140
1140
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1141
|
-
model = models.
|
1141
|
+
model = models.PutTotalConcurrencyConfigRequest()
|
1142
1142
|
model.from_json_string(json.dumps(args))
|
1143
1143
|
start_time = time.time()
|
1144
1144
|
while True:
|
1145
|
-
rsp = client.
|
1145
|
+
rsp = client.PutTotalConcurrencyConfig(model)
|
1146
1146
|
result = rsp.to_json_string()
|
1147
1147
|
try:
|
1148
1148
|
json_obj = json.loads(result)
|
@@ -1213,6 +1213,110 @@ def doListAsyncEvents(args, parsed_globals):
|
|
1213
1213
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1214
1214
|
|
1215
1215
|
|
1216
|
+
def doDeleteFunctionVersion(args, parsed_globals):
|
1217
|
+
g_param = parse_global_arg(parsed_globals)
|
1218
|
+
|
1219
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1220
|
+
cred = credential.CVMRoleCredential()
|
1221
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1222
|
+
cred = credential.STSAssumeRoleCredential(
|
1223
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1224
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1225
|
+
)
|
1226
|
+
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):
|
1227
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1228
|
+
else:
|
1229
|
+
cred = credential.Credential(
|
1230
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1231
|
+
)
|
1232
|
+
http_profile = HttpProfile(
|
1233
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1234
|
+
reqMethod="POST",
|
1235
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1236
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1237
|
+
)
|
1238
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1239
|
+
if g_param[OptionsDefine.Language]:
|
1240
|
+
profile.language = g_param[OptionsDefine.Language]
|
1241
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1242
|
+
client = mod.ScfClient(cred, g_param[OptionsDefine.Region], profile)
|
1243
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1244
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1245
|
+
model = models.DeleteFunctionVersionRequest()
|
1246
|
+
model.from_json_string(json.dumps(args))
|
1247
|
+
start_time = time.time()
|
1248
|
+
while True:
|
1249
|
+
rsp = client.DeleteFunctionVersion(model)
|
1250
|
+
result = rsp.to_json_string()
|
1251
|
+
try:
|
1252
|
+
json_obj = json.loads(result)
|
1253
|
+
except TypeError as e:
|
1254
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1255
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1256
|
+
break
|
1257
|
+
cur_time = time.time()
|
1258
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1259
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1260
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1261
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1262
|
+
else:
|
1263
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1264
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1265
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
|
+
|
1267
|
+
|
1268
|
+
def doGetFunctionLogs(args, parsed_globals):
|
1269
|
+
g_param = parse_global_arg(parsed_globals)
|
1270
|
+
|
1271
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1272
|
+
cred = credential.CVMRoleCredential()
|
1273
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1274
|
+
cred = credential.STSAssumeRoleCredential(
|
1275
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1276
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1277
|
+
)
|
1278
|
+
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):
|
1279
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1280
|
+
else:
|
1281
|
+
cred = credential.Credential(
|
1282
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1283
|
+
)
|
1284
|
+
http_profile = HttpProfile(
|
1285
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1286
|
+
reqMethod="POST",
|
1287
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1288
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1289
|
+
)
|
1290
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1291
|
+
if g_param[OptionsDefine.Language]:
|
1292
|
+
profile.language = g_param[OptionsDefine.Language]
|
1293
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1294
|
+
client = mod.ScfClient(cred, g_param[OptionsDefine.Region], profile)
|
1295
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1296
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1297
|
+
model = models.GetFunctionLogsRequest()
|
1298
|
+
model.from_json_string(json.dumps(args))
|
1299
|
+
start_time = time.time()
|
1300
|
+
while True:
|
1301
|
+
rsp = client.GetFunctionLogs(model)
|
1302
|
+
result = rsp.to_json_string()
|
1303
|
+
try:
|
1304
|
+
json_obj = json.loads(result)
|
1305
|
+
except TypeError as e:
|
1306
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1307
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1308
|
+
break
|
1309
|
+
cur_time = time.time()
|
1310
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1311
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1312
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1313
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1314
|
+
else:
|
1315
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1316
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1317
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1318
|
+
|
1319
|
+
|
1216
1320
|
def doCreateAlias(args, parsed_globals):
|
1217
1321
|
g_param = parse_global_arg(parsed_globals)
|
1218
1322
|
|
@@ -2305,58 +2409,6 @@ def doGetReservedConcurrencyConfig(args, parsed_globals):
|
|
2305
2409
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2306
2410
|
|
2307
2411
|
|
2308
|
-
def doPutTotalConcurrencyConfig(args, parsed_globals):
|
2309
|
-
g_param = parse_global_arg(parsed_globals)
|
2310
|
-
|
2311
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2312
|
-
cred = credential.CVMRoleCredential()
|
2313
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2314
|
-
cred = credential.STSAssumeRoleCredential(
|
2315
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2316
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2317
|
-
)
|
2318
|
-
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):
|
2319
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2320
|
-
else:
|
2321
|
-
cred = credential.Credential(
|
2322
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2323
|
-
)
|
2324
|
-
http_profile = HttpProfile(
|
2325
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2326
|
-
reqMethod="POST",
|
2327
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
2328
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2329
|
-
)
|
2330
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2331
|
-
if g_param[OptionsDefine.Language]:
|
2332
|
-
profile.language = g_param[OptionsDefine.Language]
|
2333
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2334
|
-
client = mod.ScfClient(cred, g_param[OptionsDefine.Region], profile)
|
2335
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
2336
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2337
|
-
model = models.PutTotalConcurrencyConfigRequest()
|
2338
|
-
model.from_json_string(json.dumps(args))
|
2339
|
-
start_time = time.time()
|
2340
|
-
while True:
|
2341
|
-
rsp = client.PutTotalConcurrencyConfig(model)
|
2342
|
-
result = rsp.to_json_string()
|
2343
|
-
try:
|
2344
|
-
json_obj = json.loads(result)
|
2345
|
-
except TypeError as e:
|
2346
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2347
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2348
|
-
break
|
2349
|
-
cur_time = time.time()
|
2350
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2351
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2352
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2353
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2354
|
-
else:
|
2355
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2356
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2357
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2358
|
-
|
2359
|
-
|
2360
2412
|
def doGetCustomDomain(args, parsed_globals):
|
2361
2413
|
g_param = parse_global_arg(parsed_globals)
|
2362
2414
|
|
@@ -2689,9 +2741,9 @@ ACTION_MAP = {
|
|
2689
2741
|
"CreateTrigger": doCreateTrigger,
|
2690
2742
|
"CreateNamespace": doCreateNamespace,
|
2691
2743
|
"CopyFunction": doCopyFunction,
|
2692
|
-
"GetFunctionLogs": doGetFunctionLogs,
|
2693
|
-
"ListAliases": doListAliases,
|
2694
2744
|
"DeleteTrigger": doDeleteTrigger,
|
2745
|
+
"ListAliases": doListAliases,
|
2746
|
+
"DeleteNamespace": doDeleteNamespace,
|
2695
2747
|
"GetProvisionedConcurrencyConfig": doGetProvisionedConcurrencyConfig,
|
2696
2748
|
"UpdateNamespace": doUpdateNamespace,
|
2697
2749
|
"ListCustomDomains": doListCustomDomains,
|
@@ -2701,8 +2753,10 @@ ACTION_MAP = {
|
|
2701
2753
|
"GetFunction": doGetFunction,
|
2702
2754
|
"DeleteAlias": doDeleteAlias,
|
2703
2755
|
"GetAsyncEventStatus": doGetAsyncEventStatus,
|
2704
|
-
"
|
2756
|
+
"PutTotalConcurrencyConfig": doPutTotalConcurrencyConfig,
|
2705
2757
|
"ListAsyncEvents": doListAsyncEvents,
|
2758
|
+
"DeleteFunctionVersion": doDeleteFunctionVersion,
|
2759
|
+
"GetFunctionLogs": doGetFunctionLogs,
|
2706
2760
|
"CreateAlias": doCreateAlias,
|
2707
2761
|
"TerminateAsyncEvent": doTerminateAsyncEvent,
|
2708
2762
|
"DeleteCustomDomain": doDeleteCustomDomain,
|
@@ -2724,7 +2778,6 @@ ACTION_MAP = {
|
|
2724
2778
|
"PutProvisionedConcurrencyConfig": doPutProvisionedConcurrencyConfig,
|
2725
2779
|
"GetAlias": doGetAlias,
|
2726
2780
|
"GetReservedConcurrencyConfig": doGetReservedConcurrencyConfig,
|
2727
|
-
"PutTotalConcurrencyConfig": doPutTotalConcurrencyConfig,
|
2728
2781
|
"GetCustomDomain": doGetCustomDomain,
|
2729
2782
|
"UpdateCustomDomain": doUpdateCustomDomain,
|
2730
2783
|
"CreateFunction": doCreateFunction,
|