tccli 3.0.1208.1__py2.py3-none-any.whl → 3.0.1210.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/batch/v20170312/api.json +20 -2
- tccli/services/bma/v20221115/api.json +26 -1
- tccli/services/bma/v20221115/examples.json +7 -7
- tccli/services/cam/v20190116/api.json +38 -30
- tccli/services/cam/v20190116/examples.json +2 -2
- tccli/services/ccc/v20200210/api.json +28 -1
- tccli/services/cdwdoris/v20211228/api.json +20 -1
- tccli/services/cfg/v20210820/api.json +21 -1
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +497 -11
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/cynosdb/v20190107/api.json +30 -9
- tccli/services/cynosdb/v20190107/examples.json +2 -2
- tccli/services/dasb/v20191018/api.json +19 -10
- tccli/services/dasb/v20191018/examples.json +1 -1
- tccli/services/dc/dc_client.py +126 -73
- tccli/services/dc/v20180410/api.json +300 -0
- tccli/services/dc/v20180410/examples.json +8 -0
- tccli/services/dnspod/v20210323/api.json +3 -1
- tccli/services/emr/emr_client.py +238 -26
- tccli/services/emr/v20190103/api.json +1012 -116
- tccli/services/emr/v20190103/examples.json +32 -0
- tccli/services/es/v20180416/api.json +144 -2
- tccli/services/ess/v20201111/api.json +4 -4
- tccli/services/ess/v20201111/examples.json +10 -10
- tccli/services/essbasic/v20210526/api.json +15 -6
- tccli/services/faceid/v20180301/api.json +10 -0
- tccli/services/gwlb/__init__.py +4 -0
- tccli/services/gwlb/gwlb_client.py +1096 -0
- tccli/services/gwlb/v20240906/api.json +1807 -0
- tccli/services/gwlb/v20240906/examples.json +155 -0
- tccli/services/hunyuan/v20230901/api.json +85 -9
- tccli/services/hunyuan/v20230901/examples.json +1 -1
- tccli/services/iss/v20230517/api.json +62 -14
- tccli/services/iss/v20230517/examples.json +19 -13
- tccli/services/oceanus/v20190422/api.json +4 -4
- tccli/services/privatedns/privatedns_client.py +57 -4
- tccli/services/privatedns/v20201028/api.json +101 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +2 -2
- tccli/services/sms/v20210111/api.json +3 -3
- tccli/services/sms/v20210111/examples.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +32 -11
- tccli/services/sqlserver/v20180328/examples.json +1 -1
- tccli/services/sts/v20180813/api.json +11 -10
- tccli/services/sts/v20180813/examples.json +2 -2
- tccli/services/tcss/v20201101/api.json +136 -19
- tccli/services/teo/v20220901/api.json +23 -23
- tccli/services/teo/v20220901/examples.json +4 -58
- tccli/services/tke/tke_client.py +118 -12
- tccli/services/tke/v20180525/api.json +154 -2
- tccli/services/tke/v20180525/examples.json +16 -0
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vpc/v20170312/api.json +59 -43
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/vtc/v20240223/api.json +9 -0
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/RECORD +63 -59
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1208.1.dist-info → tccli-3.0.1210.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/cls/cls_client.py
CHANGED
@@ -1525,7 +1525,7 @@ def doCreateShipper(args, parsed_globals):
|
|
1525
1525
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1526
1526
|
|
1527
1527
|
|
1528
|
-
def
|
1528
|
+
def doCreateNoticeContent(args, parsed_globals):
|
1529
1529
|
g_param = parse_global_arg(parsed_globals)
|
1530
1530
|
|
1531
1531
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1554,11 +1554,11 @@ def doModifyConsumer(args, parsed_globals):
|
|
1554
1554
|
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
1555
1555
|
client._sdkVersion += ("_CLI_" + __version__)
|
1556
1556
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1557
|
-
model = models.
|
1557
|
+
model = models.CreateNoticeContentRequest()
|
1558
1558
|
model.from_json_string(json.dumps(args))
|
1559
1559
|
start_time = time.time()
|
1560
1560
|
while True:
|
1561
|
-
rsp = client.
|
1561
|
+
rsp = client.CreateNoticeContent(model)
|
1562
1562
|
result = rsp.to_json_string()
|
1563
1563
|
try:
|
1564
1564
|
json_obj = json.loads(result)
|
@@ -2981,6 +2981,58 @@ def doDescribeShipperTasks(args, parsed_globals):
|
|
2981
2981
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2982
2982
|
|
2983
2983
|
|
2984
|
+
def doModifyNoticeContent(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.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
3011
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3012
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3013
|
+
model = models.ModifyNoticeContentRequest()
|
3014
|
+
model.from_json_string(json.dumps(args))
|
3015
|
+
start_time = time.time()
|
3016
|
+
while True:
|
3017
|
+
rsp = client.ModifyNoticeContent(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
|
+
|
2984
3036
|
def doSearchCosRechargeInfo(args, parsed_globals):
|
2985
3037
|
g_param = parse_global_arg(parsed_globals)
|
2986
3038
|
|
@@ -3293,6 +3345,58 @@ def doAddMachineGroupInfo(args, parsed_globals):
|
|
3293
3345
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3294
3346
|
|
3295
3347
|
|
3348
|
+
def doDeleteNoticeContent(args, parsed_globals):
|
3349
|
+
g_param = parse_global_arg(parsed_globals)
|
3350
|
+
|
3351
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3352
|
+
cred = credential.CVMRoleCredential()
|
3353
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3354
|
+
cred = credential.STSAssumeRoleCredential(
|
3355
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3356
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3357
|
+
)
|
3358
|
+
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):
|
3359
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3360
|
+
else:
|
3361
|
+
cred = credential.Credential(
|
3362
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3363
|
+
)
|
3364
|
+
http_profile = HttpProfile(
|
3365
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3366
|
+
reqMethod="POST",
|
3367
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3368
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3369
|
+
)
|
3370
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3371
|
+
if g_param[OptionsDefine.Language]:
|
3372
|
+
profile.language = g_param[OptionsDefine.Language]
|
3373
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3374
|
+
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
3375
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3376
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3377
|
+
model = models.DeleteNoticeContentRequest()
|
3378
|
+
model.from_json_string(json.dumps(args))
|
3379
|
+
start_time = time.time()
|
3380
|
+
while True:
|
3381
|
+
rsp = client.DeleteNoticeContent(model)
|
3382
|
+
result = rsp.to_json_string()
|
3383
|
+
try:
|
3384
|
+
json_obj = json.loads(result)
|
3385
|
+
except TypeError as e:
|
3386
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3387
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3388
|
+
break
|
3389
|
+
cur_time = time.time()
|
3390
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3391
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3392
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3393
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3394
|
+
else:
|
3395
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3396
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3397
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3398
|
+
|
3399
|
+
|
3296
3400
|
def doDeleteConsoleSharing(args, parsed_globals):
|
3297
3401
|
g_param = parse_global_arg(parsed_globals)
|
3298
3402
|
|
@@ -4860,6 +4964,58 @@ def doModifyLogset(args, parsed_globals):
|
|
4860
4964
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4861
4965
|
|
4862
4966
|
|
4967
|
+
def doModifyConsumer(args, parsed_globals):
|
4968
|
+
g_param = parse_global_arg(parsed_globals)
|
4969
|
+
|
4970
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4971
|
+
cred = credential.CVMRoleCredential()
|
4972
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4973
|
+
cred = credential.STSAssumeRoleCredential(
|
4974
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4975
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4976
|
+
)
|
4977
|
+
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):
|
4978
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4979
|
+
else:
|
4980
|
+
cred = credential.Credential(
|
4981
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4982
|
+
)
|
4983
|
+
http_profile = HttpProfile(
|
4984
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4985
|
+
reqMethod="POST",
|
4986
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4987
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4988
|
+
)
|
4989
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4990
|
+
if g_param[OptionsDefine.Language]:
|
4991
|
+
profile.language = g_param[OptionsDefine.Language]
|
4992
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4993
|
+
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
4994
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4995
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4996
|
+
model = models.ModifyConsumerRequest()
|
4997
|
+
model.from_json_string(json.dumps(args))
|
4998
|
+
start_time = time.time()
|
4999
|
+
while True:
|
5000
|
+
rsp = client.ModifyConsumer(model)
|
5001
|
+
result = rsp.to_json_string()
|
5002
|
+
try:
|
5003
|
+
json_obj = json.loads(result)
|
5004
|
+
except TypeError as e:
|
5005
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5006
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5007
|
+
break
|
5008
|
+
cur_time = time.time()
|
5009
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5010
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5011
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5012
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5013
|
+
else:
|
5014
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5015
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5016
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5017
|
+
|
5018
|
+
|
4863
5019
|
def doModifyDataTransform(args, parsed_globals):
|
4864
5020
|
g_param = parse_global_arg(parsed_globals)
|
4865
5021
|
|
@@ -5068,6 +5224,58 @@ def doDescribeConsumer(args, parsed_globals):
|
|
5068
5224
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5069
5225
|
|
5070
5226
|
|
5227
|
+
def doDescribeNoticeContents(args, parsed_globals):
|
5228
|
+
g_param = parse_global_arg(parsed_globals)
|
5229
|
+
|
5230
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5231
|
+
cred = credential.CVMRoleCredential()
|
5232
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5233
|
+
cred = credential.STSAssumeRoleCredential(
|
5234
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5235
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5236
|
+
)
|
5237
|
+
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):
|
5238
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5239
|
+
else:
|
5240
|
+
cred = credential.Credential(
|
5241
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5242
|
+
)
|
5243
|
+
http_profile = HttpProfile(
|
5244
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5245
|
+
reqMethod="POST",
|
5246
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5247
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5248
|
+
)
|
5249
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5250
|
+
if g_param[OptionsDefine.Language]:
|
5251
|
+
profile.language = g_param[OptionsDefine.Language]
|
5252
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5253
|
+
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
5254
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5255
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5256
|
+
model = models.DescribeNoticeContentsRequest()
|
5257
|
+
model.from_json_string(json.dumps(args))
|
5258
|
+
start_time = time.time()
|
5259
|
+
while True:
|
5260
|
+
rsp = client.DescribeNoticeContents(model)
|
5261
|
+
result = rsp.to_json_string()
|
5262
|
+
try:
|
5263
|
+
json_obj = json.loads(result)
|
5264
|
+
except TypeError as e:
|
5265
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5266
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5267
|
+
break
|
5268
|
+
cur_time = time.time()
|
5269
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5270
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5271
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5272
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5273
|
+
else:
|
5274
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5275
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5276
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5277
|
+
|
5278
|
+
|
5071
5279
|
def doDescribeMachines(args, parsed_globals):
|
5072
5280
|
g_param = parse_global_arg(parsed_globals)
|
5073
5281
|
|
@@ -5316,7 +5524,7 @@ ACTION_MAP = {
|
|
5316
5524
|
"DescribeIndex": doDescribeIndex,
|
5317
5525
|
"CreateAlarmShield": doCreateAlarmShield,
|
5318
5526
|
"CreateShipper": doCreateShipper,
|
5319
|
-
"
|
5527
|
+
"CreateNoticeContent": doCreateNoticeContent,
|
5320
5528
|
"DeleteConsumer": doDeleteConsumer,
|
5321
5529
|
"DeleteMachineGroup": doDeleteMachineGroup,
|
5322
5530
|
"DescribeKafkaRecharges": doDescribeKafkaRecharges,
|
@@ -5344,12 +5552,14 @@ ACTION_MAP = {
|
|
5344
5552
|
"CreateConsoleSharing": doCreateConsoleSharing,
|
5345
5553
|
"DescribeMachineGroupConfigs": doDescribeMachineGroupConfigs,
|
5346
5554
|
"DescribeShipperTasks": doDescribeShipperTasks,
|
5555
|
+
"ModifyNoticeContent": doModifyNoticeContent,
|
5347
5556
|
"SearchCosRechargeInfo": doSearchCosRechargeInfo,
|
5348
5557
|
"ModifyKafkaRecharge": doModifyKafkaRecharge,
|
5349
5558
|
"DescribeKafkaConsumer": doDescribeKafkaConsumer,
|
5350
5559
|
"DeleteDashboardSubscribe": doDeleteDashboardSubscribe,
|
5351
5560
|
"CreateDataTransform": doCreateDataTransform,
|
5352
5561
|
"AddMachineGroupInfo": doAddMachineGroupInfo,
|
5562
|
+
"DeleteNoticeContent": doDeleteNoticeContent,
|
5353
5563
|
"DeleteConsoleSharing": doDeleteConsoleSharing,
|
5354
5564
|
"DescribeAlarmNotices": doDescribeAlarmNotices,
|
5355
5565
|
"DescribePartitions": doDescribePartitions,
|
@@ -5380,10 +5590,12 @@ ACTION_MAP = {
|
|
5380
5590
|
"UploadLog": doUploadLog,
|
5381
5591
|
"DeleteTopic": doDeleteTopic,
|
5382
5592
|
"ModifyLogset": doModifyLogset,
|
5593
|
+
"ModifyConsumer": doModifyConsumer,
|
5383
5594
|
"ModifyDataTransform": doModifyDataTransform,
|
5384
5595
|
"SearchLog": doSearchLog,
|
5385
5596
|
"DescribeLogContext": doDescribeLogContext,
|
5386
5597
|
"DescribeConsumer": doDescribeConsumer,
|
5598
|
+
"DescribeNoticeContents": doDescribeNoticeContents,
|
5387
5599
|
"DescribeMachines": doDescribeMachines,
|
5388
5600
|
"RetryShipperTask": doRetryShipperTask,
|
5389
5601
|
"CreateAlarm": doCreateAlarm,
|