tccli 3.0.1374.1__py2.py3-none-any.whl → 3.0.1376.1__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/cbs/v20170312/api.json +11 -2
- tccli/services/ccc/v20200210/api.json +17 -8
- tccli/services/cdb/v20170320/api.json +2 -2
- tccli/services/cdwdoris/v20211228/api.json +31 -1
- tccli/services/cfs/v20190719/api.json +10 -1
- tccli/services/chc/v20230418/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +20 -0
- tccli/services/cls/v20201016/api.json +8 -8
- tccli/services/csip/v20221121/api.json +3 -3
- tccli/services/ctem/v20231128/api.json +22 -3
- tccli/services/ctem/v20231128/examples.json +2 -2
- tccli/services/cwp/v20180228/api.json +5 -5
- tccli/services/dlc/dlc_client.py +399 -28
- tccli/services/dlc/v20210125/api.json +557 -0
- tccli/services/dlc/v20210125/examples.json +56 -0
- tccli/services/es/v20180416/api.json +49 -0
- tccli/services/ess/v20201111/api.json +23 -5
- tccli/services/essbasic/v20210526/api.json +40 -2
- tccli/services/ioa/v20220601/api.json +95 -39
- tccli/services/ioa/v20220601/examples.json +4 -10
- tccli/services/iss/iss_client.py +53 -0
- tccli/services/iss/v20230517/api.json +60 -0
- tccli/services/iss/v20230517/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +34 -6
- tccli/services/oceanus/v20190422/api.json +5 -5
- tccli/services/omics/v20221128/api.json +1 -1
- tccli/services/organization/organization_client.py +69 -16
- tccli/services/organization/v20210331/api.json +216 -0
- tccli/services/organization/v20210331/examples.json +8 -0
- tccli/services/partners/v20180321/api.json +2 -2
- tccli/services/postgres/v20170312/api.json +1 -1
- tccli/services/rce/v20201103/api.json +1 -1
- tccli/services/smh/v20210712/api.json +43 -12
- tccli/services/smh/v20210712/examples.json +1 -1
- tccli/services/tbaas/v20180416/api.json +30 -30
- tccli/services/tbaas/v20180416/examples.json +4 -4
- tccli/services/tcaplusdb/v20190823/api.json +926 -900
- tccli/services/tcaplusdb/v20190823/examples.json +56 -56
- tccli/services/tcss/v20201101/api.json +4 -4
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +35 -11
- tccli/services/tdmq/v20200217/examples.json +9 -1
- tccli/services/trocket/v20230308/api.json +2 -2
- tccli/services/tse/v20201207/api.json +9 -0
- tccli/services/tsf/v20180326/api.json +105 -105
- tccli/services/tsf/v20180326/examples.json +2 -2
- tccli/services/vod/v20180717/api.json +11 -11
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1376.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1376.1.dist-info}/RECORD +53 -53
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1376.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1376.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1374.1.dist-info → tccli-3.0.1376.1.dist-info}/license_files/LICENSE +0 -0
@@ -148,16 +148,10 @@
|
|
148
148
|
],
|
149
149
|
"DescribeSoftwareInformation": [
|
150
150
|
{
|
151
|
-
"document": "",
|
152
|
-
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSoftwareInformation\n<公共请求参数>\n\n{\n \"Mid\": \"
|
153
|
-
"output": "{\n \"Response\": {\n \"
|
154
|
-
"title": "
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"document": "获取设备安装的软件数据",
|
158
|
-
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSoftwareInformation\n<公共请求参数>\n\n{\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\"\n}",
|
159
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"CorpName\": \"\",\n \"Id\": 19396,\n \"InstallDate\": \"2025/04/03\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"微信\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19396,\n \"Version\": \"3.9.12.51\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 23532,\n \"InstallDate\": \"2025/04/16\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Google Chrome\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 23532,\n \"Version\": \"135.0.7049.95\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 23452,\n \"InstallDate\": \"2025/04/16\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Mozilla Firefox (x64 zh-CN)\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 23452,\n \"Version\": \"137.0.2\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19198,\n \"InstallDate\": \"2025/03/31\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Adobe Acrobat Reader DC MUI\",\n \"PiracyRisk\": 2,\n \"SoftwareId\": 19198,\n \"Version\": \"15.007.20033\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19639,\n \"InstallDate\": \"2025/04/01\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"企业微信\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19639,\n \"Version\": \"4.1.36.6004\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19197,\n \"InstallDate\": \"2025/03/31\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Java 8 Update 441\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19197,\n \"Version\": \"8.0.4410.7\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19059,\n \"InstallDate\": \"2024/12/13\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"运维审计系统 单点登录组件 2.0\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19059,\n \"Version\": \"2.0\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 18422,\n \"InstallDate\": \"2024/04/10\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"软件管理\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 18422,\n \"Version\": \"3.1.1442.301\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 18595,\n \"InstallDate\": \"2025/03/27\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"腾讯 iOA\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 18595,\n \"Version\": \"210.3.25981.62001\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 21450,\n \"InstallDate\": \"2025/04/11\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"向日葵远程控制\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 21450,\n \"Version\": \"15.8.3.19819\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 18725,\n \"InstallDate\": \"2024/04/10\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"企业版软件管家\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 18725,\n \"Version\": \"101.1.169.1\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19057,\n \"InstallDate\": \"2024/03/19\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Wireshark 3.4.6 64-bit\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19057,\n \"Version\": \"3.4.6\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19195,\n \"InstallDate\": \"2025/03/28\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"ToDesk\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19195,\n \"Version\": \"4.7.6.3\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19055,\n \"InstallDate\": \"2025/04/11\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"TeamViewer\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19055,\n \"Version\": \"15.46.5\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19054,\n \"InstallDate\": \"2024/12/13\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"SangforVNC\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19054,\n \"Version\": \"7,1,0,2\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19053,\n \"InstallDate\": \"2024/08/27\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"RayLink 8.1.0.9\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19053,\n \"Version\": \"8.1.0.9\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19052,\n \"InstallDate\": \"2024/12/17\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Python Launcher\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19052,\n \"Version\": \"3.13.1150.0\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19051,\n \"InstallDate\": \"2024/12/13\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Python 3.13.1 (64-bit)\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19051,\n \"Version\": \"3.13.1150.0\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19050,\n \"InstallDate\": \"2024/06/06\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Npcap 0.9982\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19050,\n \"Version\": \"0.9982\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19049,\n \"InstallDate\": \"2024/01/24\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Notepad++ (32-bit x86)\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19049,\n \"Version\": \"8.1.9\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 18414,\n \"InstallDate\": \"2025/03/27\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"NGNClient-TAP 1.1\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 18414,\n \"Version\": \"1.1\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 18411,\n \"InstallDate\": \"2025/03/28\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Mozilla Maintenance Service\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 18411,\n \"Version\": \"136.0.1\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19048,\n \"InstallDate\": \"2024/03/14\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.28.29910\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19048,\n \"Version\": \"14.28.29910.0\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 18949,\n \"InstallDate\": \"2024/06/06\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.21005\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 18949,\n \"Version\": \"12.0.21005.1\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 22978,\n \"InstallDate\": \"2025/04/12\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Microsoft Edge WebView2 Runtime\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 22978,\n \"Version\": \"135.0.3179.73\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19046,\n \"InstallDate\": \"2024/12/13\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"EasyConnect\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19046,\n \"Version\": \"7,6,7,201\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 19045,\n \"InstallDate\": \"2025/03/28\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"DACS版本2023H1(43989)S\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 19045,\n \"Version\": \"2023H1(43989)S\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 18806,\n \"InstallDate\": \"2025/03/31\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"Cloudbase-Init 1.1.2\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 18806,\n \"Version\": \"1.1.2.0\"\n },\n {\n \"CorpName\": \"\",\n \"Id\": 6786,\n \"InstallDate\": \"2024/01/30\",\n \"Mid\": \"B454307F6CA03B56E0CFEC44EABF93BB67E56D6F\",\n \"Name\": \"7-Zip 23.01 (x64)\",\n \"PiracyRisk\": 0,\n \"SoftwareId\": 6786,\n \"Version\": \"23.01\"\n }\n ],\n \"Page\": {\n \"PageCount\": 1,\n \"PageNum\": 1,\n \"PageSize\": 1000,\n \"Total\": 29\n }\n },\n \"RequestId\": \"fc18a581-36b5-4904-90c0-a206583251d9\"\n }\n}",
|
160
|
-
"title": "获取设备安装软件信息"
|
151
|
+
"document": "测试查询",
|
152
|
+
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSoftwareInformation\n<公共请求参数>\n\n{\n \"Mid\": \"1\"\n}",
|
153
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [],\n \"Page\": {\n \"PageCount\": 0,\n \"PageNum\": 1,\n \"PageSize\": 1000,\n \"Total\": 0\n }\n },\n \"RequestId\": \"6b01b324-c25a-4297-8fb7-28401163f04a\"\n }\n}",
|
154
|
+
"title": "测试查询"
|
161
155
|
}
|
162
156
|
],
|
163
157
|
"DescribeVirtualDevices": [
|
tccli/services/iss/iss_client.py
CHANGED
@@ -1369,6 +1369,58 @@ def doDescribeRecordBackupTemplate(args, parsed_globals):
|
|
1369
1369
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
1370
|
|
1371
1371
|
|
1372
|
+
def doDescribeUserDeviceList(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.IssClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1400
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
+
model = models.DescribeUserDeviceListRequest()
|
1402
|
+
model.from_json_string(json.dumps(args))
|
1403
|
+
start_time = time.time()
|
1404
|
+
while True:
|
1405
|
+
rsp = client.DescribeUserDeviceList(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 doDescribeVideoBitRate(args, parsed_globals):
|
1373
1425
|
g_param = parse_global_arg(parsed_globals)
|
1374
1426
|
|
@@ -4786,6 +4838,7 @@ ACTION_MAP = {
|
|
4786
4838
|
"DescribeDomainRegion": doDescribeDomainRegion,
|
4787
4839
|
"ListRecordBackupTemplates": doListRecordBackupTemplates,
|
4788
4840
|
"DescribeRecordBackupTemplate": doDescribeRecordBackupTemplate,
|
4841
|
+
"DescribeUserDeviceList": doDescribeUserDeviceList,
|
4789
4842
|
"DescribeVideoBitRate": doDescribeVideoBitRate,
|
4790
4843
|
"CreateVideoDownloadTask": doCreateVideoDownloadTask,
|
4791
4844
|
"DescribeRecordBackupPlan": doDescribeRecordBackupPlan,
|
@@ -385,6 +385,13 @@
|
|
385
385
|
"output": "DescribeUserDeviceResponse",
|
386
386
|
"status": "online"
|
387
387
|
},
|
388
|
+
"DescribeUserDeviceList": {
|
389
|
+
"document": "用于批量查询设备详细信息。",
|
390
|
+
"input": "DescribeUserDeviceListRequest",
|
391
|
+
"name": "批量查询设备详情",
|
392
|
+
"output": "DescribeUserDeviceListResponse",
|
393
|
+
"status": "online"
|
394
|
+
},
|
388
395
|
"DescribeVideoBitRate": {
|
389
396
|
"document": "用于获取视频通道的码率信息",
|
390
397
|
"input": "DescribeVideoBitRateRequest",
|
@@ -4238,6 +4245,22 @@
|
|
4238
4245
|
],
|
4239
4246
|
"usage": "out"
|
4240
4247
|
},
|
4248
|
+
"DescribeDeviceListData": {
|
4249
|
+
"document": "批量查询设备接口返回数据",
|
4250
|
+
"members": [
|
4251
|
+
{
|
4252
|
+
"disabled": false,
|
4253
|
+
"document": "设备详情列表",
|
4254
|
+
"example": " ",
|
4255
|
+
"member": "DescribeDeviceData",
|
4256
|
+
"name": "List",
|
4257
|
+
"output_required": true,
|
4258
|
+
"type": "list",
|
4259
|
+
"value_allowed_null": false
|
4260
|
+
}
|
4261
|
+
],
|
4262
|
+
"usage": "out"
|
4263
|
+
},
|
4241
4264
|
"DescribeDevicePresetData": {
|
4242
4265
|
"document": "查询设备预置位返回数据",
|
4243
4266
|
"members": [
|
@@ -6017,6 +6040,43 @@
|
|
6017
6040
|
],
|
6018
6041
|
"type": "object"
|
6019
6042
|
},
|
6043
|
+
"DescribeUserDeviceListRequest": {
|
6044
|
+
"document": "DescribeUserDeviceList请求参数结构体",
|
6045
|
+
"members": [
|
6046
|
+
{
|
6047
|
+
"disabled": false,
|
6048
|
+
"document": "设备Id列表",
|
6049
|
+
"example": "[\"cf40269b-324b-464b-b2aa-************\",\"9e05af80-edbd-4115-a706-************\"]",
|
6050
|
+
"member": "string",
|
6051
|
+
"name": "DeviceIds",
|
6052
|
+
"required": true,
|
6053
|
+
"type": "list"
|
6054
|
+
}
|
6055
|
+
],
|
6056
|
+
"type": "object"
|
6057
|
+
},
|
6058
|
+
"DescribeUserDeviceListResponse": {
|
6059
|
+
"document": "DescribeUserDeviceList返回参数结构体",
|
6060
|
+
"members": [
|
6061
|
+
{
|
6062
|
+
"disabled": false,
|
6063
|
+
"document": "返回结果",
|
6064
|
+
"example": " ",
|
6065
|
+
"member": "DescribeDeviceListData",
|
6066
|
+
"name": "Data",
|
6067
|
+
"output_required": true,
|
6068
|
+
"type": "object",
|
6069
|
+
"value_allowed_null": false
|
6070
|
+
},
|
6071
|
+
{
|
6072
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6073
|
+
"member": "string",
|
6074
|
+
"name": "RequestId",
|
6075
|
+
"type": "string"
|
6076
|
+
}
|
6077
|
+
],
|
6078
|
+
"type": "object"
|
6079
|
+
},
|
6020
6080
|
"DescribeUserDeviceRequest": {
|
6021
6081
|
"document": "DescribeUserDevice请求参数结构体",
|
6022
6082
|
"members": [
|
@@ -554,6 +554,14 @@
|
|
554
554
|
"title": "无效的设备Id错误"
|
555
555
|
}
|
556
556
|
],
|
557
|
+
"DescribeUserDeviceList": [
|
558
|
+
{
|
559
|
+
"document": "",
|
560
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserDeviceList\n<公共请求参数>\n\n{\n \"DeviceIds\": [\n \"da238a8c-****-4a5b-****-************\"\n ]\n}",
|
561
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"423da921-fd90-4b07-a1a4-a17b8df24e37\",\n \"Data\": {\n \"List\": [\n {\n \"DeviceId\": \"da238a8c-****-4a5b-****-************\",\n \"Name\": \"rxxxxx2710\",\n \"Code\": \"xxxxx\",\n \"Status\": 0,\n \"Region\": \"ap-shanghai\",\n \"Type\": 1,\n \"TransportProtocol\": 0,\n \"AccessProtocol\": 1,\n \"OrganizationId\": \"1\",\n \"Manufacturer\": \"\",\n \"Description\": \"\",\n \"ClusterId\": \"41xxxxxxxad-4c16-xxx-dxxx3axxxxx90\",\n \"ClusterName\": \"xxxx区\",\n \"SipId\": \"\",\n \"SipDomain\": \"\",\n \"SipIp\": \"\",\n \"SipPort\": 0,\n \"Password\": \"\",\n \"PushStreamUrl\": \"\",\n \"GatewayId\": \"\",\n \"GatewayName\": \"\",\n \"ProtocolType\": 0,\n \"ProtocolTypeName\": \"\",\n \"Ip\": \"\",\n \"Port\": 0,\n \"Username\": \"\",\n \"AudioSwitch\": 1,\n \"SubscribeSwitch\": 0,\n \"AppName\": \"tesxxxxxx\",\n \"StreamName\": \"testsxxxxx\",\n \"SilentFrameSwitch\": 0\n }\n ]\n }\n }\n}",
|
562
|
+
"title": "成功"
|
563
|
+
}
|
564
|
+
],
|
557
565
|
"DescribeVideoBitRate": [
|
558
566
|
{
|
559
567
|
"document": "正常响应",
|
@@ -9774,6 +9774,15 @@
|
|
9774
9774
|
"name": "Comment",
|
9775
9775
|
"required": false,
|
9776
9776
|
"type": "string"
|
9777
|
+
},
|
9778
|
+
{
|
9779
|
+
"disabled": false,
|
9780
|
+
"document": "录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。不填时默认值为video。",
|
9781
|
+
"example": "video",
|
9782
|
+
"member": "string",
|
9783
|
+
"name": "RecordType",
|
9784
|
+
"required": false,
|
9785
|
+
"type": "string"
|
9777
9786
|
}
|
9778
9787
|
],
|
9779
9788
|
"type": "object"
|
@@ -20018,6 +20027,16 @@
|
|
20018
20027
|
"output_required": true,
|
20019
20028
|
"type": "string",
|
20020
20029
|
"value_allowed_null": false
|
20030
|
+
},
|
20031
|
+
{
|
20032
|
+
"disabled": false,
|
20033
|
+
"document": "录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。",
|
20034
|
+
"example": "video",
|
20035
|
+
"member": "string",
|
20036
|
+
"name": "RecordType",
|
20037
|
+
"output_required": false,
|
20038
|
+
"type": "string",
|
20039
|
+
"value_allowed_null": false
|
20021
20040
|
}
|
20022
20041
|
],
|
20023
20042
|
"usage": "out"
|
@@ -21305,7 +21324,7 @@
|
|
21305
21324
|
"members": [
|
21306
21325
|
{
|
21307
21326
|
"disabled": false,
|
21308
|
-
"document": "通知类型:\
|
21327
|
+
"document": "通知类型:\nTDMQ-CMQ:消息队列\n\"URL\": 指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同[解析直播事件通知接口](https://cloud.tencent.com/document/product/862/39229) 的输出参数\n\n<font color=\"red\"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>",
|
21309
21328
|
"example": "URL",
|
21310
21329
|
"member": "string",
|
21311
21330
|
"name": "NotifyType",
|
@@ -21327,7 +21346,7 @@
|
|
21327
21346
|
},
|
21328
21347
|
{
|
21329
21348
|
"disabled": false,
|
21330
|
-
"document": "
|
21349
|
+
"document": "有 Queue 和 Topic 两种模型。",
|
21331
21350
|
"example": "Queue",
|
21332
21351
|
"member": "string",
|
21333
21352
|
"name": "CmqModel",
|
@@ -21338,7 +21357,7 @@
|
|
21338
21357
|
},
|
21339
21358
|
{
|
21340
21359
|
"disabled": false,
|
21341
|
-
"document": "CMQ 的园区,如 sh,bj 等。",
|
21360
|
+
"document": "TDMQ-CMQ 的园区,如 sh,bj 等。",
|
21342
21361
|
"example": "sh",
|
21343
21362
|
"member": "string",
|
21344
21363
|
"name": "CmqRegion",
|
@@ -21349,7 +21368,7 @@
|
|
21349
21368
|
},
|
21350
21369
|
{
|
21351
21370
|
"disabled": false,
|
21352
|
-
"document": "当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。",
|
21371
|
+
"document": "当模型为 Queue 时有效,表示接收事件通知的 TDMQ-CMQ 的队列名。",
|
21353
21372
|
"example": "mpstest-queue",
|
21354
21373
|
"member": "string",
|
21355
21374
|
"name": "QueueName",
|
@@ -21360,7 +21379,7 @@
|
|
21360
21379
|
},
|
21361
21380
|
{
|
21362
21381
|
"disabled": false,
|
21363
|
-
"document": "当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。",
|
21382
|
+
"document": "当模型为 Topic 时有效,表示接收事件通知的 TDMQ-CMQ 的主题名。",
|
21364
21383
|
"example": "mpstest-topic",
|
21365
21384
|
"member": "string",
|
21366
21385
|
"name": "TopicName",
|
@@ -21372,7 +21391,7 @@
|
|
21372
21391
|
{
|
21373
21392
|
"disabled": false,
|
21374
21393
|
"document": "用于生成回调签名的 Key。\n注意:此字段可能返回 null,表示取不到有效值。",
|
21375
|
-
"example": "
|
21394
|
+
"example": "0se***9idaY",
|
21376
21395
|
"member": "string",
|
21377
21396
|
"name": "NotifyKey",
|
21378
21397
|
"output_required": false,
|
@@ -24511,6 +24530,15 @@
|
|
24511
24530
|
"name": "Comment",
|
24512
24531
|
"required": false,
|
24513
24532
|
"type": "string"
|
24533
|
+
},
|
24534
|
+
{
|
24535
|
+
"disabled": false,
|
24536
|
+
"document": "录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。",
|
24537
|
+
"example": "video",
|
24538
|
+
"member": "string",
|
24539
|
+
"name": "RecordType",
|
24540
|
+
"required": false,
|
24541
|
+
"type": "string"
|
24514
24542
|
}
|
24515
24543
|
],
|
24516
24544
|
"type": "object"
|
@@ -7623,7 +7623,7 @@
|
|
7623
7623
|
{
|
7624
7624
|
"disabled": false,
|
7625
7625
|
"document": "setats warehouse\n注意:此字段可能返回 null,表示取不到有效值。",
|
7626
|
-
"example": "
|
7626
|
+
"example": "无",
|
7627
7627
|
"member": "Warehouse",
|
7628
7628
|
"name": "Warehouse",
|
7629
7629
|
"output_required": false,
|
@@ -7634,7 +7634,7 @@
|
|
7634
7634
|
{
|
7635
7635
|
"disabled": false,
|
7636
7636
|
"document": "setats master 机器规格\n注意:此字段可能返回 null,表示取不到有效值。",
|
7637
|
-
"example": "
|
7637
|
+
"example": "无",
|
7638
7638
|
"member": "SetatsCvmInfo",
|
7639
7639
|
"name": "MasterInfo",
|
7640
7640
|
"output_required": false,
|
@@ -7645,7 +7645,7 @@
|
|
7645
7645
|
{
|
7646
7646
|
"disabled": false,
|
7647
7647
|
"document": "setats worker规格\n注意:此字段可能返回 null,表示取不到有效值。",
|
7648
|
-
"example": "
|
7648
|
+
"example": "无",
|
7649
7649
|
"member": "SetatsCvmInfo",
|
7650
7650
|
"name": "WorkerInfo",
|
7651
7651
|
"output_required": false,
|
@@ -7656,7 +7656,7 @@
|
|
7656
7656
|
{
|
7657
7657
|
"disabled": false,
|
7658
7658
|
"document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
7659
|
-
"example": "
|
7659
|
+
"example": "无",
|
7660
7660
|
"member": "Tag",
|
7661
7661
|
"name": "Tags",
|
7662
7662
|
"output_required": false,
|
@@ -7689,7 +7689,7 @@
|
|
7689
7689
|
{
|
7690
7690
|
"disabled": false,
|
7691
7691
|
"document": "过期时间 秒\n注意:此字段可能返回 null,表示取不到有效值。",
|
7692
|
-
"example": "
|
7692
|
+
"example": "854",
|
7693
7693
|
"member": "string",
|
7694
7694
|
"name": "SecondsUntilExpiry",
|
7695
7695
|
"output_required": false,
|
@@ -143,7 +143,7 @@
|
|
143
143
|
},
|
144
144
|
"metadata": {
|
145
145
|
"apiVersion": "2022-11-28",
|
146
|
-
"api_brief": "腾讯健康组学平台API",
|
146
|
+
"api_brief": "# API简介\n\n## 概述\n腾讯健康组学平台(Tencent HealthCare Omics Platform)为生命科学行业用户提供具备行业特征的一键上云整体解决方案。具备弹性云计算、任务调度及管理能力,助力大数据分析用户快速、便捷、高效的利用腾讯云资源进行组学相关数据分析。平台支持用户自定义工作流 WDL(Workflow Description Language)语言,通过工作流管理引擎 Cromwell、Nextflow 和自研任务调度引擎精细化管理和编排任务作业,有效而广泛连接不同数据分析应用场景。\n\n本章节介绍的腾讯健康组学平台API 接口均为 [API 3.0/API 2.0等] 接口。 \n您可以调用 API 对腾讯健康组学平台进行操作,例如运行工作流。 \n腾讯健康组学平台支持的所有接口信息,请参见 [API概览](https://cloud.tencent.com/document/product/1643/89110) 。\n\n## 术语表\n腾讯健康组学平台 API 接口的常见术语请参见下表:\n\n| 术语 | 描述 |\n|------|------|\n| 环境 (Environment) | 指应用运行所需云资源的集合,包含了若干台云服务器、对象存储、文件存储等资源。为工作流和应用提供隔离的、可复现的运行条件。 |\n| 缓存卷 (Volume) | 用于在任务运行期间缓存中间数据或持久化存储结果文件。缓存卷可以独立于计算环境存在,实现数据的复用与共享。提供了可扩展的共享文件存储服务。提供了标准的 NFS 文件系统访问协议,为多个实例提供共享的数据源,支持弹性容量和性能的扩展。 |\n| 任务批次 (Run Group) | 一次应用/工作流执行的逻辑集合。通常,一次提交运行会创建一个任务批次,其中包含一个或多个任务(Run)。 |\n| 任务 (Run) | 工作流或应用的单次执行实例。每个任务都有独立的生命周期状态(如运行中、成功、失败),并产生相应的日志和结果数据。 |\n| 工作流 (Workflow) | 一系列预定义的、按特定顺序执行的计算步骤或工具的组合,用于完成一个完整的组学分析流程(如基因测序数据比对、变异检测等)。在组学平台场景下, 特指由 WDL、Nextflow 等语言编写的生信分析工作流。 |\n| 应用 (Application) | 通常指一个封装好的、用于执行特定分析功能的单个工具或脚本。 |\n| 表格 (Table) | 用于结构化存储和管理输入数据的实体。例如样本数据表等。 |\n\n## 使用限制\nAPI 调用频率限制为 20次/秒。\n\n## API 快速入门\n您可以使用 API Explorer 工具在线调用 API。\n本文以运行工作流 [RunWorkflow]( https://cloud.tencent.com/document/api/1643/100857) 为例,通过 API Explorer 工具调用 API 接口的步骤如下:\n1.进入 [使用 API Explorer]( https://console.cloud.tencent.com/api/explorer) 工具页面。更多 API Explorer 工具使用信息,请参见 [使用 API Explorer]( https://cloud.tencent.com/document/product/1278/46697) 。\n2.调用 [RunWorkflow]( https://cloud.tencent.com/document/api/1643/100857) 接口,运行指定工作流。\n3.运行工作流后即可在组学平台网站对应工作项目页面查看到正在运行的工作流批次。",
|
147
147
|
"serviceNameCN": "腾讯健康组学平台",
|
148
148
|
"serviceShortName": "omics"
|
149
149
|
},
|
@@ -851,7 +851,7 @@ def doOpenIdentityCenter(args, parsed_globals):
|
|
851
851
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
852
852
|
|
853
853
|
|
854
|
-
def
|
854
|
+
def doListGroups(args, parsed_globals):
|
855
855
|
g_param = parse_global_arg(parsed_globals)
|
856
856
|
|
857
857
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -880,11 +880,11 @@ def doDeleteUser(args, parsed_globals):
|
|
880
880
|
client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
|
881
881
|
client._sdkVersion += ("_CLI_" + __version__)
|
882
882
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
883
|
-
model = models.
|
883
|
+
model = models.ListGroupsRequest()
|
884
884
|
model.from_json_string(json.dumps(args))
|
885
885
|
start_time = time.time()
|
886
886
|
while True:
|
887
|
-
rsp = client.
|
887
|
+
rsp = client.ListGroups(model)
|
888
888
|
result = rsp.to_json_string()
|
889
889
|
try:
|
890
890
|
json_obj = json.loads(result)
|
@@ -955,7 +955,7 @@ def doGetRoleConfiguration(args, parsed_globals):
|
|
955
955
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
956
956
|
|
957
957
|
|
958
|
-
def
|
958
|
+
def doCreateOrganizationMember(args, parsed_globals):
|
959
959
|
g_param = parse_global_arg(parsed_globals)
|
960
960
|
|
961
961
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -984,11 +984,11 @@ def doDescribeShareUnitResources(args, parsed_globals):
|
|
984
984
|
client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
|
985
985
|
client._sdkVersion += ("_CLI_" + __version__)
|
986
986
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
987
|
-
model = models.
|
987
|
+
model = models.CreateOrganizationMemberRequest()
|
988
988
|
model.from_json_string(json.dumps(args))
|
989
989
|
start_time = time.time()
|
990
990
|
while True:
|
991
|
-
rsp = client.
|
991
|
+
rsp = client.CreateOrganizationMember(model)
|
992
992
|
result = rsp.to_json_string()
|
993
993
|
try:
|
994
994
|
json_obj = json.loads(result)
|
@@ -4855,7 +4855,7 @@ def doUpdateSCIMSynchronizationStatus(args, parsed_globals):
|
|
4855
4855
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4856
4856
|
|
4857
4857
|
|
4858
|
-
def
|
4858
|
+
def doDeleteUser(args, parsed_globals):
|
4859
4859
|
g_param = parse_global_arg(parsed_globals)
|
4860
4860
|
|
4861
4861
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4884,11 +4884,11 @@ def doListGroups(args, parsed_globals):
|
|
4884
4884
|
client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
|
4885
4885
|
client._sdkVersion += ("_CLI_" + __version__)
|
4886
4886
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4887
|
-
model = models.
|
4887
|
+
model = models.DeleteUserRequest()
|
4888
4888
|
model.from_json_string(json.dumps(args))
|
4889
4889
|
start_time = time.time()
|
4890
4890
|
while True:
|
4891
|
-
rsp = client.
|
4891
|
+
rsp = client.DeleteUser(model)
|
4892
4892
|
result = rsp.to_json_string()
|
4893
4893
|
try:
|
4894
4894
|
json_obj = json.loads(result)
|
@@ -4907,7 +4907,7 @@ def doListGroups(args, parsed_globals):
|
|
4907
4907
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4908
4908
|
|
4909
4909
|
|
4910
|
-
def
|
4910
|
+
def doDescribeShareUnitResources(args, parsed_globals):
|
4911
4911
|
g_param = parse_global_arg(parsed_globals)
|
4912
4912
|
|
4913
4913
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4936,11 +4936,11 @@ def doCreateOrganizationMember(args, parsed_globals):
|
|
4936
4936
|
client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
|
4937
4937
|
client._sdkVersion += ("_CLI_" + __version__)
|
4938
4938
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4939
|
-
model = models.
|
4939
|
+
model = models.DescribeShareUnitResourcesRequest()
|
4940
4940
|
model.from_json_string(json.dumps(args))
|
4941
4941
|
start_time = time.time()
|
4942
4942
|
while True:
|
4943
|
-
rsp = client.
|
4943
|
+
rsp = client.DescribeShareUnitResources(model)
|
4944
4944
|
result = rsp.to_json_string()
|
4945
4945
|
try:
|
4946
4946
|
json_obj = json.loads(result)
|
@@ -5115,6 +5115,58 @@ def doCreatePolicy(args, parsed_globals):
|
|
5115
5115
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5116
5116
|
|
5117
5117
|
|
5118
|
+
def doDescribeOrganizationMembersAuthPolicy(args, parsed_globals):
|
5119
|
+
g_param = parse_global_arg(parsed_globals)
|
5120
|
+
|
5121
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5122
|
+
cred = credential.CVMRoleCredential()
|
5123
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5124
|
+
cred = credential.STSAssumeRoleCredential(
|
5125
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5126
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5127
|
+
)
|
5128
|
+
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):
|
5129
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5130
|
+
else:
|
5131
|
+
cred = credential.Credential(
|
5132
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5133
|
+
)
|
5134
|
+
http_profile = HttpProfile(
|
5135
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5136
|
+
reqMethod="POST",
|
5137
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5138
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5139
|
+
)
|
5140
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5141
|
+
if g_param[OptionsDefine.Language]:
|
5142
|
+
profile.language = g_param[OptionsDefine.Language]
|
5143
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5144
|
+
client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
|
5145
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5146
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5147
|
+
model = models.DescribeOrganizationMembersAuthPolicyRequest()
|
5148
|
+
model.from_json_string(json.dumps(args))
|
5149
|
+
start_time = time.time()
|
5150
|
+
while True:
|
5151
|
+
rsp = client.DescribeOrganizationMembersAuthPolicy(model)
|
5152
|
+
result = rsp.to_json_string()
|
5153
|
+
try:
|
5154
|
+
json_obj = json.loads(result)
|
5155
|
+
except TypeError as e:
|
5156
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5157
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5158
|
+
break
|
5159
|
+
cur_time = time.time()
|
5160
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5161
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5162
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5163
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5164
|
+
else:
|
5165
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5166
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5167
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5168
|
+
|
5169
|
+
|
5118
5170
|
def doGetProvisioningTaskStatus(args, parsed_globals):
|
5119
5171
|
g_param = parse_global_arg(parsed_globals)
|
5120
5172
|
|
@@ -7328,9 +7380,9 @@ ACTION_MAP = {
|
|
7328
7380
|
"SendOrganizationInvitation": doSendOrganizationInvitation,
|
7329
7381
|
"CreateOrganizationMemberAuthIdentity": doCreateOrganizationMemberAuthIdentity,
|
7330
7382
|
"OpenIdentityCenter": doOpenIdentityCenter,
|
7331
|
-
"
|
7383
|
+
"ListGroups": doListGroups,
|
7332
7384
|
"GetRoleConfiguration": doGetRoleConfiguration,
|
7333
|
-
"
|
7385
|
+
"CreateOrganizationMember": doCreateOrganizationMember,
|
7334
7386
|
"DenyOrganizationInvitation": doDenyOrganizationInvitation,
|
7335
7387
|
"DescribeOrganizationMemberEmailBind": doDescribeOrganizationMemberEmailBind,
|
7336
7388
|
"DeleteShareUnitResources": doDeleteShareUnitResources,
|
@@ -7405,11 +7457,12 @@ ACTION_MAP = {
|
|
7405
7457
|
"DescribeOrganization": doDescribeOrganization,
|
7406
7458
|
"ListOrganizationMembers": doListOrganizationMembers,
|
7407
7459
|
"UpdateSCIMSynchronizationStatus": doUpdateSCIMSynchronizationStatus,
|
7408
|
-
"
|
7409
|
-
"
|
7460
|
+
"DeleteUser": doDeleteUser,
|
7461
|
+
"DescribeShareUnitResources": doDescribeShareUnitResources,
|
7410
7462
|
"BindOrganizationMemberAuthAccount": doBindOrganizationMemberAuthAccount,
|
7411
7463
|
"UpdateGroup": doUpdateGroup,
|
7412
7464
|
"CreatePolicy": doCreatePolicy,
|
7465
|
+
"DescribeOrganizationMembersAuthPolicy": doDescribeOrganizationMembersAuthPolicy,
|
7413
7466
|
"GetProvisioningTaskStatus": doGetProvisioningTaskStatus,
|
7414
7467
|
"UpdateOrganizationNode": doUpdateOrganizationNode,
|
7415
7468
|
"UpdateShareUnit": doUpdateShareUnit,
|