tccli 3.0.1096.1__py2.py3-none-any.whl → 3.0.1098.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/examples/aiart/v20221229/QueryDrawPortraitJob.md +30 -0
- tccli/examples/aiart/v20221229/QueryTrainPortraitModelJob.md +24 -0
- tccli/examples/aiart/v20221229/SubmitDrawPortraitJob.md +23 -0
- tccli/examples/aiart/v20221229/SubmitTrainPortraitModelJob.md +20 -0
- tccli/examples/aiart/v20221229/UploadTrainPortraitImages.md +25 -0
- tccli/examples/apm/v20210622/DescribeGeneralApmApplicationConfig.md +103 -0
- tccli/examples/apm/v20210622/DescribeTagValues.md +27 -0
- tccli/examples/apm/v20210622/ModifyGeneralApmApplicationConfig.md +29 -0
- tccli/examples/ccc/v20200210/ModifyStaffPassword.md +22 -0
- tccli/examples/csip/v20221121/DescribeAlertList.md +176 -0
- tccli/examples/cynosdb/v20190107/ModifyInstanceUpgradeLimitDays.md +22 -0
- tccli/examples/dcdb/v20180411/DescribeDCDBInstances.md +4 -3
- tccli/examples/dlc/v20210125/DescribeNotebookSessionStatementSqlResult.md +3 -1
- tccli/examples/ess/v20201111/CreateBatchSignUrl.md +28 -0
- tccli/examples/essbasic/v20210526/ChannelCreateBatchSignUrl.md +28 -0
- tccli/examples/iotexplorer/v20190423/DescribeDeviceFirmwares.md +33 -0
- tccli/examples/lke/v20231130/GetEmbedding.md +4 -1
- tccli/examples/lke/v20231130/QueryParseDocResult.md +4 -1
- tccli/examples/lke/v20231130/QueryRewrite.md +6 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstanceDetail.md +2 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstances.md +4 -3
- tccli/examples/tdmq/v20200217/DescribeRabbitMQQueueDetail.md +25 -22
- tccli/examples/vpc/v20170312/DisableVpnGatewaySslClientCert.md +2 -2
- tccli/services/aiart/aiart_client.py +269 -4
- tccli/services/aiart/v20221229/api.json +404 -0
- tccli/services/aiart/v20221229/examples.json +40 -0
- tccli/services/apm/apm_client.py +159 -0
- tccli/services/apm/v20210622/api.json +456 -0
- tccli/services/apm/v20210622/examples.json +24 -0
- tccli/services/billing/v20180709/api.json +30 -0
- tccli/services/bma/v20221115/api.json +4 -6
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +57 -5
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cloudstudio/v20230508/api.json +1 -1
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +1468 -7
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +54 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +45 -3
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +30 -0
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +50 -2
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +50 -2
- tccli/services/essbasic/v20210526/examples.json +6 -0
- tccli/services/hunyuan/v20230901/api.json +14 -14
- tccli/services/ims/v20201229/api.json +55 -55
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +90 -1
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/iss/v20230517/api.json +36 -0
- tccli/services/lighthouse/v20200324/api.json +2 -2
- tccli/services/live/v20180801/api.json +7 -7
- tccli/services/lke/lke_client.py +8 -114
- tccli/services/lke/v20231130/api.json +70 -158
- tccli/services/lke/v20231130/examples.json +2 -18
- tccli/services/mariadb/v20170312/api.json +45 -2
- tccli/services/mariadb/v20170312/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/ssl/v20191205/api.json +50 -9
- tccli/services/tdid/v20210519/api.json +2 -2
- tccli/services/tdmq/v20200217/api.json +64 -25
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +14 -14
- tccli/services/tione/v20211111/api.json +28 -0
- tccli/services/trtc/v20190722/api.json +34 -15
- tccli/services/vpc/v20170312/api.json +20 -5
- tccli/services/vpc/v20170312/examples.json +2 -2
- tccli/services/weilingwith/v20230427/api.json +11 -11
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/RECORD +81 -69
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/ccc/ccc_client.py
CHANGED
@@ -1889,6 +1889,58 @@ def doUnbindStaffSkillGroupList(args, parsed_globals):
|
|
1889
1889
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1890
1890
|
|
1891
1891
|
|
1892
|
+
def doModifyStaffPassword(args, parsed_globals):
|
1893
|
+
g_param = parse_global_arg(parsed_globals)
|
1894
|
+
|
1895
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1896
|
+
cred = credential.CVMRoleCredential()
|
1897
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1898
|
+
cred = credential.STSAssumeRoleCredential(
|
1899
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1900
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1901
|
+
)
|
1902
|
+
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):
|
1903
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1904
|
+
else:
|
1905
|
+
cred = credential.Credential(
|
1906
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1907
|
+
)
|
1908
|
+
http_profile = HttpProfile(
|
1909
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1910
|
+
reqMethod="POST",
|
1911
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1912
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1913
|
+
)
|
1914
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1915
|
+
if g_param[OptionsDefine.Language]:
|
1916
|
+
profile.language = g_param[OptionsDefine.Language]
|
1917
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1918
|
+
client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile)
|
1919
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1920
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1921
|
+
model = models.ModifyStaffPasswordRequest()
|
1922
|
+
model.from_json_string(json.dumps(args))
|
1923
|
+
start_time = time.time()
|
1924
|
+
while True:
|
1925
|
+
rsp = client.ModifyStaffPassword(model)
|
1926
|
+
result = rsp.to_json_string()
|
1927
|
+
try:
|
1928
|
+
json_obj = json.loads(result)
|
1929
|
+
except TypeError as e:
|
1930
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1931
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1932
|
+
break
|
1933
|
+
cur_time = time.time()
|
1934
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1935
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1936
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1937
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1938
|
+
else:
|
1939
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1940
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1941
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1942
|
+
|
1943
|
+
|
1892
1944
|
def doDisableCCCPhoneNumber(args, parsed_globals):
|
1893
1945
|
g_param = parse_global_arg(parsed_globals)
|
1894
1946
|
|
@@ -2976,6 +3028,7 @@ ACTION_MAP = {
|
|
2976
3028
|
"DescribeCarrierPrivilegeNumberApplicants": doDescribeCarrierPrivilegeNumberApplicants,
|
2977
3029
|
"CreateCCCSkillGroup": doCreateCCCSkillGroup,
|
2978
3030
|
"UnbindStaffSkillGroupList": doUnbindStaffSkillGroupList,
|
3031
|
+
"ModifyStaffPassword": doModifyStaffPassword,
|
2979
3032
|
"DisableCCCPhoneNumber": doDisableCCCPhoneNumber,
|
2980
3033
|
"DescribeStaffStatusMetrics": doDescribeStaffStatusMetrics,
|
2981
3034
|
"DescribeTelCallInfo": doDescribeTelCallInfo,
|
@@ -134,9 +134,9 @@
|
|
134
134
|
"status": "online"
|
135
135
|
},
|
136
136
|
"DescribeAutoCalloutTasks": {
|
137
|
-
"document": "
|
137
|
+
"document": "批量查询自动外呼任务",
|
138
138
|
"input": "DescribeAutoCalloutTasksRequest",
|
139
|
-
"name": "
|
139
|
+
"name": "批量查询自动外呼任务",
|
140
140
|
"output": "DescribeAutoCalloutTasksResponse",
|
141
141
|
"status": "online"
|
142
142
|
},
|
@@ -164,7 +164,7 @@
|
|
164
164
|
"DescribeChatMessages": {
|
165
165
|
"document": "获取指定服务记录文本聊天内容,需要先使用查询在线客服记录(DescribeIMCdrs) API 获取服务记录 SessionId。\n\n文本聊天记录只保存了 1 年内的,1 年之前会自动清理。",
|
166
166
|
"input": "DescribeChatMessagesRequest",
|
167
|
-
"name": "
|
167
|
+
"name": "查询指定会话(SessionId)的聊天记录",
|
168
168
|
"output": "DescribeChatMessagesResponse",
|
169
169
|
"status": "online"
|
170
170
|
},
|
@@ -329,6 +329,13 @@
|
|
329
329
|
"output": "ModifyStaffResponse",
|
330
330
|
"status": "online"
|
331
331
|
},
|
332
|
+
"ModifyStaffPassword": {
|
333
|
+
"document": "修改座席的密码",
|
334
|
+
"input": "ModifyStaffPasswordRequest",
|
335
|
+
"name": "修改座席密码",
|
336
|
+
"output": "ModifyStaffPasswordResponse",
|
337
|
+
"status": "online"
|
338
|
+
},
|
332
339
|
"PausePredictiveDialingCampaign": {
|
333
340
|
"document": "暂停预测式外呼任务",
|
334
341
|
"input": "PausePredictiveDialingCampaignRequest",
|
@@ -2800,7 +2807,7 @@
|
|
2800
2807
|
"type": "int"
|
2801
2808
|
},
|
2802
2809
|
{
|
2803
|
-
"disabled":
|
2810
|
+
"disabled": true,
|
2804
2811
|
"document": "服务记录ID(废弃)",
|
2805
2812
|
"example": "13503",
|
2806
2813
|
"member": "string",
|
@@ -2837,7 +2844,7 @@
|
|
2837
2844
|
},
|
2838
2845
|
{
|
2839
2846
|
"disabled": false,
|
2840
|
-
"document": "服务记录 SessionID
|
2847
|
+
"document": "服务记录 SessionID",
|
2841
2848
|
"example": "d6253538-7c28-477b-998a-919059801899",
|
2842
2849
|
"member": "string",
|
2843
2850
|
"name": "SessionId",
|
@@ -5182,6 +5189,51 @@
|
|
5182
5189
|
],
|
5183
5190
|
"type": "object"
|
5184
5191
|
},
|
5192
|
+
"ModifyStaffPasswordRequest": {
|
5193
|
+
"document": "ModifyStaffPassword请求参数结构体",
|
5194
|
+
"members": [
|
5195
|
+
{
|
5196
|
+
"disabled": false,
|
5197
|
+
"document": "应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc",
|
5198
|
+
"example": "16000000",
|
5199
|
+
"member": "uint64",
|
5200
|
+
"name": "SdkAppId",
|
5201
|
+
"required": true,
|
5202
|
+
"type": "int"
|
5203
|
+
},
|
5204
|
+
{
|
5205
|
+
"disabled": false,
|
5206
|
+
"document": "座席邮箱",
|
5207
|
+
"example": "a@qq.com",
|
5208
|
+
"member": "string",
|
5209
|
+
"name": "Email",
|
5210
|
+
"required": true,
|
5211
|
+
"type": "string"
|
5212
|
+
},
|
5213
|
+
{
|
5214
|
+
"disabled": false,
|
5215
|
+
"document": "设置的密码",
|
5216
|
+
"example": "abcdefg",
|
5217
|
+
"member": "string",
|
5218
|
+
"name": "Password",
|
5219
|
+
"required": true,
|
5220
|
+
"type": "string"
|
5221
|
+
}
|
5222
|
+
],
|
5223
|
+
"type": "object"
|
5224
|
+
},
|
5225
|
+
"ModifyStaffPasswordResponse": {
|
5226
|
+
"document": "ModifyStaffPassword返回参数结构体",
|
5227
|
+
"members": [
|
5228
|
+
{
|
5229
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5230
|
+
"member": "string",
|
5231
|
+
"name": "RequestId",
|
5232
|
+
"type": "string"
|
5233
|
+
}
|
5234
|
+
],
|
5235
|
+
"type": "object"
|
5236
|
+
},
|
5185
5237
|
"ModifyStaffRequest": {
|
5186
5238
|
"document": "ModifyStaff请求参数结构体",
|
5187
5239
|
"members": [
|
@@ -376,6 +376,14 @@
|
|
376
376
|
"title": "修改客服示例"
|
377
377
|
}
|
378
378
|
],
|
379
|
+
"ModifyStaffPassword": [
|
380
|
+
{
|
381
|
+
"document": "",
|
382
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStaffPassword\n<公共请求参数>\n\n{\n \"SdkAppId\": 1600000000,\n \"Email\": \"a@qq.com\",\n \"Password\": \"foobar\"\n}",
|
383
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
384
|
+
"title": "修改密码"
|
385
|
+
}
|
386
|
+
],
|
379
387
|
"PausePredictiveDialingCampaign": [
|
380
388
|
{
|
381
389
|
"document": "暂停预测式外呼任务",
|
@@ -4969,6 +4969,15 @@
|
|
4969
4969
|
"name": "ConnectionPoolLimit",
|
4970
4970
|
"required": false,
|
4971
4971
|
"type": "int"
|
4972
|
+
},
|
4973
|
+
{
|
4974
|
+
"disabled": false,
|
4975
|
+
"document": "指定要购买的 proxy 内核版本。不填则默认发货最新版本的 proxy。",
|
4976
|
+
"example": "1.4.1",
|
4977
|
+
"member": "string",
|
4978
|
+
"name": "ProxyVersion",
|
4979
|
+
"required": false,
|
4980
|
+
"type": "string"
|
4972
4981
|
}
|
4973
4982
|
],
|
4974
4983
|
"type": "object"
|
@@ -463,7 +463,7 @@
|
|
463
463
|
"status": "online"
|
464
464
|
},
|
465
465
|
"ModifyDomainConfig": {
|
466
|
-
"document": "ModifyDomainConfig 用于修改内容分发网络加速域名配置信息\n注意:\nRoute 字段,使用点分隔,最后一段称为叶子节点,非叶子节点配置保持不变;\nValue 字段,使用 json 进行序列化,其中固定 update 作为 key,配置路径值参考 https://cloud.tencent.com/document/product/228/41116 接口各配置项复杂类型,为配置路径对应复杂类型下的节点。\n
|
466
|
+
"document": "ModifyDomainConfig 用于修改内容分发网络加速域名配置信息\n注意:\nRoute 字段,使用点分隔,最后一段称为叶子节点,非叶子节点配置保持不变;\nValue 字段,使用 json 进行序列化,其中固定 update 作为 key,配置路径值参考 https://cloud.tencent.com/document/product/228/41116 接口各配置项复杂类型,为配置路径对应复杂类型下的节点。\n操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。",
|
467
467
|
"input": "ModifyDomainConfigRequest",
|
468
468
|
"name": "变更加速域名配置",
|
469
469
|
"output": "ModifyDomainConfigResponse",
|
@@ -239,7 +239,7 @@
|
|
239
239
|
},
|
240
240
|
{
|
241
241
|
"disabled": false,
|
242
|
-
"document": "token 授权策略,可选值为 workspace-run-only, all。默认为
|
242
|
+
"document": "token 授权策略,可选值为 workspace-run-only, all。默认为 workspace-run-only",
|
243
243
|
"example": "[\"workspace-run-only\"]",
|
244
244
|
"member": "string",
|
245
245
|
"name": "Policies",
|
@@ -1473,6 +1473,58 @@ def doCreateDomainAndIp(args, parsed_globals):
|
|
1473
1473
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1474
1474
|
|
1475
1475
|
|
1476
|
+
def doDescribeAlertList(args, parsed_globals):
|
1477
|
+
g_param = parse_global_arg(parsed_globals)
|
1478
|
+
|
1479
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1480
|
+
cred = credential.CVMRoleCredential()
|
1481
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1482
|
+
cred = credential.STSAssumeRoleCredential(
|
1483
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1484
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1485
|
+
)
|
1486
|
+
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):
|
1487
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1488
|
+
else:
|
1489
|
+
cred = credential.Credential(
|
1490
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1491
|
+
)
|
1492
|
+
http_profile = HttpProfile(
|
1493
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1494
|
+
reqMethod="POST",
|
1495
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1496
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1497
|
+
)
|
1498
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1499
|
+
if g_param[OptionsDefine.Language]:
|
1500
|
+
profile.language = g_param[OptionsDefine.Language]
|
1501
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1502
|
+
client = mod.CsipClient(cred, g_param[OptionsDefine.Region], profile)
|
1503
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1504
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1505
|
+
model = models.DescribeAlertListRequest()
|
1506
|
+
model.from_json_string(json.dumps(args))
|
1507
|
+
start_time = time.time()
|
1508
|
+
while True:
|
1509
|
+
rsp = client.DescribeAlertList(model)
|
1510
|
+
result = rsp.to_json_string()
|
1511
|
+
try:
|
1512
|
+
json_obj = json.loads(result)
|
1513
|
+
except TypeError as e:
|
1514
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1515
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1516
|
+
break
|
1517
|
+
cur_time = time.time()
|
1518
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1519
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1520
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1521
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1522
|
+
else:
|
1523
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1524
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1525
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1526
|
+
|
1527
|
+
|
1476
1528
|
def doDescribeScanTaskList(args, parsed_globals):
|
1477
1529
|
g_param = parse_global_arg(parsed_globals)
|
1478
1530
|
|
@@ -2032,6 +2084,7 @@ ACTION_MAP = {
|
|
2032
2084
|
"DescribeTaskLogList": doDescribeTaskLogList,
|
2033
2085
|
"DescribeScanReportList": doDescribeScanReportList,
|
2034
2086
|
"CreateDomainAndIp": doCreateDomainAndIp,
|
2087
|
+
"DescribeAlertList": doDescribeAlertList,
|
2035
2088
|
"DescribeScanTaskList": doDescribeScanTaskList,
|
2036
2089
|
"DescribeDbAssets": doDescribeDbAssets,
|
2037
2090
|
"DescribeRiskCenterPortViewPortRiskList": doDescribeRiskCenterPortViewPortRiskList,
|