tccli 3.0.1256.1__py2.py3-none-any.whl → 3.0.1257.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/bi/v20220105/api.json +172 -86
- tccli/services/bi/v20220105/examples.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +215 -165
- tccli/services/cdwdoris/v20211228/examples.json +34 -34
- tccli/services/cfg/v20210820/api.json +29 -0
- tccli/services/cwp/cwp_client.py +0 -106
- tccli/services/cwp/v20180228/api.json +0 -405
- tccli/services/cwp/v20180228/examples.json +0 -16
- tccli/services/dlc/v20210125/api.json +265 -216
- tccli/services/dlc/v20210125/examples.json +46 -52
- tccli/services/hunyuan/v20230901/api.json +11 -1
- tccli/services/lke/v20231130/api.json +821 -10
- tccli/services/lke/v20231130/examples.json +10 -16
- tccli/services/ocr/ocr_client.py +361 -308
- tccli/services/ocr/v20181119/api.json +176 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/rum/v20210622/api.json +241 -135
- tccli/services/rum/v20210622/examples.json +31 -31
- tccli/services/scf/v20180416/api.json +2 -2
- tccli/services/tdmq/v20200217/api.json +3 -3
- tccli/services/tdmq/v20200217/examples.json +3 -3
- tccli/services/teo/teo_client.py +326 -8
- tccli/services/teo/v20220901/api.json +3104 -294
- tccli/services/teo/v20220901/examples.json +69 -3
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/RECORD +30 -30
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/license_files/LICENSE +0 -0
@@ -27,15 +27,15 @@
|
|
27
27
|
"AlterDMSDatabase": [
|
28
28
|
{
|
29
29
|
"document": "",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AlterDMSDatabase\n<公共请求参数>\n\n{\n \"CurrentName\": \"
|
31
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AlterDMSDatabase\n<公共请求参数>\n\n{\n \"CurrentName\": \"database1\",\n \"SchemaName\": \"DataLakeCatalog\",\n \"Location\": \"cosn://**********\",\n \"Asset\": {\n \"Name\": \"database1\",\n \"Catalog\": \"DataLakeCatalog\",\n \"Description\": \"alter description\",\n \"Params\": [\n {\n \"Key\": \"param1\",\n \"Value\": \"default param\"\n }\n ],\n \"BizParams\": [\n {\n \"Key\": \"bizparam\",\n \"Value\": \"default param\"\n }\n ]\n }\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"********-****-****-****-d91707f15fae\"\n }\n}",
|
32
32
|
"title": "DMS元数据更新库"
|
33
33
|
}
|
34
34
|
],
|
35
35
|
"AlterDMSPartition": [
|
36
36
|
{
|
37
37
|
"document": "修改表分区",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AlterDMSPartition\n<公共请求参数>\n\n{\n \"
|
38
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AlterDMSPartition\n<公共请求参数>\n\n{\n \"CurrentDbName\": \"database1\",\n \"CurrentTableName\": \"table2\",\n \"CurrentValues\": \"1\",\n \"Partition\": {\n \"DatabaseName\": \"database1\",\n \"TableName\": \"table2\",\n \"DataVersion\": 1,\n \"Name\": \"id\",\n \"Values\": [\n \"2\"\n ],\n \"Params\": [\n {\n \"Key\": \"param1\",\n \"Value\": \"default param\"\n }\n ],\n \"Sds\": {\n \"Location\": \"cosn://********\",\n \"InputFormat\": \"org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat\",\n \"OutputFormat\": \"org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat\",\n \"NumBuckets\": 0,\n \"Compressed\": false,\n \"StoredAsSubDirectories\": false,\n \"SerdeLib\": \"org.apache.hadoop.hive.serde2.OpenCSVSerde\",\n \"SerdeName\": \"serde1\",\n \"SerdeParams\": [\n {\n \"Key\": \"separatorChar\",\n \"Value\": \"\\\\t\"\n }\n ],\n \"Params\": [\n {\n \"Key\": \"param2\",\n \"Value\": \"default param\"\n }\n ]\n }\n }\n}",
|
39
39
|
"output": "{\n \"Response\": {\n \"RequestId\": \"xxx-xxx-xxx\"\n }\n}",
|
40
40
|
"title": "修改表分区"
|
41
41
|
}
|
@@ -43,16 +43,16 @@
|
|
43
43
|
"AlterDMSTable": [
|
44
44
|
{
|
45
45
|
"document": "",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AlterDMSTable\n<公共请求参数>\n\n{\n \"
|
47
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AlterDMSTable\n<公共请求参数>\n\n{\n \"CurrentName\": \"table3\",\n \"CurrentDbName\": \"database1\",\n \"Asset\": {\n \"Name\": \"table3\",\n \"Catalog\": \"DataLakeCatalog\",\n \"Description\": \"alter description\",\n \"Params\": [\n {\n \"Key\": \"param1\",\n \"Value\": \"default param\"\n }\n ],\n \"BizParams\": [\n {\n \"Key\": \"bizparam1\",\n \"Value\": \"default bizparam\"\n }\n ]\n },\n \"Type\": \"EXTERNAL\",\n \"DbName\": \"database1\",\n \"Sds\": {\n \"Location\": \"cons://********\",\n \"InputFormat\": \"org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat\",\n \"OutputFormat\": \"org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat\",\n \"NumBuckets\": 0,\n \"Compressed\": false,\n \"StoredAsSubDirectories\": false,\n \"SerdeLib\": \"org.apache.hadoop.hive.serde2.OpenCSVSerde\",\n \"SerdeName\": \"serde1\",\n \"BucketCols\": [\n \"col1\"\n ],\n \"SerdeParams\": [\n {\n \"Key\": \"serde\",\n \"Value\": \"1\"\n }\n ],\n \"Params\": [\n {\n \"Key\": \"param1\",\n \"Value\": \"default param\"\n }\n ]\n },\n \"Columns\": [\n {\n \"Name\": \"id\",\n \"Description\": \"alter col\",\n \"Type\": \"int\",\n \"IsPartition\": true\n }\n ],\n \"PartitionKeys\": [\n {\n \"Name\": \"dt\",\n \"Description\": \"default description\",\n \"Type\": \"int\",\n \"Position\": 1,\n \"BizParams\": [\n {\n \"Key\": null,\n \"Value\": null\n }\n ],\n \"IsPartition\": true\n }\n ],\n \"Partitions\": [\n {\n \"DatabaseName\": \"database1\",\n \"TableName\": \"table3\",\n \"DataVersion\": 1,\n \"Name\": \"dt2\",\n \"Values\": [\n \"1\"\n ],\n \"Params\": [\n {\n \"Key\": null,\n \"Value\": null\n }\n ],\n \"Sds\": {\n \"Location\": \"cosn://********\",\n \"InputFormat\": \"org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat\",\n \"OutputFormat\": \"org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat\",\n \"NumBuckets\": 0,\n \"Compressed\": false,\n \"StoredAsSubDirectories\": null,\n \"SerdeLib\": \"org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe\",\n \"SerdeName\": \"serde2\",\n \"BucketCols\": [\n \"col2\"\n ],\n \"SerdeParams\": [\n {\n \"Key\": null,\n \"Value\": null\n }\n ],\n \"Params\": [\n {\n \"Key\": \"param3\",\n \"Value\": \"default param\"\n }\n ],\n \"SortCols\": {\n \"Col\": null,\n \"Order\": null\n },\n \"Cols\": [\n {\n \"Name\": \"column1\",\n \"Description\": \"default column\",\n \"Type\": \"int\",\n \"Position\": 1,\n \"Params\": [\n {\n \"Key\": \"param1\",\n \"Value\": \"default param\"\n }\n ],\n \"BizParams\": [\n {\n \"Key\": \"bizparam1\",\n \"Value\": \"default bizparam\"\n }\n ],\n \"IsPartition\": false\n }\n ]\n }\n }\n ],\n \"Name\": \"table3\"\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"********-****-****-****-237bfeec9223\"\n }\n}",
|
48
48
|
"title": "修改表"
|
49
49
|
}
|
50
50
|
],
|
51
51
|
"AssignMangedTableProperties": [
|
52
52
|
{
|
53
53
|
"document": "示例一",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssignMangedTableProperties\n<公共请求参数>\n\n{\n \"TableBaseInfo\": {\n \"DatabaseName\": \"
|
55
|
-
"output": "{\n \"Response\": {\n \"Properties\": [\n {\n \"Key\": \"
|
54
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssignMangedTableProperties\n<公共请求参数>\n\n{\n \"TableBaseInfo\": {\n \"DatabaseName\": \"dlc_db\",\n \"TableName\": \"dlc_test\",\n \"DatasourceConnectionName\": \"DataLakeCatalog\",\n \"TableComment\": \"this is a test db\",\n \"Type\": \"table\",\n \"TableFormat\": \"iceberg\",\n \"UserAlias\": \"xiaoming\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"1000******03\",\n \"PolicyType\": \"Table\",\n \"Catalog\": \"DataLakeCatalog\",\n \"Database\": \"dlc_db\",\n \"Table\": \"table_ai\",\n \"AppId\": \"131****789\"\n },\n \"Policy\": {\n \"Inherit\": \"none\",\n \"Resources\": [\n {\n \"AttributionType\": \"group\",\n \"ResourceType\": \"SQL\",\n \"Name\": \"dlc_spark_test\",\n \"Instance\": \"spark-sql\",\n \"Favor\": [\n {\n \"Priority\": 2147483647,\n \"Catalog\": \"DataLakeCatalog\",\n \"DataBase\": \"dlc_db\",\n \"Table\": \"table_ai\"\n }\n ],\n \"Status\": 1\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"enable\"\n },\n \"Lifecycle\": {\n \"LifecycleEnable\": \"disable\",\n \"Expiration\": 0,\n \"DropTable\": true,\n \"ExpiredField\": \"pt\",\n \"ExpiredFieldFormat\": \"yyyy-MM-dd\"\n },\n \"Index\": {\n \"IndexEnable\": \"disable\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"name\",\n \"Type\": \"string\",\n \"Comment\": \"the age for user\",\n \"Default\": \"0\",\n \"NotNull\": true,\n \"Precision\": 0,\n \"Scale\": 0\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"name\",\n \"Type\": \"string\",\n \"Comment\": \"the age for user\"\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"key1\",\n \"Value\": \"value1\"\n }\n ],\n \"UpsertKeys\": [\n \"\"\n ]\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"Properties\": [\n {\n \"Key\": \"key1\",\n \"Value\": \"value1\"\n },\n {\n \"Key\": \"write.distribution-mode\",\n \"Value\": \"hash\"\n },\n {\n \"Key\": \"write.metadata.delete-after-commit.enabled\",\n \"Value\": \"true\"\n },\n {\n \"Key\": \"write.metadata.previous-versions-max\",\n \"Value\": \"100\"\n },\n {\n \"Key\": \"write.metadata.metrics.default\",\n \"Value\": \"full\"\n },\n {\n \"Key\": \"smart-optimizer.inherit\",\n \"Value\": \"none\"\n },\n {\n \"Key\": \"smart-optimizer.written.enable\",\n \"Value\": \"enable\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.compact-enable\",\n \"Value\": \"enable\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.cow-compact-enable\",\n \"Value\": \"disable\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.strategy\",\n \"Value\": \"binpack\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.sort-order\",\n \"Value\": \"nulls\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.min-input-files\",\n \"Value\": \"5\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.target-file-size-bytes\",\n \"Value\": \"134217728\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.delete-enable\",\n \"Value\": \"enable\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.retain-last\",\n \"Value\": \"5\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.before-days\",\n \"Value\": \"2\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.expired-snapshots-interval-min\",\n \"Value\": \"600\"\n },\n {\n \"Key\": \"smart-optimizer.written.advance.remove-orphan-interval-min\",\n \"Value\": \"1440\"\n },\n {\n \"Key\": \"smart-optimizer.lifecycle.enable\",\n \"Value\": \"disable\"\n },\n {\n \"Key\": \"lakehouse.storage.type\",\n \"Value\": \"lakefs\"\n }\n ],\n \"RequestId\": \"3f7509bf-20f9-4767-ab9c-0f9d901deda0\"\n }\n}",
|
56
56
|
"title": "示例一"
|
57
57
|
}
|
58
58
|
],
|
@@ -139,16 +139,16 @@
|
|
139
139
|
"CheckLockMetaData": [
|
140
140
|
{
|
141
141
|
"document": "",
|
142
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckLockMetaData\n<公共请求参数>\n\n{\n \"LockId\":
|
143
|
-
"output": "{\n \"Response\": {\n \"LockId\":
|
142
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckLockMetaData\n<公共请求参数>\n\n{\n \"LockId\": 1,\n \"DatasourceConnectionName\": \"DataLakeCatalog\"\n}",
|
143
|
+
"output": "{\n \"Response\": {\n \"LockId\": 1,\n \"LockState\": \"ACQUIRED\",\n \"RequestId\": \"********-****-****-****-842f5f01a127\"\n }\n}",
|
144
144
|
"title": "元数据锁检查"
|
145
145
|
}
|
146
146
|
],
|
147
147
|
"CreateCHDFSBindingProduct": [
|
148
148
|
{
|
149
149
|
"document": "示例",
|
150
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCHDFSBindingProduct\n<公共请求参数>\n\n{\n \"MountPoint\": \"
|
151
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
150
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCHDFSBindingProduct\n<公共请求参数>\n\n{\n \"MountPoint\": \"bi-gz\",\n \"BucketType\": \"cos\",\n \"ProductName\": \"DLC\",\n \"EngineName\": \"guiyin\"\n}",
|
151
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"82e112c2-24cc-44b0-8d04-a6b939ea90d6\"\n }\n}",
|
152
152
|
"title": "示例"
|
153
153
|
}
|
154
154
|
],
|
@@ -203,8 +203,8 @@
|
|
203
203
|
"CreateInternalTable": [
|
204
204
|
{
|
205
205
|
"document": "",
|
206
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInternalTable\n<公共请求参数>\n\n{\n \"
|
207
|
-
"output": "{\n \"Response\": {\n \"Execution\": \"
|
206
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInternalTable\n<公共请求参数>\n\n{\n \"TableBaseInfo\": {\n \"DatabaseName\": \"devicedata_space\",\n \"TableName\": \"test_ods\",\n \"DatasourceConnectionName\": \"DataLakeCatalog\",\n \"TableComment\": \"测试用创建\",\n \"Type\": \"MANAGED_TABLE\",\n \"TableFormat\": \"ICEBERG\",\n \"UserAlias\": \"1000xxxx663\",\n \"UserSubUin\": \"1000xxxx663\"\n },\n \"Columns\": [\n {\n \"Name\": \"id\",\n \"Type\": \"BIGINT\",\n \"Comment\": \"id\",\n \"Default\": \"0\",\n \"NotNull\": false,\n \"Precision\": 0,\n \"Scale\": 0\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"id\",\n \"Type\": \"int\",\n \"Comment\": \"id\",\n \"PartitionDot\": 0,\n \"Transform\": \"bucket\",\n \"TransformArgs\": [\n \"16\"\n ]\n }\n ]\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"Execution\": \"CREATE TABLE IF NOT EXISTS `DataLakeCatalog`.`data`.`test` (`id` BIGINT) COMMENT '测试用创建' TBLPROPERTIES ('write.distribution-mode'='hash', 'write.metadata.delete-after-commit.enabled'='true', 'write.metadata.previous-versions-max'='100', 'write.metadata.metrics.default'='full', 'smart-optimizer.inherit'='default');\",\n \"RequestId\": \"fdee5c95-4677-4ebe-b487-9aae77437426\"\n }\n}",
|
208
208
|
"title": "创建托管存储内表"
|
209
209
|
}
|
210
210
|
],
|
@@ -331,8 +331,8 @@
|
|
331
331
|
"DeleteCHDFSBindingProduct": [
|
332
332
|
{
|
333
333
|
"document": "示例",
|
334
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCHDFSBindingProduct\n<公共请求参数>\n\n{\n \"MountPoint\": \"
|
335
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
334
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCHDFSBindingProduct\n<公共请求参数>\n\n{\n \"MountPoint\": \"f14xxxxfwhda-1234\",\n \"BucketType\": \"cos\",\n \"ProductName\": \"DLC\",\n \"EngineName\": \"dlc_engine\"\n}",
|
335
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"82e314c2-24cc-44b0-8d04-a6b939ea90d6\"\n }\n}",
|
336
336
|
"title": "示例"
|
337
337
|
}
|
338
338
|
],
|
@@ -371,7 +371,7 @@
|
|
371
371
|
"DeleteTable": [
|
372
372
|
{
|
373
373
|
"document": "",
|
374
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTable\n<公共请求参数>\n\n{\n \"TableBaseInfo\": {\n \"TableName\": \"
|
374
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTable\n<公共请求参数>\n\n{\n \"TableBaseInfo\": {\n \"TableName\": \"table2\",\n \"DatasourceConnectionName\": \"DataLakeCatalog\",\n \"DatabaseName\": \"database1\"\n }\n}",
|
375
375
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b076c1df-26f0-45b7-84f1-fa4eeca7c83f\"\n }\n}",
|
376
376
|
"title": "删除表"
|
377
377
|
}
|
@@ -513,8 +513,8 @@
|
|
513
513
|
"DescribeDatabases": [
|
514
514
|
{
|
515
515
|
"document": "查询数据库列表",
|
516
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatabases\n<公共请求参数>\n\n{\n \"
|
517
|
-
"output": "{\n \"Response\": {\n \"DatabaseList\": [\n {\n \"
|
516
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatabases\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0,\n \"KeyWord\": \"database1\",\n \"DatasourceConnectionName\": \"DataLakeCatalog\",\n \"Sort\": \"CreateTime\"\n}",
|
517
|
+
"output": "{\n \"Response\": {\n \"DatabaseList\": [\n {\n \"Comment\": \"default description\",\n \"CreateTime\": \"1737372787000\",\n \"DatabaseName\": \"database1\",\n \"GovernPolicy\": {\n \"RuleType\": \"none\"\n },\n \"Location\": \"\",\n \"ModifiedTime\": \"1737372787000\",\n \"Properties\": [\n {\n \"Key\": \"param1\",\n \"Value\": \"default param\"\n }\n ],\n \"UserAlias\": \"\",\n \"UserSubUin\": \"\"\n }\n ],\n \"RequestId\": \"********-****-****-****-2d2f1a350edb\",\n \"TotalCount\": 1\n }\n}",
|
518
518
|
"title": "查询数据库列表"
|
519
519
|
}
|
520
520
|
],
|
@@ -561,8 +561,8 @@
|
|
561
561
|
"DescribeLakeFsTaskResult": [
|
562
562
|
{
|
563
563
|
"document": "",
|
564
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLakeFsTaskResult\n<公共请求参数>\n\n{\n \"FsPath\": \"
|
565
|
-
"output": "{\n \"Response\": {\n \"AccessToken\": {\n \"SecretId\": \"
|
564
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLakeFsTaskResult\n<公共请求参数>\n\n{\n \"FsPath\": \"lakefs://*@dlc7e43-*-*-*-*/*/.system/result/20250109/*\"\n}",
|
565
|
+
"output": "{\n \"Response\": {\n \"AccessToken\": {\n \"SecretId\": \"AKI***\",\n \"SecretKey\": \"D7****y\",\n \"Token\": \"lod\",\n \"ExpiredTime\": 1736421897,\n \"IssueTime\": 1736420097\n },\n \"RequestId\": \"09d82a50-abc7-419a-a719-1062713d459c\"\n }\n}",
|
566
566
|
"title": "实例一"
|
567
567
|
}
|
568
568
|
],
|
@@ -617,16 +617,16 @@
|
|
617
617
|
"DescribeOtherCHDFSBindingList": [
|
618
618
|
{
|
619
619
|
"document": "示例",
|
620
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOtherCHDFSBindingList\n<公共请求参数>\n\n{\n \"BucketId\": \"
|
621
|
-
"output": "{\n \"Response\": {\n \"OtherCHDFSBindingList\": [\n {\n \"ProductName\": \"
|
620
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOtherCHDFSBindingList\n<公共请求参数>\n\n{\n \"BucketId\": \"dlcce79-*-*-*-*\"\n}",
|
621
|
+
"output": "{\n \"Response\": {\n \"OtherCHDFSBindingList\": [\n {\n \"ProductName\": \"other\",\n \"SuperUser\": [\n \"root\"\n ],\n \"VpcInfo\": [\n {\n \"RuleId\": 1111,\n \"AccessGroupId\": \"ag-234\",\n \"VpcId\": \"vpc-123456\",\n \"VpcName\": \"\",\n \"VpcCidrBlock\": [\n {\n \"CidrId\": \"\",\n \"CidrAddr\": \"10.*.*.*/16\"\n }\n ]\n }\n ],\n \"IsBind\": false\n },\n {\n \"ProductName\": \"other\",\n \"SuperUser\": [\n \"root\"\n ],\n \"VpcInfo\": [\n {\n \"RuleId\": 2222,\n \"AccessGroupId\": \"ag-123\",\n \"VpcId\": \"vpc-123456\",\n \"VpcName\": \"\",\n \"VpcCidrBlock\": [\n {\n \"CidrId\": \"\",\n \"CidrAddr\": \"172.*.*.*/16\"\n }\n ]\n }\n ],\n \"IsBind\": true\n }\n ],\n \"RequestId\": \"3f110545-d05a-4c7c-a851-94c11cf9d4c2\",\n \"Total\": 2\n }\n}",
|
622
622
|
"title": "示例"
|
623
623
|
}
|
624
624
|
],
|
625
625
|
"DescribeResultDownload": [
|
626
626
|
{
|
627
627
|
"document": "",
|
628
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResultDownload\n<公共请求参数>\n\n{\n \"DownloadId\": \"
|
629
|
-
"output": "{\n \"Response\": {\n \"
|
628
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResultDownload\n<公共请求参数>\n\n{\n \"DownloadId\": \"31f36df6-7510-4e3e-a467-c1d86494ad1d\"\n}",
|
629
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"869b7f1f-880b-4458-9b00-37256470e430\",\n \"Path\": \"cosn://geoli-test/dlc/DLCQueryResults/2024/12/29/*/*/download/download-daace.csv\",\n \"Status\": \"success\",\n \"Reason\": \"\",\n \"SecretId\": \"AKIDEbKkzWJThxxx\",\n \"SecretKey\": \"Yxo9NW4xxx\",\n \"Token\": \"KHripBvMoTbyZYXD2oxxxxdfxxx\"\n }\n}",
|
630
630
|
"title": "示例1"
|
631
631
|
}
|
632
632
|
],
|
@@ -634,7 +634,7 @@
|
|
634
634
|
{
|
635
635
|
"document": "查询SQL脚本列表",
|
636
636
|
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScripts\n<公共请求参数>\n\n{\n \"Sorting\": \"update-time\",\n \"Limit\": 1,\n \"SortBy\": \"desc\",\n \"Offset\": 0\n}",
|
637
|
-
"output": "{\n \"Response\": {\n \"Scripts\": [\n {\n \"ScriptId\": \"
|
637
|
+
"output": "{\n \"Response\": {\n \"Scripts\": [\n {\n \"ScriptId\": \"2c15fe4e-9a71-443a-a079-10b681cd173c\",\n \"ScriptName\": \"createScript_autotest\",\n \"ScriptDesc\": \"2c15fe4e-9a71-443a-a079-10b681cd173c\",\n \"DatabaseName\": \"dlc_database\",\n \"SQLStatement\": \"select* from abc\",\n \"UpdateTime\": 0\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"2c15fe4e-9a71-443a-a079-10b681cd173c\"\n }\n}",
|
638
638
|
"title": "查询SQL脚本列表"
|
639
639
|
}
|
640
640
|
],
|
@@ -705,24 +705,24 @@
|
|
705
705
|
"DescribeTable": [
|
706
706
|
{
|
707
707
|
"document": "查询表信息",
|
708
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTable\n<公共请求参数>\n\n{\n \"DatabaseName\": \"
|
709
|
-
"output": "{\n \"Response\": {\n \"
|
708
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTable\n<公共请求参数>\n\n{\n \"TableName\": \"table2\",\n \"DatabaseName\": \"database1\",\n \"DatasourceConnectionName\": \"DataLakeCatalog\"\n}",
|
709
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"********-****-****-****-b20a8b876cfb\",\n \"Table\": {\n \"Columns\": [\n {\n \"Comment\": \"test col\",\n \"CreateTime\": \"1736941935000\",\n \"DataMaskStrategyInfo\": null,\n \"IsPartition\": true,\n \"ModifiedTime\": \"\",\n \"Name\": \"column1\",\n \"Nullable\": \"\",\n \"Position\": 0,\n \"Precision\": 0,\n \"Scale\": 0,\n \"Type\": \"int\"\n }\n ],\n \"CreateTime\": \"1736853257000\",\n \"HeatValue\": 10,\n \"InputFormat\": \"org.apache.hadoop.mapred.FileInputFormat\",\n \"InputFormatShort\": \"parquet\",\n \"Location\": \"cosn://********\",\n \"ModifiedTime\": \"1736941935000\",\n \"Partitions\": [\n {\n \"Comment\": \"test col\",\n \"CreateTime\": 0,\n \"Name\": \"column1\",\n \"Transform\": \"identity\",\n \"TransformArgs\": null,\n \"Type\": \"int\"\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"comment\",\n \"Value\": \"test comment\"\n },\n {\n \"Key\": \"property1\",\n \"Value\": \"test property\"\n },\n {\n \"Key\": \"test property\",\n \"Value\": \"default value\"\n }\n ],\n \"RecordCount\": 0,\n \"StorageSize\": 0,\n \"TableBaseInfo\": {\n \"DatabaseName\": \"database1\",\n \"DatasourceConnectionName\": \"\",\n \"DbGovernPolicyIsDisable\": \"\",\n \"GovernPolicy\": {\n \"RuleType\": \"none\"\n },\n \"TableComment\": null,\n \"TableFormat\": \"ICEBERG\",\n \"TableName\": \"table2\",\n \"Type\": \"MANAGED_TABLE\",\n \"UserAlias\": \"t********\",\n \"UserSubUin\": \"1*********6\"\n }\n }\n }\n}",
|
710
710
|
"title": "查询表信息"
|
711
711
|
}
|
712
712
|
],
|
713
713
|
"DescribeTables": [
|
714
714
|
{
|
715
715
|
"document": "查询数据表列表。",
|
716
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTables\n<公共请求参数>\n\n{\n \"Limit\":
|
717
|
-
"output": "{\n \"Response\": {\n \"
|
716
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTables\n<公共请求参数>\n\n{\n \"Limit\": 20,\n \"Offset\": 0,\n \"DatabaseName\": \"database1\",\n \"Filters\": [\n {\n \"Name\": \"table-name\",\n \"Values\": [\n \"table2\"\n ]\n }\n ],\n \"DatasourceConnectionName\": \"DataLakeCatalog\",\n \"Sort\": \"CreateTime\"\n}",
|
717
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"********-****-****-****-ea237088c286\",\n \"TableList\": [\n {\n \"Columns\": null,\n \"CreateTime\": \"1736853257000\",\n \"HeatValue\": 10,\n \"InputFormat\": \"org.apache.hadoop.mapred.FileInputFormat\",\n \"InputFormatShort\": \"parquet\",\n \"Location\": \"cosn://********\",\n \"ModifiedTime\": \"1736941935000\",\n \"Partitions\": [\n {\n \"Comment\": \"\",\n \"CreateTime\": 0,\n \"Name\": \"column1\",\n \"Transform\": \"identity\",\n \"TransformArgs\": null,\n \"Type\": \"\"\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"property1\",\n \"Value\": \"test property\"\n },\n {\n \"Key\": \"test property\",\n \"Value\": \"default value\"\n },\n {\n \"Key\": \"metadata_location\",\n \"Value\": \"cosn://********\"\n }\n ],\n \"RecordCount\": 0,\n \"StorageSize\": 0,\n \"TableBaseInfo\": {\n \"DatabaseName\": \"database1\",\n \"DatasourceConnectionName\": \"\",\n \"DbGovernPolicyIsDisable\": \"true\",\n \"GovernPolicy\": {\n \"RuleType\": \"none\"\n },\n \"TableComment\": null,\n \"TableFormat\": \"ICEBERG\",\n \"TableName\": \"table2\",\n \"Type\": \"MANAGED_TABLE\",\n \"UserAlias\": \"t**********\",\n \"UserSubUin\": \"1**********6\"\n }\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
718
718
|
"title": "示例1"
|
719
719
|
}
|
720
720
|
],
|
721
721
|
"DescribeTablesName": [
|
722
722
|
{
|
723
723
|
"document": "",
|
724
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTablesName\n<公共请求参数>\n\n{\n \"
|
725
|
-
"output": "{\n \"Response\": {\n \"TableNameList\": [\n \"
|
724
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTablesName\n<公共请求参数>\n\n{\n \"DatabaseName\": \"dlc_db\",\n \"Limit\": 20,\n \"Offset\": 0,\n \"Filters\": [\n {\n \"Name\": \"table-name\",\n \"Values\": [\n \"dlc_detail\"\n ]\n }\n ],\n \"DatasourceConnectionName\": \"emr_hive\",\n \"StartTime\": \"2024-12-02 15:04:05\",\n \"EndTime\": \"2025-01-02 15:04:05\",\n \"Sort\": \"UpdateTime\",\n \"Asc\": true,\n \"TableType\": \"Table\",\n \"TableFormat\": \"HIVE\"\n}",
|
725
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"********-****-****-****-102073fb4fe8\",\n \"TableNameList\": [\n \"dlc_detail\"\n ],\n \"TotalCount\": 1\n }\n}",
|
726
726
|
"title": "查询数据表名称列表"
|
727
727
|
}
|
728
728
|
],
|
@@ -754,7 +754,7 @@
|
|
754
754
|
{
|
755
755
|
"document": "",
|
756
756
|
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasksAnalysis\n<公共请求参数>\n\n{}",
|
757
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"580668d5-d47c-44a1-86ea-273843d94778\",\n \"TaskList\": [\n {\n \"Id\": \"
|
757
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"580668d5-d47c-44a1-86ea-273843d94778\",\n \"TaskList\": [\n {\n \"Id\": \"67ea3d234006dc901\",\n \"State\": 2,\n \"SQL\": \"select * from tpcds_sql_orc.store_sales limit 100000\",\n \"DataEngineName\": \"super_spark_270\",\n \"InstanceStartTime\": 1733842361290,\n \"InstanceCompleteTime\": 1733842401892,\n \"JobTimeSum\": 35589,\n \"TaskTimeSum\": 403,\n \"InputRecordsSum\": 49049600,\n \"InputBytesSum\": 20648020108,\n \"OutputRecordsSum\": 100000,\n \"OutputBytesSum\": 14638477,\n \"ShuffleReadBytesSum\": 0,\n \"ShuffleReadRecordsSum\": 0,\n \"AnalysisStatus\": \"[\\\"SPARK-OutputSmallFile\\\"]\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
758
758
|
"title": "洞察分析列表"
|
759
759
|
}
|
760
760
|
],
|
@@ -778,7 +778,7 @@
|
|
778
778
|
{
|
779
779
|
"document": "查询注册的第三方访问用户信息",
|
780
780
|
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeThirdPartyAccessUser\n<公共请求参数>\n\n{}",
|
781
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"584515f3
|
781
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"584515f3-*-*-*-*\",\n \"UserInfo\": {\n \"AppId\": \"130****831\",\n \"CreateTime\": \"2024-10-24T16:23:01+08:00\",\n \"Id\": 5,\n \"Uin\": \"1000****6626\"\n }\n }\n}",
|
782
782
|
"title": "实例一"
|
783
783
|
}
|
784
784
|
],
|
@@ -809,15 +809,9 @@
|
|
809
809
|
"DescribeUserRoles": [
|
810
810
|
{
|
811
811
|
"document": "",
|
812
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserRoles\n<公共请求参数>\n\n{\n \"Limit\": 0,\n \"Offset\": 0,\n \"Fuzzy\": \"
|
813
|
-
"output": "{\n \"Response\": {\n \"Total\":
|
812
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserRoles\n<公共请求参数>\n\n{\n \"Limit\": 0,\n \"Offset\": 0,\n \"Fuzzy\": \"roleName\",\n \"SortBy\": \"modify_time\",\n \"Sorting\": \"desc\"\n}",
|
813
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"UserRoles\": [\n {\n \"RoleId\": 110,\n \"AppId\": \"125****421\",\n \"Uin\": \"1000*****740\",\n \"Arn\": \"***roleName/***cos02\",\n \"ModifyTime\": 0,\n \"Desc\": \"test_arn\",\n \"RoleName\": \"NULL\",\n \"Creator\": \"1000*****356\",\n \"CosPermissionList\": [\n {\n \"CosPath\": \"cosn://***\",\n \"Permissions\": [\n \"read\"\n ]\n }\n ],\n \"PermissionJson\": \"deny\"\n }\n ],\n \"RequestId\": \"490e0b63-ae1a-4faf-a689-a5cde719cdc3\"\n }\n}",
|
814
814
|
"title": "test"
|
815
|
-
},
|
816
|
-
{
|
817
|
-
"document": "",
|
818
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserRoles\n<公共请求参数>\n\n{\n \"Fuzzy\": \"1\",\n \"Limit\": 0,\n \"Offset\": 0\n}",
|
819
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"UserRoles\": [\n {\n \"RoleId\": 0,\n \"AppId\": \"1234\",\n \"Uin\": \"1234\",\n \"ModifyTime\": 1650424290,\n \"Arn\": \"11\",\n \"Desc\": \"test role\"\n }\n ],\n \"RequestId\": \"2ae4707a-9f72-44aa-9fd4-65cb739d6301\"\n }\n}",
|
820
|
-
"title": "列举用户角色信息"
|
821
815
|
}
|
822
816
|
],
|
823
817
|
"DescribeUserType": [
|
@@ -847,8 +841,8 @@
|
|
847
841
|
"DescribeWorkGroupInfo": [
|
848
842
|
{
|
849
843
|
"document": "",
|
850
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWorkGroupInfo\n<公共请求参数>\n\n{}",
|
851
|
-
"output": "{\n \"Response\": {\n \"WorkGroupInfo\": {\n \"WorkGroupId\": 12,\n \"WorkGroupName\": \"testGroup\",\n \"Type\": \"User\"\n },\n \"RequestId\": \"gsdf-213kjs9sf-f11fafsaf-12e1k\"\n }\n}",
|
844
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWorkGroupInfo\n<公共请求参数>\n\n{\n \"WorkGroupId\": 63304,\n \"Type\": \"User\",\n \"Filters\": [\n {\n \"Name\": \"policy-source\",\n \"Values\": [\n \"WORKGROUP\"\n ]\n }\n ],\n \"SortBy\": \"create-time\",\n \"Sorting\": \"desc\",\n \"Limit\": 20,\n \"Offset\": 0\n}",
|
845
|
+
"output": "{\n \"Response\": {\n \"WorkGroupInfo\": {\n \"WorkGroupId\": 12,\n \"UserInfo\": {\n \"TotalCount\": 1,\n \"UserSet\": [\n {\n \"UserDescription\": \"default description\",\n \"UserAlias\": \"testname\",\n \"UserId\": \"12319087121\",\n \"CreateTime\": \"2011-11-23 11:32:42\",\n \"Creator\": \"12319087121\"\n }\n ]\n },\n \"WorkGroupName\": \"testGroup\",\n \"RowFilterInfo\": null,\n \"DataPolicyInfo\": null,\n \"EnginePolicyInfo\": null,\n \"WorkGroupDescription\": \"default workgroup\",\n \"Type\": \"User\"\n },\n \"RequestId\": \"gsdf-213kjs9sf-f11fafsaf-12e1k\"\n }\n}",
|
852
846
|
"title": "获取工作组详细信息"
|
853
847
|
}
|
854
848
|
],
|
@@ -895,7 +889,7 @@
|
|
895
889
|
"DropDMSTable": [
|
896
890
|
{
|
897
891
|
"document": "",
|
898
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DropDMSTable\n<公共请求参数>\n\n{\n \"DbName\": \"
|
892
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DropDMSTable\n<公共请求参数>\n\n{\n \"DbName\": \"database1\",\n \"Name\": \"table1\",\n \"DeleteData\": true\n}",
|
899
893
|
"output": "{\n \"Response\": {\n \"RequestId\": \"xxx-xxx-xxx\"\n }\n}",
|
900
894
|
"title": "DMS元数据删除表"
|
901
895
|
}
|
@@ -910,9 +904,9 @@
|
|
910
904
|
],
|
911
905
|
"GetOptimizerPolicy": [
|
912
906
|
{
|
913
|
-
"document": "",
|
914
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetOptimizerPolicy\n<公共请求参数>\n\n{\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"
|
915
|
-
"output": "{\n \"Response\": {\n \"
|
907
|
+
"document": "test",
|
908
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetOptimizerPolicy\n<公共请求参数>\n\n{\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"1000******03\",\n \"PolicyType\": \"Table\",\n \"Catalog\": \"DataLakeCatalog\",\n \"Database\": \"dlc_db\",\n \"Table\": \"table_ai\",\n \"AppId\": \"131****789\"\n },\n \"Policy\": {\n \"Inherit\": \"none\",\n \"Resources\": [\n {\n \"AttributionType\": \"group\",\n \"ResourceType\": \"SQL\",\n \"Name\": \"dlc_spark_test\",\n \"Instance\": \"spark-sql\",\n \"Favor\": [\n {\n \"Priority\": 2147483647,\n \"Catalog\": \"DataLakeCatalog\",\n \"DataBase\": \"dlc_db\",\n \"Table\": \"table_ai\"\n }\n ],\n \"Status\": 1,\n \"ResourceGroupName\": \"default-rg-1234dlc123\"\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"enable\"\n },\n \"Lifecycle\": {\n \"LifecycleEnable\": \"disable\",\n \"Expiration\": 0,\n \"DropTable\": true,\n \"ExpiredField\": \"pt\",\n \"ExpiredFieldFormat\": \"yyyy-MM-dd\"\n },\n \"Index\": {\n \"IndexEnable\": \"disable\"\n },\n \"ChangeTable\": {\n \"DataRetentionTime\": 8\n }\n }\n }\n}",
|
909
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"43252d22-6ddf-4bda-81b5-575edf0f787c\",\n \"SmartOptimizerPolicy\": {\n \"Index\": {\n \"IndexEnable\": \"disable\"\n },\n \"Inherit\": \"none\",\n \"Lifecycle\": {\n \"LifecycleEnable\": \"disable\"\n },\n \"Resources\": [\n {\n \"AttributionType\": \"group\",\n \"Name\": \"dlc_spark_test\",\n \"ResourceGroupName\": \"default-rg-1234dlc123\",\n \"ResourceType\": \"SQL\"\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"enable\"\n }\n }\n }\n}",
|
916
910
|
"title": "test"
|
917
911
|
}
|
918
912
|
],
|
@@ -943,8 +937,8 @@
|
|
943
937
|
"LockMetaData": [
|
944
938
|
{
|
945
939
|
"document": "",
|
946
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LockMetaData\n<公共请求参数>\n\n{\n \"LockComponentList\": [\n {\n \"DataOperationType\": \"
|
947
|
-
"output": "{\n \"Response\": {\n \"LockId\": 0,\n \"LockState\": \"
|
940
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LockMetaData\n<公共请求参数>\n\n{\n \"LockComponentList\": [\n {\n \"DataOperationType\": \"UNSET\",\n \"IsDynamicPartitionWrite\": true,\n \"LockLevel\": \"TABLE\",\n \"Partition\": \"\",\n \"TableName\": \"dlc_table\",\n \"LockType\": \"EXCLUSIVE\",\n \"IsAcid\": true,\n \"DbName\": \"dbdlc\"\n }\n ],\n \"TxnId\": 0,\n \"DatasourceConnectionName\": \"DataLakeCatalog\"\n}",
|
941
|
+
"output": "{\n \"Response\": {\n \"LockId\": 0,\n \"LockState\": \"ACQUIRED\",\n \"RequestId\": \"776333b3-fab2-44eb-ad5c-98ea6fb4506b\"\n }\n}",
|
948
942
|
"title": "元数据加锁"
|
949
943
|
}
|
950
944
|
],
|
@@ -999,7 +993,7 @@
|
|
999
993
|
"ModifyUserType": [
|
1000
994
|
{
|
1001
995
|
"document": "",
|
1002
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserType\n<公共请求参数>\n\n{\n \"
|
996
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserType\n<公共请求参数>\n\n{\n \"UserId\": \"182xxxxx342\",\n \"UserType\": \"ADMIN\"\n}",
|
1003
997
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ks1141-dasd8ca1-acds81fa\"\n }\n}",
|
1004
998
|
"title": "修改用户类型"
|
1005
999
|
}
|
@@ -1055,7 +1049,7 @@
|
|
1055
1049
|
"ReportHeartbeatMetaData": [
|
1056
1050
|
{
|
1057
1051
|
"document": "",
|
1058
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReportHeartbeatMetaData\n<公共请求参数>\n\n{\n \"LockId\": 0,\n \"TxnId\": 0,\n \"DatasourceConnectionName\": \"
|
1052
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReportHeartbeatMetaData\n<公共请求参数>\n\n{\n \"LockId\": 0,\n \"TxnId\": 0,\n \"DatasourceConnectionName\": \"DataLakeCatalog\"\n}",
|
1059
1053
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b577857e-041f-46c7-b5cf-4b3d3f50bc51\"\n }\n}",
|
1060
1054
|
"title": "元数据心跳上报"
|
1061
1055
|
}
|
@@ -1119,7 +1113,7 @@
|
|
1119
1113
|
"UnlockMetaData": [
|
1120
1114
|
{
|
1121
1115
|
"document": "",
|
1122
|
-
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnlockMetaData\n<公共请求参数>\n\n{\n \"LockId\": 0,\n \"DatasourceConnectionName\": \"
|
1116
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnlockMetaData\n<公共请求参数>\n\n{\n \"LockId\": 0,\n \"DatasourceConnectionName\": \"DataLakeCatalog\"\n}",
|
1123
1117
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b577857e-041f-46c7-b5cf-4b3d3f50bc51\"\n }\n}",
|
1124
1118
|
"title": "元数据解锁"
|
1125
1119
|
}
|
@@ -409,7 +409,7 @@
|
|
409
409
|
"value_allowed_null": true
|
410
410
|
},
|
411
411
|
{
|
412
|
-
"disabled":
|
412
|
+
"disabled": true,
|
413
413
|
"document": "多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。",
|
414
414
|
"example": "1",
|
415
415
|
"member": "string",
|
@@ -640,6 +640,16 @@
|
|
640
640
|
"output_required": false,
|
641
641
|
"type": "int",
|
642
642
|
"value_allowed_null": false
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"disabled": false,
|
646
|
+
"document": "多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。",
|
647
|
+
"example": "1",
|
648
|
+
"member": "string",
|
649
|
+
"name": "ModerationLevel",
|
650
|
+
"output_required": false,
|
651
|
+
"type": "string",
|
652
|
+
"value_allowed_null": false
|
643
653
|
}
|
644
654
|
],
|
645
655
|
"usage": "out"
|