tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1285.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.
Files changed (104) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/acp/v20220105/api.json +23 -23
  3. tccli/services/acp/v20220105/examples.json +2 -8
  4. tccli/services/advisor/v20200721/api.json +4 -2
  5. tccli/services/apm/v20210622/api.json +1 -1
  6. tccli/services/autoscaling/v20180419/api.json +88 -86
  7. tccli/services/bh/bh_client.py +53 -0
  8. tccli/services/bh/v20230418/api.json +199 -0
  9. tccli/services/bh/v20230418/examples.json +8 -0
  10. tccli/services/cdn/v20180606/api.json +4 -2
  11. tccli/services/cdwch/v20200915/api.json +19 -9
  12. tccli/services/cdwch/v20200915/examples.json +1 -1
  13. tccli/services/cdwdoris/v20211228/api.json +18 -0
  14. tccli/services/cfg/v20210820/api.json +48 -24
  15. tccli/services/cfg/v20210820/examples.json +8 -2
  16. tccli/services/clb/v20180317/api.json +21 -3
  17. tccli/services/cmq/v20190304/api.json +92 -92
  18. tccli/services/cynosdb/v20190107/api.json +389 -379
  19. tccli/services/dbbrain/v20191016/api.json +17 -17
  20. tccli/services/dbbrain/v20210527/api.json +22 -22
  21. tccli/services/dcdb/v20180411/api.json +14 -4
  22. tccli/services/dcdb/v20180411/examples.json +1 -1
  23. tccli/services/dlc/v20210125/api.json +130 -58
  24. tccli/services/dlc/v20210125/examples.json +5 -5
  25. tccli/services/domain/v20180808/api.json +160 -160
  26. tccli/services/dsgc/v20190723/api.json +2 -2
  27. tccli/services/dts/v20180330/api.json +19 -19
  28. tccli/services/dts/v20211206/api.json +829 -818
  29. tccli/services/emr/emr_client.py +53 -0
  30. tccli/services/emr/v20190103/api.json +247 -0
  31. tccli/services/emr/v20190103/examples.json +8 -0
  32. tccli/services/es/v20180416/api.json +13 -3
  33. tccli/services/es/v20180416/examples.json +2 -2
  34. tccli/services/ess/ess_client.py +53 -0
  35. tccli/services/ess/v20201111/api.json +122 -1
  36. tccli/services/ess/v20201111/examples.json +26 -0
  37. tccli/services/essbasic/essbasic_client.py +57 -4
  38. tccli/services/essbasic/v20210526/api.json +163 -0
  39. tccli/services/essbasic/v20210526/examples.json +26 -0
  40. tccli/services/fmu/fmu_client.py +8 -167
  41. tccli/services/fmu/v20191213/api.json +0 -292
  42. tccli/services/fmu/v20191213/examples.json +0 -24
  43. tccli/services/goosefs/v20220519/api.json +26 -24
  44. tccli/services/goosefs/v20220519/examples.json +2 -2
  45. tccli/services/iotcloud/v20210408/api.json +27 -27
  46. tccli/services/iotcloud/v20210408/examples.json +6 -6
  47. tccli/services/iotexplorer/iotexplorer_client.py +0 -106
  48. tccli/services/iotexplorer/v20190423/api.json +0 -274
  49. tccli/services/iotexplorer/v20190423/examples.json +0 -16
  50. tccli/services/iss/v20230517/api.json +547 -537
  51. tccli/services/iss/v20230517/examples.json +2 -2
  52. tccli/services/kms/v20190118/api.json +20 -0
  53. tccli/services/lcic/lcic_client.py +114 -8
  54. tccli/services/lcic/v20220817/api.json +108 -0
  55. tccli/services/lcic/v20220817/examples.json +16 -0
  56. tccli/services/lke/v20231130/api.json +8 -8
  57. tccli/services/lke/v20231130/examples.json +1 -1
  58. tccli/services/lowcode/v20210108/api.json +165 -165
  59. tccli/services/lowcode/v20210108/examples.json +5 -5
  60. tccli/services/mariadb/v20170312/api.json +12 -2
  61. tccli/services/mariadb/v20170312/examples.json +4 -4
  62. tccli/services/mongodb/mongodb_client.py +57 -4
  63. tccli/services/mongodb/v20190725/api.json +63 -0
  64. tccli/services/mongodb/v20190725/examples.json +14 -0
  65. tccli/services/monitor/v20180724/api.json +36 -36
  66. tccli/services/monitor/v20180724/examples.json +10 -10
  67. tccli/services/ocr/v20181119/api.json +2 -2
  68. tccli/services/ocr/v20181119/examples.json +2 -2
  69. tccli/services/organization/organization_client.py +53 -0
  70. tccli/services/organization/v20210331/api.json +61 -0
  71. tccli/services/organization/v20210331/examples.json +8 -0
  72. tccli/services/redis/v20180412/api.json +11 -2
  73. tccli/services/redis/v20180412/examples.json +1 -1
  74. tccli/services/scf/v20180416/api.json +40 -0
  75. tccli/services/svp/svp_client.py +57 -4
  76. tccli/services/svp/v20240125/api.json +319 -0
  77. tccli/services/svp/v20240125/examples.json +8 -0
  78. tccli/services/tdmq/tdmq_client.py +4 -57
  79. tccli/services/tdmq/v20200217/api.json +118 -212
  80. tccli/services/tdmq/v20200217/examples.json +0 -8
  81. tccli/services/tds/v20220801/api.json +2 -2
  82. tccli/services/tione/v20211111/api.json +41 -1
  83. tccli/services/trtc/v20190722/api.json +16 -5
  84. tccli/services/tse/v20201207/api.json +207 -104
  85. tccli/services/tsf/tsf_client.py +53 -0
  86. tccli/services/tsf/v20180326/api.json +48 -4
  87. tccli/services/tsf/v20180326/examples.json +8 -0
  88. tccli/services/vclm/v20240523/api.json +20 -2
  89. tccli/services/vdb/v20230616/api.json +62 -62
  90. tccli/services/vdb/v20230616/examples.json +2 -2
  91. tccli/services/vpc/v20170312/api.json +54 -0
  92. tccli/services/vpc/v20170312/examples.json +8 -0
  93. tccli/services/vpc/vpc_client.py +53 -0
  94. tccli/services/waf/v20180125/api.json +143 -0
  95. tccli/services/waf/v20180125/examples.json +16 -0
  96. tccli/services/waf/waf_client.py +106 -0
  97. tccli/services/wedata/v20210820/api.json +1220 -5
  98. tccli/services/wedata/v20210820/examples.json +32 -8
  99. tccli/services/wedata/wedata_client.py +159 -0
  100. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
  101. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +104 -104
  102. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
  103. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
  104. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
@@ -4417,6 +4417,15 @@
4417
4417
  "name": "CmdArgs",
4418
4418
  "required": false,
4419
4419
  "type": "string"
4420
+ },
4421
+ {
4422
+ "disabled": false,
4423
+ "document": "任务来源信息",
4424
+ "example": "无",
4425
+ "member": "KVPair",
4426
+ "name": "SourceInfo",
4427
+ "required": false,
4428
+ "type": "list"
4420
4429
  }
4421
4430
  ],
4422
4431
  "type": "object"
@@ -4563,6 +4572,15 @@
4563
4572
  "name": "CustomKey",
4564
4573
  "required": false,
4565
4574
  "type": "string"
4575
+ },
4576
+ {
4577
+ "disabled": false,
4578
+ "document": "任务来源信息",
4579
+ "example": "无",
4580
+ "member": "KVPair",
4581
+ "name": "SourceInfo",
4582
+ "required": false,
4583
+ "type": "list"
4566
4584
  }
4567
4585
  ],
4568
4586
  "type": "object"
@@ -4696,7 +4714,7 @@
4696
4714
  {
4697
4715
  "disabled": false,
4698
4716
  "document": "数据引擎名称,不填提交到默认集群",
4699
- "example": "",
4717
+ "example": "public-engine",
4700
4718
  "member": "string",
4701
4719
  "name": "DataEngineName",
4702
4720
  "required": false,
@@ -4710,6 +4728,15 @@
4710
4728
  "name": "ResourceGroupName",
4711
4729
  "required": false,
4712
4730
  "type": "string"
4731
+ },
4732
+ {
4733
+ "disabled": false,
4734
+ "document": "任务来源信息",
4735
+ "example": "无",
4736
+ "member": "KVPair",
4737
+ "name": "SourceInfo",
4738
+ "required": false,
4739
+ "type": "list"
4713
4740
  }
4714
4741
  ],
4715
4742
  "type": "object"
@@ -4720,7 +4747,7 @@
4720
4747
  {
4721
4748
  "disabled": false,
4722
4749
  "document": "任务ID\n注意:此字段可能返回 null,表示取不到有效值。",
4723
- "example": "89570c65-49de-4bbd-ac0a-a67c724fc80f",
4750
+ "example": "89570c65-*-*-*-*",
4724
4751
  "member": "string",
4725
4752
  "name": "TaskId",
4726
4753
  "output_required": true,
@@ -4857,6 +4884,15 @@
4857
4884
  "name": "IsMultiStatement",
4858
4885
  "required": false,
4859
4886
  "type": "bool"
4887
+ },
4888
+ {
4889
+ "disabled": false,
4890
+ "document": "任务来源信息",
4891
+ "example": "无",
4892
+ "member": "KVPair",
4893
+ "name": "SourceInfo",
4894
+ "required": false,
4895
+ "type": "list"
4860
4896
  }
4861
4897
  ],
4862
4898
  "type": "object"
@@ -8604,7 +8640,7 @@
8604
8640
  {
8605
8641
  "disabled": false,
8606
8642
  "document": "虚拟集群名称",
8607
- "example": "test",
8643
+ "example": "云盘批处理任务",
8608
8644
  "member": "string",
8609
8645
  "name": "DataEngineName",
8610
8646
  "required": true,
@@ -8627,6 +8663,15 @@
8627
8663
  "name": "Offset",
8628
8664
  "required": false,
8629
8665
  "type": "int"
8666
+ },
8667
+ {
8668
+ "disabled": false,
8669
+ "document": "资源组id",
8670
+ "example": "session_123",
8671
+ "member": "string",
8672
+ "name": "SessionId",
8673
+ "required": false,
8674
+ "type": "string"
8630
8675
  }
8631
8676
  ],
8632
8677
  "type": "object"
@@ -8637,7 +8682,7 @@
8637
8682
  {
8638
8683
  "disabled": false,
8639
8684
  "document": "事件详细信息\n注意:此字段可能返回 null,表示取不到有效值。",
8640
- "example": "xxx",
8685
+ "example": "",
8641
8686
  "member": "HouseEventsInfo",
8642
8687
  "name": "Events",
8643
8688
  "output_required": true,
@@ -9631,6 +9676,15 @@
9631
9676
  "name": "BatchId",
9632
9677
  "required": false,
9633
9678
  "type": "string"
9679
+ },
9680
+ {
9681
+ "disabled": false,
9682
+ "document": "返回结果集中字段值长度截取,如果超过该长度则截取到该长度",
9683
+ "example": "200",
9684
+ "member": "int64",
9685
+ "name": "DataFieldCutLen",
9686
+ "required": false,
9687
+ "type": "int"
9634
9688
  }
9635
9689
  ],
9636
9690
  "type": "object"
@@ -10983,10 +11037,10 @@
10983
11037
  {
10984
11038
  "disabled": false,
10985
11039
  "document": "下一次分页参数,第一次传空。透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。",
10986
- "example": "xx",
11040
+ "example": "下一次分页参数",
10987
11041
  "member": "string",
10988
11042
  "name": "Context",
10989
- "required": true,
11043
+ "required": false,
10990
11044
  "type": "string"
10991
11045
  },
10992
11046
  {
@@ -11086,7 +11140,7 @@
11086
11140
  {
11087
11141
  "disabled": false,
11088
11142
  "document": "上一次请求响应返回的分页信息。第一次可以不带,从头开始返回数据,每次返回MaxResults字段设置的数据量。",
11089
- "example": "nextMarker=\\u0026nextKey=test/DLCQueryResults/2021/10/15/2c60388",
11143
+ "example": "nextToken=\\u0026nextKey=test/DLCQueryResults/2021/10/15/******",
11090
11144
  "member": "string",
11091
11145
  "name": "NextToken",
11092
11146
  "required": false,
@@ -11109,6 +11163,15 @@
11109
11163
  "name": "IsTransformDataType",
11110
11164
  "required": false,
11111
11165
  "type": "bool"
11166
+ },
11167
+ {
11168
+ "disabled": false,
11169
+ "document": "返回结果集中字段长度截取,如果字段值长度超过该长度则截取到该长度",
11170
+ "example": "200",
11171
+ "member": "int64",
11172
+ "name": "DataFieldCutLen",
11173
+ "required": false,
11174
+ "type": "int"
11112
11175
  }
11113
11176
  ],
11114
11177
  "type": "object"
@@ -11375,6 +11438,15 @@
11375
11438
  "name": "DataEngineName",
11376
11439
  "required": false,
11377
11440
  "type": "string"
11441
+ },
11442
+ {
11443
+ "disabled": false,
11444
+ "document": "DataEngine-dm8bjs29",
11445
+ "example": "引擎id列表",
11446
+ "member": "string",
11447
+ "name": "HouseIds",
11448
+ "required": false,
11449
+ "type": "list"
11378
11450
  }
11379
11451
  ],
11380
11452
  "type": "object"
@@ -13216,25 +13288,25 @@
13216
13288
  "members": [
13217
13289
  {
13218
13290
  "disabled": false,
13219
- "document": "配置的key值\n注意:此字段可能返回 null,表示取不到有效值。",
13291
+ "document": "配置的key",
13220
13292
  "example": "format-version",
13221
13293
  "member": "string",
13222
13294
  "name": "Key",
13223
13295
  "output_required": true,
13224
13296
  "required": true,
13225
13297
  "type": "string",
13226
- "value_allowed_null": true
13298
+ "value_allowed_null": false
13227
13299
  },
13228
13300
  {
13229
13301
  "disabled": false,
13230
- "document": "配置的value值\n注意:此字段可能返回 null,表示取不到有效值。",
13302
+ "document": "配置的value",
13231
13303
  "example": "1",
13232
13304
  "member": "string",
13233
13305
  "name": "Value",
13234
13306
  "output_required": true,
13235
13307
  "required": true,
13236
13308
  "type": "string",
13237
- "value_allowed_null": true
13309
+ "value_allowed_null": false
13238
13310
  }
13239
13311
  ],
13240
13312
  "usage": "both"
@@ -15010,33 +15082,33 @@
15010
15082
  "members": [
15011
15083
  {
15012
15084
  "disabled": false,
15013
- "document": "完成时间戳\n注意:此字段可能返回 null,表示取不到有效值。",
15085
+ "document": "完成时间戳",
15014
15086
  "example": "1662635695652",
15015
15087
  "member": "int64",
15016
15088
  "name": "Completed",
15017
- "required": true,
15089
+ "output_required": true,
15018
15090
  "type": "int",
15019
- "value_allowed_null": true
15091
+ "value_allowed_null": false
15020
15092
  },
15021
15093
  {
15022
15094
  "disabled": false,
15023
- "document": "开始时间戳\n注意:此字段可能返回 null,表示取不到有效值。",
15095
+ "document": "开始时间戳",
15024
15096
  "example": "1662635695652",
15025
15097
  "member": "int64",
15026
15098
  "name": "Started",
15027
- "required": true,
15099
+ "output_required": true,
15028
15100
  "type": "int",
15029
- "value_allowed_null": true
15101
+ "value_allowed_null": false
15030
15102
  },
15031
15103
  {
15032
15104
  "disabled": false,
15033
- "document": "完成进度,百分制\n注意:此字段可能返回 null,表示取不到有效值。",
15105
+ "document": "完成进度,百分制",
15034
15106
  "example": "100",
15035
15107
  "member": "float",
15036
15108
  "name": "Progress",
15037
- "required": true,
15109
+ "output_required": true,
15038
15110
  "type": "float",
15039
- "value_allowed_null": true
15111
+ "value_allowed_null": false
15040
15112
  },
15041
15113
  {
15042
15114
  "disabled": false,
@@ -15044,7 +15116,7 @@
15044
15116
  "example": "d3018ad4-9a7e-4f64-a3dj-f38507c697dj",
15045
15117
  "member": "string",
15046
15118
  "name": "StatementId",
15047
- "required": true,
15119
+ "output_required": true,
15048
15120
  "type": "string",
15049
15121
  "value_allowed_null": false
15050
15122
  },
@@ -15054,7 +15126,7 @@
15054
15126
  "example": "running",
15055
15127
  "member": "string",
15056
15128
  "name": "State",
15057
- "required": true,
15129
+ "output_required": true,
15058
15130
  "type": "string",
15059
15131
  "value_allowed_null": false
15060
15132
  },
@@ -15064,7 +15136,7 @@
15064
15136
  "example": "复杂类型",
15065
15137
  "member": "StatementOutput",
15066
15138
  "name": "OutPut",
15067
- "required": true,
15139
+ "output_required": true,
15068
15140
  "type": "object",
15069
15141
  "value_allowed_null": true
15070
15142
  },
@@ -15074,29 +15146,29 @@
15074
15146
  "example": "dks18ad4-9a7e-4f64-a3dj-f38507c697dj",
15075
15147
  "member": "string",
15076
15148
  "name": "BatchId",
15077
- "required": false,
15149
+ "output_required": false,
15078
15150
  "type": "string",
15079
15151
  "value_allowed_null": true
15080
15152
  },
15081
15153
  {
15082
15154
  "disabled": false,
15083
- "document": "运行语句\n注意:此字段可能返回 null,表示取不到有效值。",
15155
+ "document": "运行语句",
15084
15156
  "example": "select 1;",
15085
15157
  "member": "string",
15086
15158
  "name": "Code",
15087
- "required": false,
15159
+ "output_required": true,
15088
15160
  "type": "string",
15089
- "value_allowed_null": true
15161
+ "value_allowed_null": false
15090
15162
  },
15091
15163
  {
15092
15164
  "disabled": false,
15093
- "document": "任务ID\n注意:此字段可能返回 null,表示取不到有效值。",
15165
+ "document": "任务ID",
15094
15166
  "example": "dks18ad4-9a7e-4f64-a3dj-f38507c697dj",
15095
15167
  "member": "string",
15096
15168
  "name": "TaskId",
15097
- "required": false,
15169
+ "output_required": true,
15098
15170
  "type": "string",
15099
- "value_allowed_null": true
15171
+ "value_allowed_null": false
15100
15172
  }
15101
15173
  ],
15102
15174
  "usage": "out"
@@ -17293,23 +17365,23 @@
17293
17365
  "members": [
17294
17366
  {
17295
17367
  "disabled": false,
17296
- "document": "SQL任务唯一ID\n注意:此字段可能返回 null,表示取不到有效值。",
17368
+ "document": "SQL任务唯一ID",
17297
17369
  "example": "09ei23ea-d6c0-4cd9-bbed-2e909jef04dc",
17298
17370
  "member": "string",
17299
17371
  "name": "TaskId",
17300
17372
  "output_required": false,
17301
17373
  "type": "string",
17302
- "value_allowed_null": true
17374
+ "value_allowed_null": false
17303
17375
  },
17304
17376
  {
17305
17377
  "disabled": false,
17306
- "document": "SQL内容\n注意:此字段可能返回 null,表示取不到有效值。",
17378
+ "document": "SQL内容",
17307
17379
  "example": "select 1;",
17308
17380
  "member": "string",
17309
17381
  "name": "SQL",
17310
17382
  "output_required": false,
17311
17383
  "type": "string",
17312
- "value_allowed_null": true
17384
+ "value_allowed_null": false
17313
17385
  }
17314
17386
  ],
17315
17387
  "usage": "out"
@@ -17319,13 +17391,13 @@
17319
17391
  "members": [
17320
17392
  {
17321
17393
  "disabled": false,
17322
- "document": "执行总数\n注意:此字段可能返回 null,表示取不到有效值。",
17394
+ "document": "执行总数",
17323
17395
  "example": "1",
17324
17396
  "member": "int64",
17325
17397
  "name": "ExecutionCount",
17326
- "required": true,
17398
+ "output_required": true,
17327
17399
  "type": "int",
17328
- "value_allowed_null": true
17400
+ "value_allowed_null": false
17329
17401
  },
17330
17402
  {
17331
17403
  "disabled": false,
@@ -17333,29 +17405,29 @@
17333
17405
  "example": "[\"key\":\"testKey\",\"value\":\"testValue\"]",
17334
17406
  "member": "KVPair",
17335
17407
  "name": "Data",
17336
- "required": true,
17408
+ "output_required": true,
17337
17409
  "type": "list",
17338
17410
  "value_allowed_null": true
17339
17411
  },
17340
17412
  {
17341
17413
  "disabled": false,
17342
- "document": "Statement状态:ok,error\n注意:此字段可能返回 null,表示取不到有效值。",
17414
+ "document": "Statement状态:ok,error",
17343
17415
  "example": "ok",
17344
17416
  "member": "string",
17345
17417
  "name": "Status",
17346
- "required": true,
17418
+ "output_required": true,
17347
17419
  "type": "string",
17348
- "value_allowed_null": true
17420
+ "value_allowed_null": false
17349
17421
  },
17350
17422
  {
17351
17423
  "disabled": false,
17352
- "document": "错误名称\n注意:此字段可能返回 null,表示取不到有效值。",
17424
+ "document": "错误名称",
17353
17425
  "example": "compute fail",
17354
17426
  "member": "string",
17355
17427
  "name": "ErrorName",
17356
- "required": true,
17428
+ "output_required": true,
17357
17429
  "type": "string",
17358
- "value_allowed_null": true
17430
+ "value_allowed_null": false
17359
17431
  },
17360
17432
  {
17361
17433
  "disabled": false,
@@ -17363,7 +17435,7 @@
17363
17435
  "example": "InternalError",
17364
17436
  "member": "string",
17365
17437
  "name": "ErrorValue",
17366
- "required": true,
17438
+ "output_required": true,
17367
17439
  "type": "string",
17368
17440
  "value_allowed_null": true
17369
17441
  },
@@ -17373,19 +17445,19 @@
17373
17445
  "example": "[\"internal Error\"]",
17374
17446
  "member": "string",
17375
17447
  "name": "ErrorMessage",
17376
- "required": true,
17448
+ "output_required": true,
17377
17449
  "type": "list",
17378
17450
  "value_allowed_null": true
17379
17451
  },
17380
17452
  {
17381
17453
  "disabled": false,
17382
- "document": "SQL类型任务结果返回\n注意:此字段可能返回 null,表示取不到有效值。",
17383
- "example": "{ \"application/json\":{ \"schema\":{ \"type\":\"struct\", \"fields\":[ { \"name\":\"1\", \"type\":\"integer\", \"nullable\":false, \"metadata\":{ } } ] } } }",
17454
+ "document": "SQL类型任务结果返回",
17455
+ "example": "{\"application/json\":{ \"schema\":{ \"type\":\"struct\", \"fields\":[ {\"name\":\"1\", \"type\":\"integer\", \"nullable\":false, \"metadata\"{ } } ] }}}",
17384
17456
  "member": "string",
17385
17457
  "name": "SQLResult",
17386
- "required": false,
17458
+ "output_required": true,
17387
17459
  "type": "string",
17388
- "value_allowed_null": true
17460
+ "value_allowed_null": false
17389
17461
  }
17390
17462
  ],
17391
17463
  "usage": "out"
@@ -18752,23 +18824,23 @@
18752
18824
  },
18753
18825
  {
18754
18826
  "disabled": false,
18755
- "document": "数据源名称,当前任务执行时候选中的默认数据源\n注意:此字段可能返回 null,表示取不到有效值。",
18827
+ "document": "数据源名称,当前任务执行时候选中的默认数据源",
18756
18828
  "example": "COSDataCatalog",
18757
18829
  "member": "string",
18758
18830
  "name": "DatasourceConnectionName",
18759
18831
  "output_required": true,
18760
18832
  "type": "string",
18761
- "value_allowed_null": true
18833
+ "value_allowed_null": false
18762
18834
  },
18763
18835
  {
18764
18836
  "disabled": false,
18765
- "document": "数据库名称,当前任务执行时候选中的默认数据库\n注意:此字段可能返回 null,表示取不到有效值。",
18837
+ "document": "数据库名称,当前任务执行时候选中的默认数据库",
18766
18838
  "example": "database1",
18767
18839
  "member": "string",
18768
18840
  "name": "DatabaseName",
18769
18841
  "output_required": true,
18770
18842
  "type": "string",
18771
- "value_allowed_null": true
18843
+ "value_allowed_null": false
18772
18844
  },
18773
18845
  {
18774
18846
  "disabled": false,
@@ -18872,13 +18944,13 @@
18872
18944
  },
18873
18945
  {
18874
18946
  "disabled": false,
18875
- "document": "结果信息,反转义后,外层数组的每个元素为一行数据\n注意:此字段可能返回 null,表示取不到有效值。",
18947
+ "document": "结果信息,反转义后,外层数组的每个元素为一行数据",
18876
18948
  "example": "[[\\\"3\\\",\\\"kk\\\"],[\\\"3\\\",\\\"kk\\\"]]",
18877
18949
  "member": "string",
18878
18950
  "name": "ResultSet",
18879
18951
  "output_required": true,
18880
18952
  "type": "string",
18881
- "value_allowed_null": true
18953
+ "value_allowed_null": false
18882
18954
  },
18883
18955
  {
18884
18956
  "disabled": false,
@@ -18932,13 +19004,13 @@
18932
19004
  },
18933
19005
  {
18934
19006
  "disabled": false,
18935
- "document": "获取结果消耗的时间\n注意:此字段可能返回 null,表示取不到有效值。",
19007
+ "document": "获取结果消耗的时间",
18936
19008
  "example": "150",
18937
19009
  "member": "float",
18938
19010
  "name": "QueryResultTime",
18939
19011
  "output_required": false,
18940
19012
  "type": "float",
18941
- "value_allowed_null": true
19013
+ "value_allowed_null": false
18942
19014
  }
18943
19015
  ],
18944
19016
  "usage": "out"
@@ -291,8 +291,8 @@
291
291
  "CreateTask": [
292
292
  {
293
293
  "document": "创建并执行SQL任务",
294
- "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTask\n<公共请求参数>\n\n{\n \"Task\": {\n \"SQLTask\": {\n \"SQL\": \"U0VMRUNUICogRlJPTSBgdGVzdGh5d2AuYHRlc3QxMDBtYCBMSU1JVCAxMDs=\",\n \"Config\": [\n {\n \"Key\": \"\",\n \"Value\": \"\"\n }\n ]\n },\n \"SparkSQLTask\": {\n \"SQL\": \"\",\n \"Config\": [\n {\n \"Key\": \"\",\n \"Value\": \"\"\n }\n ]\n }\n },\n \"DatabaseName\": \"testdb\"\n}",
295
- "output": "{\n \"Response\": {\n \"RequestId\": \"13bfd2b2-b92e-4c49-9c7e-3662b5f32165\",\n \"TaskId\": \"4ad30ca9-8b0e-499f-b4e1-d6e43ba0e564\"\n }\n}",
294
+ "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTask\n<公共请求参数>\n\n{\n \"Task\": {\n \"SQLTask\": {\n \"SQL\": \"U0VMRUNUICogRlJPTSBgdGVzdGh5d2AuYHRlc3QxMDBtYCBMSU1JVCAxMDs=\",\n \"Config\": [\n {\n \"Key\": \"\",\n \"Value\": \"\"\n }\n ]\n },\n \"SparkSQLTask\": {\n \"SQL\": \"\",\n \"Config\": [\n {\n \"Key\": \"spark.sql.sources.partitionOverwriteMode\",\n \"Value\": \"static\"\n }\n ]\n }\n },\n \"DatabaseName\": \"testdb\"\n}",
295
+ "output": "{\n \"Response\": {\n \"RequestId\": \"13bfd2b2-b92e-4c49-9c7e-3662b5f32165\",\n \"TaskId\": \"4ad30ca9-*-*-*-*\"\n }\n}",
296
296
  "title": "创建并执行SQL任务"
297
297
  }
298
298
  ],
@@ -729,8 +729,8 @@
729
729
  "DescribeTaskLog": [
730
730
  {
731
731
  "document": "",
732
- "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskLog\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Limit\": 0,\n \"Context\": \"abc\",\n \"Asc\": true,\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ]\n }\n ],\n \"BatchId\": \"abc\"\n}",
733
- "output": "{\n \"Response\": {\n \"Context\": \"abc\",\n \"ListOver\": true,\n \"Results\": [\n {\n \"Time\": 0,\n \"TopicId\": \"abc\",\n \"TopicName\": \"abc\",\n \"LogJson\": \"abc\",\n \"PkgLogId\": \"abc\"\n }\n ],\n \"LogUrl\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
732
+ "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskLog\n<公共请求参数>\n\n{\n \"TaskId\": \"84f55bb7-4f9c-4995-90c5-a40fdff9bc62\",\n \"StartTime\": 1736931692631,\n \"EndTime\": 1737104492631,\n \"Limit\": 10,\n \"Context\": \"\"\n}",
733
+ "output": "{\n \"Response\": {\n \"Context\": \"\",\n \"ListOver\": true,\n \"LogUrl\": \"\",\n \"RequestId\": \"********-****-****-****-303d24983adb\",\n \"Results\": []\n }\n}",
734
734
  "title": "获取spark 作业任务日志详情"
735
735
  }
736
736
  ],
@@ -738,7 +738,7 @@
738
738
  {
739
739
  "document": "查询任务结果,每次返回1000行数据",
740
740
  "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskResult\n<公共请求参数>\n\n{\n \"TaskId\": \"9e20f9c021cb11ec835f5254006c64af\",\n \"NextToken\": \"\"\n}",
741
- "output": "{\n \"Response\": {\n \"RequestId\": \"9328049f-30bc-4feb-aecf-e3b4ff2d1b00\",\n \"TaskInfo\": {\n \"TaskId\": \"9e20f9c021cb11ec835f5254006c64af\",\n \"DatasourceConnectionName\": \"CosDataCatalog\",\n \"DatabaseName\": \"auth_test\",\n \"SQL\": \"SELECT * FROM `auth_test`.`hive_test` LIMIT 10\",\n \"SQLType\": \"DQL\",\n \"State\": 2,\n \"DataAmount\": 850363,\n \"UsedTime\": 1761,\n \"TotalTime\": 2000,\n \"OutputPath\": \"cosn://dlc-nj-1258469122/test/DLCQueryResults/2021/09/30/9e20f9c021cb11ec835f5254006c64af/\",\n \"CreateTime\": \"1632991895728\",\n \"OutputMessage\": \"success\",\n \"RowAffectInfo\": \"59378 rows affected (1.761000 seconds)\",\n \"ResultSchema\": [\n {\n \"Name\": \"a\",\n \"Type\": \"integer\",\n \"Comment\": \"\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"NULLABLE\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n },\n {\n \"Name\": \"b\",\n \"Type\": \"varchar\",\n \"Comment\": \"\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"NULLABLE\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n }\n ],\n \"ResultSet\": \"[[\\\"3\\\",\\\"kk\\\"],[\\\"3\\\",\\\"kk\\\"],[\\\"9143\\\",\\\" \\\\\\\"28992\\\\\\\"\\\"],[\\\"19048\\\",\\\" \\\\\\\"11266\\\\\\\"\\\"],[\\\"16711\\\",\\\" \\\\\\\"17422\\\\\\\"\\\"],[\\\"3816\\\",\\\" \\\\\\\"18501\\\\\\\"\\\"],[\\\"16428\\\",\\\" \\\\\\\"13774\\\\\\\"\\\"],[\\\"30190\\\",\\\" \\\\\\\"5177\\\\\\\"\\\"],[\\\"24824\\\",\\\" \\\\\\\"19479\\\\\\\"\\\"],[\\\"9709\\\",\\\" \\\\\\\"5532\\\\\\\"\\\"]]\",\n \"NextToken\": \"\",\n \"Percentage\": 100,\n \"ProgressDetail\": \"[{\\\"jobId\\\":\\\"0\\\",\\\"stages\\\":[{\\\"stageId\\\":\\\"0\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"1\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"2\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"3\\\",\\\"schedule\\\":1}],\\\"jobState\\\":\\\"\\\"}]\",\n \"DisplayFormat\": \"table\"\n }\n }\n}",
741
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9328049f-30bc-4feb-aecf-e3b4ff2d1b00\",\n \"TaskInfo\": {\n \"TaskId\": \"9e20f9c021cb11ec835f5254006c64af\",\n \"DatasourceConnectionName\": \"CosDataCatalog\",\n \"DatabaseName\": \"auth_test\",\n \"SQL\": \"SELECT * FROM `auth_test`.`hive_test` LIMIT 10\",\n \"SQLType\": \"DQL\",\n \"State\": 2,\n \"DataAmount\": 850363,\n \"UsedTime\": 1761,\n \"TotalTime\": 2000,\n \"OutputPath\": \"cosn://dlc-nj-1258469122/test/DLCQueryResults/2021/09/30/9e20f9c021cb11ec835f5254006c64af/\",\n \"CreateTime\": \"1632991895728\",\n \"OutputMessage\": \"success\",\n \"RowAffectInfo\": \"59378 rows affected (1.761000 seconds)\",\n \"ResultSchema\": [\n {\n \"Name\": \"key\",\n \"Type\": \"STRING_TYPE\",\n \"Comment\": \"\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"NULLABLE\",\n \"Position\": 0,\n \"CreateTime\": \"1737009973603\",\n \"ModifiedTime\": \"\",\n \"IsPartition\": true\n },\n {\n \"Name\": \"key\",\n \"Type\": \"STRING_TYPE\",\n \"Comment\": \"\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"NULLABLE\",\n \"Position\": 0,\n \"CreateTime\": \"1737009973603\",\n \"ModifiedTime\": \"\",\n \"IsPartition\": true\n }\n ],\n \"ResultSet\": \"[[\\\"3\\\",\\\"kk\\\"],[\\\"3\\\",\\\"kk\\\"],[\\\"9143\\\",\\\" \\\\\\\"28992\\\\\\\"\\\"],[\\\"19048\\\",\\\" \\\\\\\"11266\\\\\\\"\\\"],[\\\"16711\\\",\\\" \\\\\\\"17422\\\\\\\"\\\"],[\\\"3816\\\",\\\" \\\\\\\"18501\\\\\\\"\\\"],[\\\"16428\\\",\\\" \\\\\\\"13774\\\\\\\"\\\"],[\\\"30190\\\",\\\" \\\\\\\"5177\\\\\\\"\\\"],[\\\"24824\\\",\\\" \\\\\\\"19479\\\\\\\"\\\"],[\\\"9709\\\",\\\" \\\\\\\"5532\\\\\\\"\\\"]]\",\n \"NextToken\": \"\",\n \"Percentage\": 100,\n \"ProgressDetail\": \"[{\\\"jobId\\\":\\\"0\\\",\\\"stages\\\":[{\\\"stageId\\\":\\\"0\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"1\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"2\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"3\\\",\\\"schedule\\\":1}],\\\"jobState\\\":\\\"\\\"}]\",\n \"DisplayFormat\": \"table\"\n }\n }\n}",
742
742
  "title": "查询任务结果"
743
743
  }
744
744
  ],