tccli 3.0.1123.1__py2.py3-none-any.whl → 3.0.1125.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/v20221229/api.json +2 -2
  3. tccli/services/asr/v20190614/api.json +1 -1
  4. tccli/services/ccc/ccc_client.py +53 -0
  5. tccli/services/ccc/v20200210/api.json +89 -0
  6. tccli/services/ccc/v20200210/examples.json +8 -0
  7. tccli/services/cdb/v20170320/api.json +2 -2
  8. tccli/services/cfw/v20190904/api.json +6 -5
  9. tccli/services/cfw/v20190904/examples.json +1 -1
  10. tccli/services/cls/v20201016/api.json +1 -1
  11. tccli/services/csip/v20221121/api.json +1 -0
  12. tccli/services/cynosdb/v20190107/api.json +56 -26
  13. tccli/services/cynosdb/v20190107/examples.json +7 -7
  14. tccli/services/dlc/dlc_client.py +602 -72
  15. tccli/services/dlc/v20210125/api.json +856 -25
  16. tccli/services/dlc/v20210125/examples.json +86 -0
  17. tccli/services/dts/v20180330/api.json +62 -37
  18. tccli/services/dts/v20180330/examples.json +1 -1
  19. tccli/services/dts/v20211206/api.json +9 -0
  20. tccli/services/eb/v20210416/api.json +63 -45
  21. tccli/services/eb/v20210416/examples.json +3 -9
  22. tccli/services/ess/v20201111/api.json +1 -1
  23. tccli/services/essbasic/v20210526/api.json +1 -1
  24. tccli/services/facefusion/facefusion_client.py +53 -0
  25. tccli/services/facefusion/v20220927/api.json +168 -0
  26. tccli/services/facefusion/v20220927/examples.json +14 -0
  27. tccli/services/hunyuan/v20230901/api.json +15 -15
  28. tccli/services/hunyuan/v20230901/examples.json +5 -5
  29. tccli/services/iotexplorer/iotexplorer_client.py +53 -0
  30. tccli/services/iotexplorer/v20190423/api.json +136 -0
  31. tccli/services/iotexplorer/v20190423/examples.json +8 -0
  32. tccli/services/mongodb/v20190725/api.json +18 -13
  33. tccli/services/monitor/v20180724/api.json +2 -2
  34. tccli/services/mps/v20190612/api.json +22 -22
  35. tccli/services/ocr/v20181119/api.json +4 -4
  36. tccli/services/ocr/v20181119/examples.json +1 -1
  37. tccli/services/postgres/postgres_client.py +57 -4
  38. tccli/services/postgres/v20170312/api.json +404 -273
  39. tccli/services/postgres/v20170312/examples.json +29 -15
  40. tccli/services/pts/v20210728/api.json +1 -1
  41. tccli/services/pts/v20210728/examples.json +1 -1
  42. tccli/services/rum/v20210622/api.json +2 -2
  43. tccli/services/rum/v20210622/examples.json +2 -2
  44. tccli/services/smh/v20210712/api.json +2 -2
  45. tccli/services/sqlserver/v20180328/api.json +41 -29
  46. tccli/services/tcss/v20201101/api.json +3 -2
  47. tccli/services/tcss/v20201101/examples.json +1 -1
  48. tccli/services/teo/v20220901/api.json +5 -5
  49. tccli/services/tione/v20211111/api.json +70 -3
  50. tccli/services/tione/v20211111/examples.json +1 -1
  51. tccli/services/trp/trp_client.py +53 -0
  52. tccli/services/trp/v20210515/api.json +110 -0
  53. tccli/services/trp/v20210515/examples.json +8 -0
  54. tccli/services/vcg/v20240404/api.json +8 -8
  55. tccli/services/vtc/v20240223/api.json +20 -0
  56. tccli/services/waf/v20180125/api.json +11 -1
  57. tccli/services/waf/v20180125/examples.json +2 -2
  58. tccli/services/wedata/v20210820/api.json +60 -7
  59. {tccli-3.0.1123.1.dist-info → tccli-3.0.1125.1.dist-info}/METADATA +2 -2
  60. {tccli-3.0.1123.1.dist-info → tccli-3.0.1125.1.dist-info}/RECORD +63 -63
  61. {tccli-3.0.1123.1.dist-info → tccli-3.0.1125.1.dist-info}/WHEEL +0 -0
  62. {tccli-3.0.1123.1.dist-info → tccli-3.0.1125.1.dist-info}/entry_points.txt +0 -0
  63. {tccli-3.0.1123.1.dist-info → tccli-3.0.1125.1.dist-info}/license_files/LICENSE +0 -0
@@ -1298,60 +1298,72 @@
1298
1298
  "members": [
1299
1299
  {
1300
1300
  "disabled": false,
1301
- "document": "网络连接类型",
1301
+ "document": "网络连接类型\n注意:此字段可能返回 null,表示取不到有效值。",
1302
1302
  "example": "privatelink",
1303
1303
  "member": "string",
1304
1304
  "name": "NetMode",
1305
+ "output_required": false,
1305
1306
  "required": true,
1306
- "type": "string"
1307
+ "type": "string",
1308
+ "value_allowed_null": true
1307
1309
  },
1308
1310
  {
1309
1311
  "disabled": false,
1310
- "document": "索引前缀",
1312
+ "document": "索引前缀\n注意:此字段可能返回 null,表示取不到有效值。",
1311
1313
  "example": "esindex",
1312
1314
  "member": "string",
1313
1315
  "name": "IndexPrefix",
1316
+ "output_required": false,
1314
1317
  "required": true,
1315
- "type": "string"
1318
+ "type": "string",
1319
+ "value_allowed_null": true
1316
1320
  },
1317
1321
  {
1318
1322
  "disabled": false,
1319
- "document": "es日志轮换粒度",
1323
+ "document": "es日志轮换粒度\n注意:此字段可能返回 null,表示取不到有效值。",
1320
1324
  "example": "none",
1321
1325
  "member": "string",
1322
1326
  "name": "RotationInterval",
1327
+ "output_required": false,
1323
1328
  "required": true,
1324
- "type": "string"
1329
+ "type": "string",
1330
+ "value_allowed_null": true
1325
1331
  },
1326
1332
  {
1327
1333
  "disabled": false,
1328
- "document": "DTS事件配置",
1334
+ "document": "DTS事件配置\n注意:此字段可能返回 null,表示取不到有效值。",
1329
1335
  "example": "default",
1330
1336
  "member": "string",
1331
1337
  "name": "OutputMode",
1338
+ "output_required": false,
1332
1339
  "required": true,
1333
- "type": "string"
1340
+ "type": "string",
1341
+ "value_allowed_null": true
1334
1342
  },
1335
1343
  {
1336
1344
  "disabled": false,
1337
- "document": "DTS索引配置",
1345
+ "document": "DTS索引配置\n注意:此字段可能返回 null,表示取不到有效值。",
1338
1346
  "example": "default",
1339
1347
  "member": "string",
1340
1348
  "name": "IndexSuffixMode",
1349
+ "output_required": false,
1341
1350
  "required": true,
1342
- "type": "string"
1351
+ "type": "string",
1352
+ "value_allowed_null": true
1343
1353
  },
1344
1354
  {
1345
1355
  "disabled": false,
1346
- "document": "es模版类型",
1356
+ "document": "es模版类型\n注意:此字段可能返回 null,表示取不到有效值。",
1347
1357
  "example": "_type",
1348
1358
  "member": "string",
1349
1359
  "name": "IndexTemplateType",
1360
+ "output_required": false,
1350
1361
  "required": false,
1351
- "type": "string"
1362
+ "type": "string",
1363
+ "value_allowed_null": true
1352
1364
  }
1353
1365
  ],
1354
- "usage": "in"
1366
+ "usage": "both"
1355
1367
  },
1356
1368
  "EtlFilter": {
1357
1369
  "document": "描述如何过滤数据",
@@ -2025,7 +2037,7 @@
2025
2037
  "example": "无",
2026
2038
  "member": "Connection",
2027
2039
  "name": "Connections",
2028
- "required": true,
2040
+ "output_required": true,
2029
2041
  "type": "list",
2030
2042
  "value_allowed_null": false
2031
2043
  },
@@ -2035,7 +2047,7 @@
2035
2047
  "example": "1",
2036
2048
  "member": "int64",
2037
2049
  "name": "TotalCount",
2038
- "required": true,
2050
+ "output_required": true,
2039
2051
  "type": "int",
2040
2052
  "value_allowed_null": false
2041
2053
  },
@@ -2246,7 +2258,7 @@
2246
2258
  },
2247
2259
  {
2248
2260
  "disabled": false,
2249
- "document": "根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)",
2261
+ "document": "根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间),name(规则名称)",
2250
2262
  "example": "ModTime",
2251
2263
  "member": "string",
2252
2264
  "name": "OrderBy",
@@ -2292,7 +2304,7 @@
2292
2304
  "example": "无",
2293
2305
  "member": "Rule",
2294
2306
  "name": "Rules",
2295
- "required": true,
2307
+ "output_required": true,
2296
2308
  "type": "list",
2297
2309
  "value_allowed_null": false
2298
2310
  },
@@ -2302,7 +2314,7 @@
2302
2314
  "example": "8",
2303
2315
  "member": "int64",
2304
2316
  "name": "TotalCount",
2305
- "required": true,
2317
+ "output_required": true,
2306
2318
  "type": "int",
2307
2319
  "value_allowed_null": false
2308
2320
  },
@@ -2384,7 +2396,7 @@
2384
2396
  "example": "1",
2385
2397
  "member": "int64",
2386
2398
  "name": "TotalCount",
2387
- "required": true,
2399
+ "output_required": true,
2388
2400
  "type": "int",
2389
2401
  "value_allowed_null": false
2390
2402
  },
@@ -2394,7 +2406,7 @@
2394
2406
  "example": "无",
2395
2407
  "member": "Target",
2396
2408
  "name": "Targets",
2397
- "required": true,
2409
+ "output_required": true,
2398
2410
  "type": "list",
2399
2411
  "value_allowed_null": false
2400
2412
  },
@@ -2717,7 +2729,7 @@
2717
2729
  "example": "Active",
2718
2730
  "member": "string",
2719
2731
  "name": "Status",
2720
- "required": true,
2732
+ "output_required": true,
2721
2733
  "type": "string",
2722
2734
  "value_allowed_null": false
2723
2735
  },
@@ -2727,7 +2739,7 @@
2727
2739
  "example": "2021-04-27T14:34:19+08:00",
2728
2740
  "member": "datetime_iso",
2729
2741
  "name": "ModTime",
2730
- "required": true,
2742
+ "output_required": true,
2731
2743
  "type": "string",
2732
2744
  "value_allowed_null": false
2733
2745
  },
@@ -2737,7 +2749,7 @@
2737
2749
  "example": "true",
2738
2750
  "member": "bool",
2739
2751
  "name": "Enable",
2740
- "required": true,
2752
+ "output_required": true,
2741
2753
  "type": "bool",
2742
2754
  "value_allowed_null": false
2743
2755
  },
@@ -2747,7 +2759,7 @@
2747
2759
  "example": "这是一个描述",
2748
2760
  "member": "string",
2749
2761
  "name": "Description",
2750
- "required": true,
2762
+ "output_required": true,
2751
2763
  "type": "string",
2752
2764
  "value_allowed_null": false
2753
2765
  },
@@ -2757,7 +2769,7 @@
2757
2769
  "example": "rule-xxxxxxxx",
2758
2770
  "member": "string",
2759
2771
  "name": "RuleId",
2760
- "required": true,
2772
+ "output_required": true,
2761
2773
  "type": "string",
2762
2774
  "value_allowed_null": false
2763
2775
  },
@@ -2767,7 +2779,7 @@
2767
2779
  "example": "2021-04-27T14:34:19+08:00",
2768
2780
  "member": "datetime_iso",
2769
2781
  "name": "AddTime",
2770
- "required": true,
2782
+ "output_required": true,
2771
2783
  "type": "string",
2772
2784
  "value_allowed_null": false
2773
2785
  },
@@ -2777,7 +2789,7 @@
2777
2789
  "example": "eb-xxxxxxxx",
2778
2790
  "member": "string",
2779
2791
  "name": "EventBusId",
2780
- "required": true,
2792
+ "output_required": true,
2781
2793
  "type": "string",
2782
2794
  "value_allowed_null": false
2783
2795
  },
@@ -2787,7 +2799,7 @@
2787
2799
  "example": "rule",
2788
2800
  "member": "string",
2789
2801
  "name": "RuleName",
2790
- "required": true,
2802
+ "output_required": true,
2791
2803
  "type": "string",
2792
2804
  "value_allowed_null": false
2793
2805
  },
@@ -2797,7 +2809,7 @@
2797
2809
  "example": "无",
2798
2810
  "member": "TargetBrief",
2799
2811
  "name": "Targets",
2800
- "required": true,
2812
+ "output_required": true,
2801
2813
  "type": "list",
2802
2814
  "value_allowed_null": true
2803
2815
  },
@@ -2807,7 +2819,7 @@
2807
2819
  "example": "无",
2808
2820
  "member": "DeadLetterConfig",
2809
2821
  "name": "DeadLetterConfig",
2810
- "required": true,
2822
+ "output_required": true,
2811
2823
  "type": "object",
2812
2824
  "value_allowed_null": true
2813
2825
  }
@@ -2819,33 +2831,39 @@
2819
2831
  "members": [
2820
2832
  {
2821
2833
  "disabled": false,
2822
- "document": "批量投递最长等待时间",
2834
+ "document": "批量投递最长等待时间\n注意:此字段可能返回 null,表示取不到有效值。",
2823
2835
  "example": "1",
2824
2836
  "member": "int64",
2825
2837
  "name": "BatchTimeout",
2838
+ "output_required": false,
2826
2839
  "required": false,
2827
- "type": "int"
2840
+ "type": "int",
2841
+ "value_allowed_null": true
2828
2842
  },
2829
2843
  {
2830
2844
  "disabled": false,
2831
- "document": "批量投递最大事件条数",
2845
+ "document": "批量投递最大事件条数\n注意:此字段可能返回 null,表示取不到有效值。",
2832
2846
  "example": "1",
2833
2847
  "member": "int64",
2834
2848
  "name": "BatchEventCount",
2849
+ "output_required": false,
2835
2850
  "required": false,
2836
- "type": "int"
2851
+ "type": "int",
2852
+ "value_allowed_null": true
2837
2853
  },
2838
2854
  {
2839
2855
  "disabled": false,
2840
- "document": "开启批量投递使能",
2856
+ "document": "开启批量投递使能\n注意:此字段可能返回 null,表示取不到有效值。",
2841
2857
  "example": "false",
2842
2858
  "member": "bool",
2843
2859
  "name": "EnableBatchDelivery",
2860
+ "output_required": false,
2844
2861
  "required": false,
2845
- "type": "bool"
2862
+ "type": "bool",
2863
+ "value_allowed_null": true
2846
2864
  }
2847
2865
  ],
2848
- "usage": "in"
2866
+ "usage": "both"
2849
2867
  },
2850
2868
  "SearchLogRequest": {
2851
2869
  "document": "SearchLog请求参数结构体",
@@ -3128,7 +3146,7 @@
3128
3146
  "example": "scf",
3129
3147
  "member": "string",
3130
3148
  "name": "Type",
3131
- "required": true,
3149
+ "output_required": true,
3132
3150
  "type": "string",
3133
3151
  "value_allowed_null": false
3134
3152
  },
@@ -3138,7 +3156,7 @@
3138
3156
  "example": "eb-xxxxxxxx",
3139
3157
  "member": "string",
3140
3158
  "name": "EventBusId",
3141
- "required": true,
3159
+ "output_required": true,
3142
3160
  "type": "string",
3143
3161
  "value_allowed_null": false
3144
3162
  },
@@ -3148,7 +3166,7 @@
3148
3166
  "example": "target-xxxxxxxx",
3149
3167
  "member": "string",
3150
3168
  "name": "TargetId",
3151
- "required": true,
3169
+ "output_required": true,
3152
3170
  "type": "string",
3153
3171
  "value_allowed_null": false
3154
3172
  },
@@ -3158,7 +3176,7 @@
3158
3176
  "example": "无",
3159
3177
  "member": "TargetDescription",
3160
3178
  "name": "TargetDescription",
3161
- "required": true,
3179
+ "output_required": true,
3162
3180
  "type": "object",
3163
3181
  "value_allowed_null": false
3164
3182
  },
@@ -3168,7 +3186,7 @@
3168
3186
  "example": "rule-xxxxxxxx",
3169
3187
  "member": "string",
3170
3188
  "name": "RuleId",
3171
- "required": true,
3189
+ "output_required": true,
3172
3190
  "type": "string",
3173
3191
  "value_allowed_null": false
3174
3192
  },
@@ -3178,7 +3196,7 @@
3178
3196
  "example": "false",
3179
3197
  "member": "bool",
3180
3198
  "name": "EnableBatchDelivery",
3181
- "required": true,
3199
+ "output_required": true,
3182
3200
  "type": "bool",
3183
3201
  "value_allowed_null": true
3184
3202
  },
@@ -3188,7 +3206,7 @@
3188
3206
  "example": "1",
3189
3207
  "member": "int64",
3190
3208
  "name": "BatchTimeout",
3191
- "required": true,
3209
+ "output_required": true,
3192
3210
  "type": "int",
3193
3211
  "value_allowed_null": true
3194
3212
  },
@@ -3198,7 +3216,7 @@
3198
3216
  "example": "1",
3199
3217
  "member": "int64",
3200
3218
  "name": "BatchEventCount",
3201
- "required": true,
3219
+ "output_required": true,
3202
3220
  "type": "int",
3203
3221
  "value_allowed_null": true
3204
3222
  }
@@ -144,16 +144,10 @@
144
144
  ],
145
145
  "ListConnections": [
146
146
  {
147
- "document": "",
147
+ "document": "获取连接器列表",
148
148
  "input": "POST / HTTP/1.1\nHost: eb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListConnections\n<公共请求参数>\n\n{\n \"EventBusId\": \"eb-l65vlc2\"\n}",
149
149
  "output": "{\n \"Response\": {\n \"Connections\": [],\n \"RequestId\": \"cec4c711-4e68-43ac-988f-00171f2b2146\",\n \"TotalCount\": 0\n }\n}",
150
150
  "title": "获取连接器列表"
151
- },
152
- {
153
- "document": "",
154
- "input": "POST / HTTP/1.1\nHost: eb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListConnections\n<公共请求参数>\n\n{\n \"EventBusId\": \"eb-l65vlc2\"\n}",
155
- "output": "{\n \"Response\": {\n \"Connections\": [\n {\n \"AddTime\": \"2021-04-29T13:13:43+08:00\",\n \"ConnectionDescription\": {\n \"APIGWParams\": null,\n \"ResourceDescription\": \"qcs::tdmq:ap-guangzhou:uin/3473058547:subscriptionName/pulsar-5r5drqo7j8/user/test/sub1\"\n },\n \"ConnectionId\": \"connection-5t492ybt\",\n \"ConnectionName\": \"conn\",\n \"Description\": \"\",\n \"Enable\": false,\n \"EventBusId\": \"eb-l65vlc2u\",\n \"ModTime\": \"2021-04-29T13:13:44+08:00\",\n \"Status\": \"Active\",\n \"Type\": \"tdmq\"\n },\n {\n \"AddTime\": \"2021-04-29T13:00:32+08:00\",\n \"ConnectionDescription\": {\n \"APIGWParams\": null,\n \"ResourceDescription\": \"qcs::tdmq:ap-guangzhou:uin/3473058547:subscriptionName/pulsar-5r5drqo7j8/user/test/sub1\"\n },\n \"ConnectionId\": \"connection-7mpfojtt\",\n \"ConnectionName\": \"conn\",\n \"Description\": \"\",\n \"Enable\": false,\n \"EventBusId\": \"eb-l65vlc2u\",\n \"ModTime\": \"2021-04-29T13:00:33+08:00\",\n \"Status\": \"Failed\",\n \"Type\": \"tdmq\"\n },\n {\n \"AddTime\": \"2021-04-29T12:58:24+08:00\",\n \"ConnectionDescription\": {\n \"APIGWParams\": null,\n \"ResourceDescription\": \"qcs::tdmq:ap-guangzhou:uin/3473058547:subscriptionName/pulsar-5r5drqo7j8/user/test/sub1\"\n },\n \"ConnectionId\": \"connection-il11bb0h\",\n \"ConnectionName\": \"conn\",\n \"Description\": \"\",\n \"Enable\": false,\n \"EventBusId\": \"eb-l65vlc2u\",\n \"ModTime\": \"2021-04-29T12:58:24+08:00\",\n \"Status\": \"Failed\",\n \"Type\": \"tdmq\"\n },\n {\n \"AddTime\": \"2021-04-29T12:01:34+08:00\",\n \"ConnectionDescription\": {\n \"APIGWParams\": null,\n \"ResourceDescription\": \"qcs::tdmq:ap-guangzhou:uin/3473058547:subscriptionName/pulsar-5r5drqo7j8/user/test/sub1\"\n },\n \"ConnectionId\": \"connection-6s29eqob\",\n \"ConnectionName\": \"conn\",\n \"Description\": \"\",\n \"Enable\": false,\n \"EventBusId\": \"eb-l65vlc2u\",\n \"ModTime\": \"2021-04-29T12:01:35+08:00\",\n \"Status\": \"Failed\",\n \"Type\": \"tdmq\"\n },\n {\n \"AddTime\": \"2021-04-29T11:46:27+08:00\",\n \"ConnectionDescription\": {\n \"APIGWParams\": null,\n \"ResourceDescription\": \"qcs::tdmq:ap-guangzhou:uin/3473058547:subscriptionName/pulsar-5r5drqo7j8/user/test/sub1\"\n },\n \"ConnectionId\": \"connection-dka58wiv\",\n \"ConnectionName\": \"conn\",\n \"Description\": \"\",\n \"Enable\": false,\n \"EventBusId\": \"eb-l65vlc2u\",\n \"ModTime\": \"2021-04-29T11:46:28+08:00\",\n \"Status\": \"Failed\",\n \"Type\": \"tdmq\"\n },\n {\n \"AddTime\": \"2021-04-29T11:42:44+08:00\",\n \"ConnectionDescription\": {\n \"APIGWParams\": null,\n \"ResourceDescription\": \"qcs::tdmq:ap-guangzhou:uin/3473058547:subscriptionName/pulsar-5r5drqo7j8/user/test/sub1\"\n },\n \"ConnectionId\": \"connection-r1o76r2d\",\n \"ConnectionName\": \"conn\",\n \"Description\": \"\",\n \"Enable\": false,\n \"EventBusId\": \"eb-l65vlc2u\",\n \"ModTime\": \"2021-04-29T11:42:44+08:00\",\n \"Status\": \"Failed\",\n \"Type\": \"tdmq\"\n },\n {\n \"AddTime\": \"2021-04-29T11:35:12+08:00\",\n \"ConnectionDescription\": {\n \"APIGWParams\": null,\n \"ResourceDescription\": \"qcs::tdmq:ap-guangzhou:uin/3473058547:subscriptionName/pulsar-5r5drqo7j8/user/test/sub1\"\n },\n \"ConnectionId\": \"connection-ay3ix129\",\n \"ConnectionName\": \"conn\",\n \"Description\": \"\",\n \"Enable\": false,\n \"EventBusId\": \"eb-l65vlc2u\",\n \"ModTime\": \"2021-04-29T11:35:13+08:00\",\n \"Status\": \"Failed\",\n \"Type\": \"tdmq\"\n },\n {\n \"AddTime\": \"2021-04-29T11:24:45+08:00\",\n \"ConnectionDescription\": {\n \"APIGWParams\": null,\n \"ResourceDescription\": \"qcs::tdmq:ap-guangzhou:uin/3473058547:subscriptionName/pulsar-5r5drqo7j8/user/test/sub1\"\n },\n \"ConnectionId\": \"connection-heno97b7\",\n \"ConnectionName\": \"conn\",\n \"Description\": \"\",\n \"Enable\": false,\n \"EventBusId\": \"eb-l65vlc2u\",\n \"ModTime\": \"2021-04-29T11:24:45+08:00\",\n \"Status\": \"Failed\",\n \"Type\": \"tdmq\"\n }\n ],\n \"RequestId\": \"e576a375-88ae-4c3f-84a9-0bf28dc7b0ee\",\n \"TotalCount\": 8\n }\n}",
156
- "title": "获取连接器列表1"
157
151
  }
158
152
  ],
159
153
  "ListEventBuses": [
@@ -198,9 +192,9 @@
198
192
  ],
199
193
  "ListTargets": [
200
194
  {
201
- "document": "",
195
+ "document": "获取目标列表",
202
196
  "input": "POST / HTTP/1.1\nHost: eb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListTargets\n<公共请求参数>\n\n{\n \"EventBusId\": \"eb-l65vlc2\",\n \"RuleId\": \"rule-fdltium8\"\n}",
203
- "output": "{\n \"Response\": {\n \"RequestId\": \"03118ade-8de2-4514-af4b-b9a2f170ddd9\",\n \"Targets\": [\n {\n \"EventBusId\": \"eb-l65vlc2u\",\n \"RuleId\": \"rule-fdltium8\",\n \"TargetDescription\": {\n \"ResourceDescription\": \"qcs::scf:ap-guanzhou:uin/3473058547:namespace/default/function/test/1\"\n },\n \"TargetId\": \"target-azwj7s7g\",\n \"Type\": \"scf\",\n \"EnableBatchDelivery\": false,\n \"BatchEventCount\": 1,\n \"BatchTimeout\": 1\n },\n {\n \"EventBusId\": \"eb-l65vlc2u\",\n \"RuleId\": \"rule-fdltium8\",\n \"TargetDescription\": {\n \"ResourceDescription\": \"qcs::scf:ap-guanzhou:uin/3473058547:namespace/default/function/test/1\"\n },\n \"TargetId\": \"target-o5yx01oq\",\n \"Type\": \"scf\",\n \"EnableBatchDelivery\": false,\n \"BatchEventCount\": 1,\n \"BatchTimeout\": 1\n },\n {\n \"EventBusId\": \"eb-l65vlc2u\",\n \"RuleId\": \"rule-fdltium8\",\n \"TargetDescription\": {\n \"ResourceDescription\": \"qcs::scf:ap-guanzhou:uin/3473058547:namespace/default/function/test/1\"\n },\n \"TargetId\": \"target-prp1ovqi\",\n \"Type\": \"scf\",\n \"EnableBatchDelivery\": false,\n \"BatchEventCount\": 1,\n \"BatchTimeout\": 1\n },\n {\n \"EventBusId\": \"eb-l65vlc2u\",\n \"RuleId\": \"rule-fdltium8\",\n \"TargetDescription\": {\n \"ResourceDescription\": \"qcs::scf:ap-guanzhou:uin/3473058547:namespace/default/function/test/1\"\n },\n \"TargetId\": \"target-krcwchke\",\n \"Type\": \"scf\",\n \"EnableBatchDelivery\": false,\n \"BatchEventCount\": 1,\n \"BatchTimeout\": 1\n },\n {\n \"EventBusId\": \"eb-l65vlc2u\",\n \"RuleId\": \"rule-fdltium8\",\n \"TargetDescription\": {\n \"ResourceDescription\": \"qcs::scf:ap-guanzhou:uin/3473058547:namespace/default/function/test/1\"\n },\n \"TargetId\": \"target-e9r3a1l0\",\n \"Type\": \"scf\",\n \"EnableBatchDelivery\": false,\n \"BatchEventCount\": 1,\n \"BatchTimeout\": 1\n }\n ],\n \"TotalCount\": 5\n }\n}",
197
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Targets\": [\n {\n \"Type\": \"abc\",\n \"EventBusId\": \"abc\",\n \"TargetId\": \"abc\",\n \"TargetDescription\": {\n \"ResourceDescription\": \"abc\",\n \"SCFParams\": {\n \"BatchTimeout\": 0,\n \"BatchEventCount\": 0,\n \"EnableBatchDelivery\": true\n },\n \"CkafkaTargetParams\": {\n \"TopicName\": \"abc\",\n \"RetryPolicy\": {\n \"RetryInterval\": 1,\n \"MaxRetryAttempts\": 1\n }\n },\n \"ESTargetParams\": {\n \"NetMode\": \"abc\",\n \"IndexPrefix\": \"abc\",\n \"IndexTemplateType\": \"abc\",\n \"RotationInterval\": \"abc\",\n \"OutputMode\": \"abc\",\n \"IndexSuffixMode\": \"abc\"\n }\n },\n \"RuleId\": \"abc\",\n \"EnableBatchDelivery\": true,\n \"BatchTimeout\": 0,\n \"BatchEventCount\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
204
198
  "title": "获取目标列表"
205
199
  }
206
200
  ],
@@ -1914,7 +1914,7 @@
1914
1914
  },
1915
1915
  {
1916
1916
  "disabled": false,
1917
- "document": "**如果控件是关键字定位方式**,关键字生成的区域的对齐方式, 可以设置下面的值\n<ul><li> <b>Middle</b> :居中</li>\n<li> <b>Below</b> :正下方</li>\n<li> <b>Right</b> :正右方</li>\n<li> <b>LowerRight</b> :右上角</li>\n<li> <b>UpperRight</b> :右下角。</li></ul>\n示例:如果设置Middle的关键字盖章,则印章的中心会和关键字的中心重合,如果设置Below,则印章在关键字的正下方",
1917
+ "document": "**如果控件是关键字定位方式**,关键字生成的区域的对齐方式, 可以设置下面的值\n<ul><li> <b>Middle</b> :居中</li>\n<li> <b>Below</b> :正下方</li>\n<li> <b>Right</b> :正右方</li>\n<li> <b>LowerRight</b> :右下角</li>\n<li> <b>UpperRight</b> :右上角。</li></ul>\n示例:如果设置Middle的关键字盖章,则印章的中心会和关键字的中心重合,如果设置Below,则印章在关键字的正下方",
1918
1918
  "example": "无",
1919
1919
  "member": "string",
1920
1920
  "name": "RelativeLocation",
@@ -5704,7 +5704,7 @@
5704
5704
  },
5705
5705
  {
5706
5706
  "disabled": false,
5707
- "document": "**如果控件是关键字定位方式**,关键字生成的区域的对齐方式, 可以设置下面的值\n<ul><li> <b>Middle</b> :居中</li>\n<li> <b>Below</b> :正下方</li>\n<li> <b>Right</b> :正右方</li>\n<li> <b>LowerRight</b> :右上角</li>\n<li> <b>UpperRight</b> :右下角。</li></ul>\n示例:如果设置Middle的关键字盖章,则印章的中心会和关键字的中心重合,如果设置Below,则印章在关键字的正下方",
5707
+ "document": "**如果控件是关键字定位方式**,关键字生成的区域的对齐方式, 可以设置下面的值\n<ul><li> <b>Middle</b> :居中</li>\n<li> <b>Below</b> :正下方</li>\n<li> <b>Right</b> :正右方</li>\n<li> <b>LowerRight</b> :右下角</li>\n<li> <b>UpperRight</b> :右上角。</li></ul>\n示例:如果设置Middle的关键字盖章,则印章的中心会和关键字的中心重合,如果设置Below,则印章在关键字的正下方",
5708
5708
  "example": "无",
5709
5709
  "member": "string",
5710
5710
  "name": "RelativeLocation",
@@ -175,6 +175,58 @@ def doFuseFace(args, parsed_globals):
175
175
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
176
176
 
177
177
 
178
+ def doFuseFaceUltra(args, parsed_globals):
179
+ g_param = parse_global_arg(parsed_globals)
180
+
181
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
182
+ cred = credential.CVMRoleCredential()
183
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
184
+ cred = credential.STSAssumeRoleCredential(
185
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
186
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
187
+ )
188
+ 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):
189
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
190
+ else:
191
+ cred = credential.Credential(
192
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
193
+ )
194
+ http_profile = HttpProfile(
195
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
196
+ reqMethod="POST",
197
+ endpoint=g_param[OptionsDefine.Endpoint],
198
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
199
+ )
200
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
201
+ if g_param[OptionsDefine.Language]:
202
+ profile.language = g_param[OptionsDefine.Language]
203
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
204
+ client = mod.FacefusionClient(cred, g_param[OptionsDefine.Region], profile)
205
+ client._sdkVersion += ("_CLI_" + __version__)
206
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
207
+ model = models.FuseFaceUltraRequest()
208
+ model.from_json_string(json.dumps(args))
209
+ start_time = time.time()
210
+ while True:
211
+ rsp = client.FuseFaceUltra(model)
212
+ result = rsp.to_json_string()
213
+ try:
214
+ json_obj = json.loads(result)
215
+ except TypeError as e:
216
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
217
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
218
+ break
219
+ cur_time = time.time()
220
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
221
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
222
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
223
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
224
+ else:
225
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
226
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
227
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
228
+
229
+
178
230
  CLIENT_MAP = {
179
231
  "v20220927": facefusion_client_v20220927,
180
232
  "v20181201": facefusion_client_v20181201,
@@ -191,6 +243,7 @@ ACTION_MAP = {
191
243
  "DescribeMaterialList": doDescribeMaterialList,
192
244
  "FaceFusion": doFaceFusion,
193
245
  "FuseFace": doFuseFace,
246
+ "FuseFaceUltra": doFuseFaceUltra,
194
247
 
195
248
  }
196
249