tccli 3.0.1138.1__py2.py3-none-any.whl → 3.0.1140.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/__init__.py +3 -0
- tccli/services/aiart/aiart_client.py +53 -0
- tccli/services/aiart/v20221229/api.json +98 -0
- tccli/services/aiart/v20221229/examples.json +8 -0
- tccli/services/cbs/v20170312/api.json +5 -8
- tccli/services/cls/v20201016/api.json +20 -0
- tccli/services/cwp/cwp_client.py +61 -114
- tccli/services/cwp/v20180228/api.json +0 -70
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/emr/v20190103/api.json +543 -15
- tccli/services/emr/v20190103/examples.json +4 -4
- tccli/services/ess/v20201111/api.json +13 -13
- tccli/services/ess/v20201111/examples.json +2 -2
- tccli/services/essbasic/v20210526/api.json +14 -14
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/ims/v20201229/api.json +2 -2
- tccli/services/ioa/v20220601/api.json +132 -92
- tccli/services/iotexplorer/v20190423/api.json +49 -0
- tccli/services/iss/iss_client.py +114 -8
- tccli/services/iss/v20230517/api.json +221 -0
- tccli/services/iss/v20230517/examples.json +16 -0
- tccli/services/mps/v20190612/api.json +163 -115
- tccli/services/mps/v20190612/examples.json +11 -11
- tccli/services/ocr/v20181119/api.json +19 -0
- tccli/services/rum/v20210622/api.json +1 -0
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/ses/ses_client.py +228 -16
- tccli/services/ses/v20201002/api.json +266 -0
- tccli/services/ses/v20201002/examples.json +32 -0
- tccli/services/ssl/ssl_client.py +53 -0
- tccli/services/ssl/v20191205/api.json +93 -3
- tccli/services/ssl/v20191205/examples.json +9 -1
- tccli/services/tcr/v20190924/api.json +5 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +166 -19
- tccli/services/tdmq/v20200217/examples.json +6 -6
- tccli/services/vclm/__init__.py +4 -0
- tccli/services/vclm/v20240523/api.json +695 -0
- tccli/services/vclm/v20240523/examples.json +73 -0
- tccli/services/vclm/vclm_client.py +513 -0
- tccli/services/vdb/v20230616/api.json +20 -0
- tccli/services/vpc/v20170312/api.json +5 -5
- tccli/services/vpc/v20170312/examples.json +1 -1
- {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/RECORD +49 -45
- {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1138.1.dist-info → tccli-3.0.1140.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/iss/iss_client.py
CHANGED
@@ -2773,6 +2773,58 @@ def doAddRecordPlan(args, parsed_globals):
|
|
2773
2773
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2774
2774
|
|
2775
2775
|
|
2776
|
+
def doSetForbidPlayChannels(args, parsed_globals):
|
2777
|
+
g_param = parse_global_arg(parsed_globals)
|
2778
|
+
|
2779
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2780
|
+
cred = credential.CVMRoleCredential()
|
2781
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2782
|
+
cred = credential.STSAssumeRoleCredential(
|
2783
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2784
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2785
|
+
)
|
2786
|
+
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):
|
2787
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2788
|
+
else:
|
2789
|
+
cred = credential.Credential(
|
2790
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2791
|
+
)
|
2792
|
+
http_profile = HttpProfile(
|
2793
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2794
|
+
reqMethod="POST",
|
2795
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2796
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2797
|
+
)
|
2798
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2799
|
+
if g_param[OptionsDefine.Language]:
|
2800
|
+
profile.language = g_param[OptionsDefine.Language]
|
2801
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2802
|
+
client = mod.IssClient(cred, g_param[OptionsDefine.Region], profile)
|
2803
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2804
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2805
|
+
model = models.SetForbidPlayChannelsRequest()
|
2806
|
+
model.from_json_string(json.dumps(args))
|
2807
|
+
start_time = time.time()
|
2808
|
+
while True:
|
2809
|
+
rsp = client.SetForbidPlayChannels(model)
|
2810
|
+
result = rsp.to_json_string()
|
2811
|
+
try:
|
2812
|
+
json_obj = json.loads(result)
|
2813
|
+
except TypeError as e:
|
2814
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2815
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2816
|
+
break
|
2817
|
+
cur_time = time.time()
|
2818
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2819
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2820
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2821
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2822
|
+
else:
|
2823
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2824
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2825
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2826
|
+
|
2827
|
+
|
2776
2828
|
def doUpdateRecordBackupPlan(args, parsed_globals):
|
2777
2829
|
g_param = parse_global_arg(parsed_globals)
|
2778
2830
|
|
@@ -2825,7 +2877,7 @@ def doUpdateRecordBackupPlan(args, parsed_globals):
|
|
2825
2877
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2826
2878
|
|
2827
2879
|
|
2828
|
-
def
|
2880
|
+
def doListAITasks(args, parsed_globals):
|
2829
2881
|
g_param = parse_global_arg(parsed_globals)
|
2830
2882
|
|
2831
2883
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2854,11 +2906,11 @@ def doListRecordTemplates(args, parsed_globals):
|
|
2854
2906
|
client = mod.IssClient(cred, g_param[OptionsDefine.Region], profile)
|
2855
2907
|
client._sdkVersion += ("_CLI_" + __version__)
|
2856
2908
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2857
|
-
model = models.
|
2909
|
+
model = models.ListAITasksRequest()
|
2858
2910
|
model.from_json_string(json.dumps(args))
|
2859
2911
|
start_time = time.time()
|
2860
2912
|
while True:
|
2861
|
-
rsp = client.
|
2913
|
+
rsp = client.ListAITasks(model)
|
2862
2914
|
result = rsp.to_json_string()
|
2863
2915
|
try:
|
2864
2916
|
json_obj = json.loads(result)
|
@@ -3241,7 +3293,7 @@ def doUpdateAITask(args, parsed_globals):
|
|
3241
3293
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3242
3294
|
|
3243
3295
|
|
3244
|
-
def
|
3296
|
+
def doQueryForbidPlayChannelList(args, parsed_globals):
|
3245
3297
|
g_param = parse_global_arg(parsed_globals)
|
3246
3298
|
|
3247
3299
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3270,11 +3322,63 @@ def doListAITasks(args, parsed_globals):
|
|
3270
3322
|
client = mod.IssClient(cred, g_param[OptionsDefine.Region], profile)
|
3271
3323
|
client._sdkVersion += ("_CLI_" + __version__)
|
3272
3324
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3273
|
-
model = models.
|
3325
|
+
model = models.QueryForbidPlayChannelListRequest()
|
3274
3326
|
model.from_json_string(json.dumps(args))
|
3275
3327
|
start_time = time.time()
|
3276
3328
|
while True:
|
3277
|
-
rsp = client.
|
3329
|
+
rsp = client.QueryForbidPlayChannelList(model)
|
3330
|
+
result = rsp.to_json_string()
|
3331
|
+
try:
|
3332
|
+
json_obj = json.loads(result)
|
3333
|
+
except TypeError as e:
|
3334
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3335
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3336
|
+
break
|
3337
|
+
cur_time = time.time()
|
3338
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3339
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3340
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3341
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3342
|
+
else:
|
3343
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3344
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3345
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3346
|
+
|
3347
|
+
|
3348
|
+
def doListRecordTemplates(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.IssClient(cred, g_param[OptionsDefine.Region], profile)
|
3375
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3376
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3377
|
+
model = models.ListRecordTemplatesRequest()
|
3378
|
+
model.from_json_string(json.dumps(args))
|
3379
|
+
start_time = time.time()
|
3380
|
+
while True:
|
3381
|
+
rsp = client.ListRecordTemplates(model)
|
3278
3382
|
result = rsp.to_json_string()
|
3279
3383
|
try:
|
3280
3384
|
json_obj = json.loads(result)
|
@@ -4345,8 +4449,9 @@ ACTION_MAP = {
|
|
4345
4449
|
"CheckDomain": doCheckDomain,
|
4346
4450
|
"AddRecordTemplate": doAddRecordTemplate,
|
4347
4451
|
"AddRecordPlan": doAddRecordPlan,
|
4452
|
+
"SetForbidPlayChannels": doSetForbidPlayChannels,
|
4348
4453
|
"UpdateRecordBackupPlan": doUpdateRecordBackupPlan,
|
4349
|
-
"
|
4454
|
+
"ListAITasks": doListAITasks,
|
4350
4455
|
"DescribeOrganization": doDescribeOrganization,
|
4351
4456
|
"ListOrganizationChannelNumbers": doListOrganizationChannelNumbers,
|
4352
4457
|
"ListGateways": doListGateways,
|
@@ -4354,7 +4459,8 @@ ACTION_MAP = {
|
|
4354
4459
|
"ControlDevicePTZ": doControlDevicePTZ,
|
4355
4460
|
"UpdateAITaskStatus": doUpdateAITaskStatus,
|
4356
4461
|
"UpdateAITask": doUpdateAITask,
|
4357
|
-
"
|
4462
|
+
"QueryForbidPlayChannelList": doQueryForbidPlayChannelList,
|
4463
|
+
"ListRecordTemplates": doListRecordTemplates,
|
4358
4464
|
"ListRecordPlanDevices": doListRecordPlanDevices,
|
4359
4465
|
"UpgradeGateway": doUpgradeGateway,
|
4360
4466
|
"UpdateRecordBackupTemplate": doUpdateRecordBackupTemplate,
|
@@ -483,6 +483,13 @@
|
|
483
483
|
"output": "PlayRecordResponse",
|
484
484
|
"status": "online"
|
485
485
|
},
|
486
|
+
"QueryForbidPlayChannelList": {
|
487
|
+
"document": "查询禁播通道列表",
|
488
|
+
"input": "QueryForbidPlayChannelListRequest",
|
489
|
+
"name": "查询禁播通道列表",
|
490
|
+
"output": "QueryForbidPlayChannelListResponse",
|
491
|
+
"status": "online"
|
492
|
+
},
|
486
493
|
"RefreshDeviceChannel": {
|
487
494
|
"document": "用于刷新国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。",
|
488
495
|
"input": "RefreshDeviceChannelRequest",
|
@@ -490,6 +497,13 @@
|
|
490
497
|
"output": "RefreshDeviceChannelResponse",
|
491
498
|
"status": "online"
|
492
499
|
},
|
500
|
+
"SetForbidPlayChannels": {
|
501
|
+
"document": "禁止主、子账号对视频通道的实况预览",
|
502
|
+
"input": "SetForbidPlayChannelsRequest",
|
503
|
+
"name": "设置通道禁止播流",
|
504
|
+
"output": "SetForbidPlayChannelsResponse",
|
505
|
+
"status": "online"
|
506
|
+
},
|
493
507
|
"UpdateAITask": {
|
494
508
|
"document": "更新AI任务",
|
495
509
|
"input": "UpdateAITaskRequest",
|
@@ -2506,6 +2520,52 @@
|
|
2506
2520
|
],
|
2507
2521
|
"usage": "out"
|
2508
2522
|
},
|
2523
|
+
"ChannelAttrInfo": {
|
2524
|
+
"document": "通道属性信息",
|
2525
|
+
"members": [
|
2526
|
+
{
|
2527
|
+
"disabled": false,
|
2528
|
+
"document": "设备通道所属的设备ID",
|
2529
|
+
"example": "389708b2-bcbb-********-a61f528b2a15",
|
2530
|
+
"member": "string",
|
2531
|
+
"name": "DeviceId",
|
2532
|
+
"output_required": true,
|
2533
|
+
"type": "string",
|
2534
|
+
"value_allowed_null": false
|
2535
|
+
},
|
2536
|
+
{
|
2537
|
+
"disabled": false,
|
2538
|
+
"document": "设备通道所属的设备名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
2539
|
+
"example": "NVR05",
|
2540
|
+
"member": "string",
|
2541
|
+
"name": "DeviceName",
|
2542
|
+
"output_required": true,
|
2543
|
+
"type": "string",
|
2544
|
+
"value_allowed_null": true
|
2545
|
+
},
|
2546
|
+
{
|
2547
|
+
"disabled": false,
|
2548
|
+
"document": "设备通道ID",
|
2549
|
+
"example": "53ca64d3-9627-********-cea5122f6977",
|
2550
|
+
"member": "string",
|
2551
|
+
"name": "ChannelId",
|
2552
|
+
"output_required": true,
|
2553
|
+
"type": "string",
|
2554
|
+
"value_allowed_null": false
|
2555
|
+
},
|
2556
|
+
{
|
2557
|
+
"disabled": false,
|
2558
|
+
"document": "设备通道名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
2559
|
+
"example": "PTZ03",
|
2560
|
+
"member": "string",
|
2561
|
+
"name": "ChannelName",
|
2562
|
+
"output_required": true,
|
2563
|
+
"type": "string",
|
2564
|
+
"value_allowed_null": true
|
2565
|
+
}
|
2566
|
+
],
|
2567
|
+
"usage": "out"
|
2568
|
+
},
|
2509
2569
|
"ChannelInfo": {
|
2510
2570
|
"document": "通道及通道所属设备信息",
|
2511
2571
|
"members": [
|
@@ -6405,6 +6465,52 @@
|
|
6405
6465
|
],
|
6406
6466
|
"type": "object"
|
6407
6467
|
},
|
6468
|
+
"ListForbidplayChannelsData": {
|
6469
|
+
"document": "用户禁止播流的通道列表返回数据",
|
6470
|
+
"members": [
|
6471
|
+
{
|
6472
|
+
"disabled": false,
|
6473
|
+
"document": "第几页",
|
6474
|
+
"example": "1",
|
6475
|
+
"member": "int64",
|
6476
|
+
"name": "PageNumber",
|
6477
|
+
"output_required": true,
|
6478
|
+
"type": "int",
|
6479
|
+
"value_allowed_null": false
|
6480
|
+
},
|
6481
|
+
{
|
6482
|
+
"disabled": false,
|
6483
|
+
"document": "当前页的设备数量",
|
6484
|
+
"example": "10",
|
6485
|
+
"member": "int64",
|
6486
|
+
"name": "PageSize",
|
6487
|
+
"output_required": true,
|
6488
|
+
"type": "int",
|
6489
|
+
"value_allowed_null": false
|
6490
|
+
},
|
6491
|
+
{
|
6492
|
+
"disabled": false,
|
6493
|
+
"document": "本次查询的设备通道总数",
|
6494
|
+
"example": "100",
|
6495
|
+
"member": "int64",
|
6496
|
+
"name": "TotalCount",
|
6497
|
+
"output_required": true,
|
6498
|
+
"type": "int",
|
6499
|
+
"value_allowed_null": false
|
6500
|
+
},
|
6501
|
+
{
|
6502
|
+
"disabled": false,
|
6503
|
+
"document": "设备通道信息列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
6504
|
+
"example": "无",
|
6505
|
+
"member": "ChannelAttrInfo",
|
6506
|
+
"name": "List",
|
6507
|
+
"output_required": true,
|
6508
|
+
"type": "list",
|
6509
|
+
"value_allowed_null": true
|
6510
|
+
}
|
6511
|
+
],
|
6512
|
+
"usage": "out"
|
6513
|
+
},
|
6408
6514
|
"ListGatewayDevicesData": {
|
6409
6515
|
"document": "查询网关设备列表返回数据",
|
6410
6516
|
"members": [
|
@@ -7917,6 +8023,61 @@
|
|
7917
8023
|
],
|
7918
8024
|
"type": "object"
|
7919
8025
|
},
|
8026
|
+
"QueryForbidPlayChannelListRequest": {
|
8027
|
+
"document": "QueryForbidPlayChannelList请求参数结构体",
|
8028
|
+
"members": [
|
8029
|
+
{
|
8030
|
+
"disabled": false,
|
8031
|
+
"document": "子用户uin,也可以是主用户的uin",
|
8032
|
+
"example": "12*******36",
|
8033
|
+
"member": "string",
|
8034
|
+
"name": "UserId",
|
8035
|
+
"required": true,
|
8036
|
+
"type": "string"
|
8037
|
+
},
|
8038
|
+
{
|
8039
|
+
"disabled": false,
|
8040
|
+
"document": "每页最大数量,最大为200,超过按照200返回",
|
8041
|
+
"example": "10",
|
8042
|
+
"member": "int64",
|
8043
|
+
"name": "PageSize",
|
8044
|
+
"required": true,
|
8045
|
+
"type": "int"
|
8046
|
+
},
|
8047
|
+
{
|
8048
|
+
"disabled": false,
|
8049
|
+
"document": "第几页",
|
8050
|
+
"example": "1",
|
8051
|
+
"member": "int64",
|
8052
|
+
"name": "PageNumber",
|
8053
|
+
"required": true,
|
8054
|
+
"type": "int"
|
8055
|
+
}
|
8056
|
+
],
|
8057
|
+
"type": "object"
|
8058
|
+
},
|
8059
|
+
"QueryForbidPlayChannelListResponse": {
|
8060
|
+
"document": "QueryForbidPlayChannelList返回参数结构体",
|
8061
|
+
"members": [
|
8062
|
+
{
|
8063
|
+
"disabled": false,
|
8064
|
+
"document": "返回结果\n注意:此字段可能返回 null,表示取不到有效值。",
|
8065
|
+
"example": "无",
|
8066
|
+
"member": "ListForbidplayChannelsData",
|
8067
|
+
"name": "Data",
|
8068
|
+
"output_required": true,
|
8069
|
+
"type": "object",
|
8070
|
+
"value_allowed_null": true
|
8071
|
+
},
|
8072
|
+
{
|
8073
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8074
|
+
"member": "string",
|
8075
|
+
"name": "RequestId",
|
8076
|
+
"type": "string"
|
8077
|
+
}
|
8078
|
+
],
|
8079
|
+
"type": "object"
|
8080
|
+
},
|
7920
8081
|
"RecordPlanBaseInfo": {
|
7921
8082
|
"document": "实时上云计划基础信息",
|
7922
8083
|
"members": [
|
@@ -8457,6 +8618,66 @@
|
|
8457
8618
|
],
|
8458
8619
|
"type": "object"
|
8459
8620
|
},
|
8621
|
+
"SetForbidPlayChannelsRequest": {
|
8622
|
+
"document": "SetForbidPlayChannels请求参数结构体",
|
8623
|
+
"members": [
|
8624
|
+
{
|
8625
|
+
"disabled": false,
|
8626
|
+
"document": "要禁播的通道参数,一次最多可以设置200个通道",
|
8627
|
+
"example": "无",
|
8628
|
+
"member": "SetForbidplayChannelParam",
|
8629
|
+
"name": "Channels",
|
8630
|
+
"required": true,
|
8631
|
+
"type": "list"
|
8632
|
+
},
|
8633
|
+
{
|
8634
|
+
"disabled": false,
|
8635
|
+
"document": "用户uin,可以是子用户的也可以是主用户的uin",
|
8636
|
+
"example": "12*******36",
|
8637
|
+
"member": "string",
|
8638
|
+
"name": "UserId",
|
8639
|
+
"required": true,
|
8640
|
+
"type": "string"
|
8641
|
+
}
|
8642
|
+
],
|
8643
|
+
"type": "object"
|
8644
|
+
},
|
8645
|
+
"SetForbidPlayChannelsResponse": {
|
8646
|
+
"document": "SetForbidPlayChannels返回参数结构体",
|
8647
|
+
"members": [
|
8648
|
+
{
|
8649
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8650
|
+
"member": "string",
|
8651
|
+
"name": "RequestId",
|
8652
|
+
"type": "string"
|
8653
|
+
}
|
8654
|
+
],
|
8655
|
+
"type": "object"
|
8656
|
+
},
|
8657
|
+
"SetForbidplayChannelParam": {
|
8658
|
+
"document": "设置通道禁止播流,有通道Id和使能enable字段",
|
8659
|
+
"members": [
|
8660
|
+
{
|
8661
|
+
"disabled": false,
|
8662
|
+
"document": "通道Id",
|
8663
|
+
"example": "9ee325e9984**********a805c19b4e1",
|
8664
|
+
"member": "string",
|
8665
|
+
"name": "ChannelId",
|
8666
|
+
"required": true,
|
8667
|
+
"type": "string"
|
8668
|
+
},
|
8669
|
+
{
|
8670
|
+
"disabled": false,
|
8671
|
+
"document": "是否禁止通道播流",
|
8672
|
+
"example": "true",
|
8673
|
+
"member": "bool",
|
8674
|
+
"name": "Enable",
|
8675
|
+
"required": true,
|
8676
|
+
"type": "bool"
|
8677
|
+
}
|
8678
|
+
],
|
8679
|
+
"usage": "in"
|
8680
|
+
},
|
8460
8681
|
"SmokingAIResultInfo": {
|
8461
8682
|
"document": "抽烟识别结果详情",
|
8462
8683
|
"members": [
|
@@ -732,6 +732,14 @@
|
|
732
732
|
"title": "成功"
|
733
733
|
}
|
734
734
|
],
|
735
|
+
"QueryForbidPlayChannelList": [
|
736
|
+
{
|
737
|
+
"document": "",
|
738
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryForbidPlayChannelList\n<公共请求参数>\n\n{\n \"UserId\": \"10********82\",\n \"PageSize\": 5,\n \"PageNumber\": 1\n}",
|
739
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"32525dd7-c3fc-****-****-d5beb4acd1e1\",\n \"ChannelName\": \"11\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\"\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 1,\n \"TotalCount\": 1\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}",
|
740
|
+
"title": "查询禁播列表"
|
741
|
+
}
|
742
|
+
],
|
735
743
|
"RefreshDeviceChannel": [
|
736
744
|
{
|
737
745
|
"document": " ",
|
@@ -746,6 +754,14 @@
|
|
746
754
|
"title": "设备未注册"
|
747
755
|
}
|
748
756
|
],
|
757
|
+
"SetForbidPlayChannels": [
|
758
|
+
{
|
759
|
+
"document": "",
|
760
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetForbidPlayChannels\n<公共请求参数>\n\n{\n \"UserId\": \"10********02\",\n \"Channels\": [\n {\n \"ChannelId\": \"0001a415-****-****-****-b13cfb96c778\",\n \"Enable\": true\n },\n {\n \"ChannelId\": \"00037e5f-****-****-****-f30b13a86b02\",\n \"Enable\": false\n }\n ]\n}",
|
761
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}",
|
762
|
+
"title": "通道禁播使能"
|
763
|
+
}
|
764
|
+
],
|
749
765
|
"UpdateAITask": [
|
750
766
|
{
|
751
767
|
"document": "AI任务不存在",
|