tccli 3.0.1139.1__py2.py3-none-any.whl → 3.0.1141.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/cynosdb/v20190107/api.json +113 -33
- tccli/services/cynosdb/v20190107/examples.json +3 -3
- tccli/services/domain/v20180808/api.json +30 -30
- tccli/services/emr/v20190103/api.json +11 -2
- tccli/services/ess/v20201111/api.json +23 -14
- tccli/services/ess/v20201111/examples.json +4 -4
- tccli/services/essbasic/v20210526/api.json +13 -13
- tccli/services/essbasic/v20210526/examples.json +2 -2
- 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/mmps/v20200710/api.json +3 -3
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/scf/v20180416/api.json +10 -10
- 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/v20191205/api.json +76 -25
- tccli/services/ssl/v20191205/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +5 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +2086 -217
- tccli/services/vpc/v20170312/examples.json +151 -1
- tccli/services/vpc/vpc_client.py +1180 -226
- tccli/services/waf/v20180125/api.json +0 -43
- tccli/services/waf/v20180125/examples.json +0 -8
- tccli/services/waf/waf_client.py +0 -53
- tccli/services/wedata/v20210820/api.json +360 -0
- tccli/services/wedata/v20210820/examples.json +28 -0
- tccli/services/wedata/wedata_client.py +114 -8
- {tccli-3.0.1139.1.dist-info → tccli-3.0.1141.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1139.1.dist-info → tccli-3.0.1141.1.dist-info}/RECORD +38 -38
- {tccli-3.0.1139.1.dist-info → tccli-3.0.1141.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1139.1.dist-info → tccli-3.0.1141.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1139.1.dist-info → tccli-3.0.1141.1.dist-info}/license_files/LICENSE +0 -0
@@ -9237,6 +9237,16 @@
|
|
9237
9237
|
"type": "int",
|
9238
9238
|
"value_allowed_null": false
|
9239
9239
|
},
|
9240
|
+
{
|
9241
|
+
"disabled": false,
|
9242
|
+
"document": "分类统计\n注意:此字段可能返回 null,表示取不到有效值。",
|
9243
|
+
"example": "无",
|
9244
|
+
"member": "TWeCallCategoryPkgInfo",
|
9245
|
+
"name": "TWeCallCategoryPkgList",
|
9246
|
+
"output_required": false,
|
9247
|
+
"type": "list",
|
9248
|
+
"value_allowed_null": true
|
9249
|
+
},
|
9240
9250
|
{
|
9241
9251
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9242
9252
|
"member": "string",
|
@@ -12682,6 +12692,45 @@
|
|
12682
12692
|
],
|
12683
12693
|
"usage": "out"
|
12684
12694
|
},
|
12695
|
+
"TWeCallCategoryPkgInfo": {
|
12696
|
+
"document": "TWeCall分类统计数据",
|
12697
|
+
"members": [
|
12698
|
+
{
|
12699
|
+
"disabled": false,
|
12700
|
+
"document": "类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
12701
|
+
"example": "1",
|
12702
|
+
"member": "int64",
|
12703
|
+
"name": "PkgType",
|
12704
|
+
"output_required": false,
|
12705
|
+
"required": false,
|
12706
|
+
"type": "int",
|
12707
|
+
"value_allowed_null": true
|
12708
|
+
},
|
12709
|
+
{
|
12710
|
+
"disabled": false,
|
12711
|
+
"document": "总数\n注意:此字段可能返回 null,表示取不到有效值。",
|
12712
|
+
"example": "10",
|
12713
|
+
"member": "int64",
|
12714
|
+
"name": "All",
|
12715
|
+
"output_required": false,
|
12716
|
+
"required": false,
|
12717
|
+
"type": "int",
|
12718
|
+
"value_allowed_null": true
|
12719
|
+
},
|
12720
|
+
{
|
12721
|
+
"disabled": false,
|
12722
|
+
"document": "已使用数\n注意:此字段可能返回 null,表示取不到有效值。",
|
12723
|
+
"example": "2",
|
12724
|
+
"member": "int64",
|
12725
|
+
"name": "Used",
|
12726
|
+
"output_required": false,
|
12727
|
+
"required": false,
|
12728
|
+
"type": "int",
|
12729
|
+
"value_allowed_null": true
|
12730
|
+
}
|
12731
|
+
],
|
12732
|
+
"usage": "both"
|
12733
|
+
},
|
12685
12734
|
"TWeCallInfo": {
|
12686
12735
|
"document": "TWeCall信息",
|
12687
12736
|
"members": [
|
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任务不存在",
|
@@ -1362,7 +1362,7 @@
|
|
1362
1362
|
"example": "0",
|
1363
1363
|
"member": "int64",
|
1364
1364
|
"name": "Ret",
|
1365
|
-
"
|
1365
|
+
"output_required": true,
|
1366
1366
|
"type": "int",
|
1367
1367
|
"value_allowed_null": false
|
1368
1368
|
},
|
@@ -1372,7 +1372,7 @@
|
|
1372
1372
|
"example": "无",
|
1373
1373
|
"member": "ResourceUsageInfoData",
|
1374
1374
|
"name": "Data",
|
1375
|
-
"
|
1375
|
+
"output_required": true,
|
1376
1376
|
"type": "list",
|
1377
1377
|
"value_allowed_null": false
|
1378
1378
|
},
|
@@ -1382,7 +1382,7 @@
|
|
1382
1382
|
"example": "1",
|
1383
1383
|
"member": "int64",
|
1384
1384
|
"name": "Total",
|
1385
|
-
"
|
1385
|
+
"output_required": true,
|
1386
1386
|
"type": "int",
|
1387
1387
|
"value_allowed_null": false
|
1388
1388
|
},
|
@@ -169,7 +169,7 @@
|
|
169
169
|
"status": "online"
|
170
170
|
},
|
171
171
|
"InvokeFunction": {
|
172
|
-
"document": "
|
172
|
+
"document": "SCF同步调用函数接口。",
|
173
173
|
"input": "InvokeFunctionRequest",
|
174
174
|
"name": "同步Invoke调用接口",
|
175
175
|
"output": "InvokeFunctionResponse",
|
@@ -3775,7 +3775,7 @@
|
|
3775
3775
|
"example": "无",
|
3776
3776
|
"member": "Result",
|
3777
3777
|
"name": "Result",
|
3778
|
-
"
|
3778
|
+
"output_required": true,
|
3779
3779
|
"type": "object",
|
3780
3780
|
"value_allowed_null": false
|
3781
3781
|
},
|
@@ -5776,7 +5776,7 @@
|
|
5776
5776
|
"example": "\"\"",
|
5777
5777
|
"member": "string",
|
5778
5778
|
"name": "Log",
|
5779
|
-
"
|
5779
|
+
"output_required": true,
|
5780
5780
|
"type": "string",
|
5781
5781
|
"value_allowed_null": false
|
5782
5782
|
},
|
@@ -5786,7 +5786,7 @@
|
|
5786
5786
|
"example": "\"hello from scf\"",
|
5787
5787
|
"member": "string",
|
5788
5788
|
"name": "RetMsg",
|
5789
|
-
"
|
5789
|
+
"output_required": true,
|
5790
5790
|
"type": "string",
|
5791
5791
|
"value_allowed_null": false
|
5792
5792
|
},
|
@@ -5796,7 +5796,7 @@
|
|
5796
5796
|
"example": "\" \"",
|
5797
5797
|
"member": "string",
|
5798
5798
|
"name": "ErrMsg",
|
5799
|
-
"
|
5799
|
+
"output_required": true,
|
5800
5800
|
"type": "string",
|
5801
5801
|
"value_allowed_null": false
|
5802
5802
|
},
|
@@ -5806,7 +5806,7 @@
|
|
5806
5806
|
"example": "32",
|
5807
5807
|
"member": "int64",
|
5808
5808
|
"name": "MemUsage",
|
5809
|
-
"
|
5809
|
+
"output_required": true,
|
5810
5810
|
"type": "int",
|
5811
5811
|
"value_allowed_null": false
|
5812
5812
|
},
|
@@ -5816,7 +5816,7 @@
|
|
5816
5816
|
"example": "100",
|
5817
5817
|
"member": "float",
|
5818
5818
|
"name": "Duration",
|
5819
|
-
"
|
5819
|
+
"output_required": true,
|
5820
5820
|
"type": "float",
|
5821
5821
|
"value_allowed_null": false
|
5822
5822
|
},
|
@@ -5826,7 +5826,7 @@
|
|
5826
5826
|
"example": "100",
|
5827
5827
|
"member": "int64",
|
5828
5828
|
"name": "BillDuration",
|
5829
|
-
"
|
5829
|
+
"output_required": true,
|
5830
5830
|
"type": "int",
|
5831
5831
|
"value_allowed_null": false
|
5832
5832
|
},
|
@@ -5836,7 +5836,7 @@
|
|
5836
5836
|
"example": "c2af8a64-c922-4d55-aee0-bd86a5c2cd12",
|
5837
5837
|
"member": "string",
|
5838
5838
|
"name": "FunctionRequestId",
|
5839
|
-
"
|
5839
|
+
"output_required": true,
|
5840
5840
|
"type": "string",
|
5841
5841
|
"value_allowed_null": false
|
5842
5842
|
},
|
@@ -5846,7 +5846,7 @@
|
|
5846
5846
|
"example": "200",
|
5847
5847
|
"member": "int64",
|
5848
5848
|
"name": "InvokeResult",
|
5849
|
-
"
|
5849
|
+
"output_required": true,
|
5850
5850
|
"type": "int",
|
5851
5851
|
"value_allowed_null": false
|
5852
5852
|
}
|