tccli 3.0.1171.1__py2.py3-none-any.whl → 3.0.1173.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 (37) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/billing/v20180709/api.json +125 -5
  3. tccli/services/dlc/v20210125/api.json +137 -19
  4. tccli/services/dlc/v20210125/examples.json +6 -6
  5. tccli/services/es/v20180416/api.json +89 -2
  6. tccli/services/ess/ess_client.py +110 -4
  7. tccli/services/ess/v20201111/api.json +239 -0
  8. tccli/services/ess/v20201111/examples.json +16 -0
  9. tccli/services/essbasic/essbasic_client.py +67 -14
  10. tccli/services/essbasic/v20210526/api.json +103 -0
  11. tccli/services/essbasic/v20210526/examples.json +8 -0
  12. tccli/services/faceid/v20180301/api.json +2 -2
  13. tccli/services/goosefs/v20220519/api.json +56 -11
  14. tccli/services/hunyuan/v20230901/api.json +9 -0
  15. tccli/services/iss/v20230517/api.json +58 -0
  16. tccli/services/iss/v20230517/examples.json +13 -7
  17. tccli/services/mna/mna_client.py +53 -0
  18. tccli/services/mna/v20210119/api.json +80 -0
  19. tccli/services/mna/v20210119/examples.json +8 -0
  20. tccli/services/mongodb/v20190725/api.json +57 -57
  21. tccli/services/mongodb/v20190725/examples.json +2 -2
  22. tccli/services/ms/v20180408/api.json +46 -46
  23. tccli/services/ocr/v20181119/api.json +1 -1
  24. tccli/services/organization/organization_client.py +2837 -293
  25. tccli/services/organization/v20210331/api.json +7182 -1735
  26. tccli/services/organization/v20210331/examples.json +384 -0
  27. tccli/services/tat/tat_client.py +53 -0
  28. tccli/services/tat/v20201028/api.json +149 -5
  29. tccli/services/tat/v20201028/examples.json +8 -0
  30. tccli/services/teo/v20220901/api.json +2 -2
  31. tccli/services/trocket/v20230308/api.json +65 -12
  32. tccli/services/trtc/v20190722/api.json +22 -0
  33. {tccli-3.0.1171.1.dist-info → tccli-3.0.1173.1.dist-info}/METADATA +2 -2
  34. {tccli-3.0.1171.1.dist-info → tccli-3.0.1173.1.dist-info}/RECORD +37 -37
  35. {tccli-3.0.1171.1.dist-info → tccli-3.0.1173.1.dist-info}/WHEEL +0 -0
  36. {tccli-3.0.1171.1.dist-info → tccli-3.0.1173.1.dist-info}/entry_points.txt +0 -0
  37. {tccli-3.0.1171.1.dist-info → tccli-3.0.1173.1.dist-info}/license_files/LICENSE +0 -0
@@ -51,7 +51,7 @@
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\": \"abc\",\n \"TableName\": \"abc\",\n \"DatasourceConnectionName\": \"abc\",\n \"TableComment\": \"abc\",\n \"Type\": \"abc\",\n \"TableFormat\": \"abc\",\n \"UserAlias\": \"abc\",\n \"UserSubUin\": \"abc\",\n \"GovernPolicy\": {\n \"RuleType\": \"abc\",\n \"GovernEngine\": \"abc\"\n },\n \"DbGovernPolicyIsDisable\": \"abc\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {},\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Default\": \"abc\",\n \"NotNull\": true,\n \"Precision\": 0,\n \"Scale\": 0\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"PartitionType\": \"abc\",\n \"PartitionFormat\": \"abc\",\n \"PartitionDot\": 0,\n \"Transform\": \"abc\",\n \"TransformArgs\": [\n \"abc\"\n ]\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"UpsertKeys\": [\n \"abc\"\n ]\n}",
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\": \"abc\",\n \"TableName\": \"abc\",\n \"DatasourceConnectionName\": \"abc\",\n \"TableComment\": \"abc\",\n \"Type\": \"abc\",\n \"TableFormat\": \"abc\",\n \"UserAlias\": \"abc\",\n \"UserSubUin\": \"abc\",\n \"GovernPolicy\": {\n \"RuleType\": \"abc\",\n \"GovernEngine\": \"abc\"\n },\n \"DbGovernPolicyIsDisable\": \"abc\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"abc\"\n },\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Default\": \"abc\",\n \"NotNull\": true,\n \"Precision\": 0,\n \"Scale\": 0\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"PartitionType\": \"abc\",\n \"PartitionFormat\": \"abc\",\n \"PartitionDot\": 0,\n \"Transform\": \"abc\",\n \"TransformArgs\": [\n \"abc\"\n ]\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"UpsertKeys\": [\n \"abc\"\n ]\n}",
55
55
  "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
56
56
  "title": "示例一"
57
57
  }
@@ -698,7 +698,7 @@
698
698
  {
699
699
  "document": "查询表信息",
700
700
  "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTable\n<公共请求参数>\n\n{\n \"DatabaseName\": \"testdb\",\n \"TableName\": \"table1\"\n}",
701
- "output": "{\n \"Response\": {\n \"Table\": {\n \"TableBaseInfo\": {\n \"DatabaseName\": \"abc\",\n \"TableName\": \"abc\",\n \"DatasourceConnectionName\": \"abc\",\n \"TableComment\": \"abc\",\n \"Type\": \"abc\",\n \"TableFormat\": \"abc\",\n \"UserAlias\": \"abc\",\n \"UserSubUin\": \"abc\",\n \"GovernPolicy\": {\n \"RuleType\": \"abc\",\n \"GovernEngine\": \"abc\"\n },\n \"DbGovernPolicyIsDisable\": \"abc\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {},\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"abc\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Transform\": \"abc\",\n \"TransformArgs\": [\n \"abc\"\n ],\n \"CreateTime\": 0\n }\n ],\n \"Location\": \"abc\",\n \"Properties\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"ModifiedTime\": \"abc\",\n \"CreateTime\": \"abc\",\n \"InputFormat\": \"abc\",\n \"StorageSize\": 0,\n \"RecordCount\": 0,\n \"MapMaterializedViewName\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
701
+ "output": "{\n \"Response\": {\n \"Table\": {\n \"TableBaseInfo\": {\n \"DatabaseName\": \"abc\",\n \"TableName\": \"abc\",\n \"DatasourceConnectionName\": \"abc\",\n \"TableComment\": \"abc\",\n \"Type\": \"abc\",\n \"TableFormat\": \"abc\",\n \"UserAlias\": \"abc\",\n \"UserSubUin\": \"abc\",\n \"GovernPolicy\": {\n \"RuleType\": \"abc\",\n \"GovernEngine\": \"abc\"\n },\n \"DbGovernPolicyIsDisable\": \"abc\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"abc\"\n },\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"abc\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Transform\": \"abc\",\n \"TransformArgs\": [\n \"abc\"\n ],\n \"CreateTime\": 0\n }\n ],\n \"Location\": \"abc\",\n \"Properties\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"ModifiedTime\": \"abc\",\n \"CreateTime\": \"abc\",\n \"InputFormat\": \"abc\",\n \"StorageSize\": 0,\n \"RecordCount\": 0,\n \"MapMaterializedViewName\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
702
702
  "title": "查询表信息"
703
703
  }
704
704
  ],
@@ -706,7 +706,7 @@
706
706
  {
707
707
  "document": "查询数据表列表。",
708
708
  "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTables\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Offset\": 0,\n \"DatabaseName\": \"testdb\",\n \"DatasourceConnectionName\": \"DataLakeCatalog\"\n}",
709
- "output": "{\n \"Response\": {\n \"TableList\": [\n {\n \"TableBaseInfo\": {\n \"DatabaseName\": \"abc\",\n \"TableName\": \"abc\",\n \"DatasourceConnectionName\": \"abc\",\n \"TableComment\": \"abc\",\n \"Type\": \"abc\",\n \"TableFormat\": \"abc\",\n \"UserAlias\": \"abc\",\n \"UserSubUin\": \"abc\",\n \"GovernPolicy\": {\n \"RuleType\": \"abc\",\n \"GovernEngine\": \"abc\"\n },\n \"DbGovernPolicyIsDisable\": \"abc\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {},\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"abc\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Transform\": \"abc\",\n \"TransformArgs\": [\n \"abc\"\n ],\n \"CreateTime\": 0\n }\n ],\n \"Location\": \"abc\",\n \"Properties\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"ModifiedTime\": \"abc\",\n \"CreateTime\": \"abc\",\n \"InputFormat\": \"abc\",\n \"StorageSize\": 0,\n \"RecordCount\": 0,\n \"MapMaterializedViewName\": \"abc\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
709
+ "output": "{\n \"Response\": {\n \"TableList\": [\n {\n \"TableBaseInfo\": {\n \"DatabaseName\": \"abc\",\n \"TableName\": \"abc\",\n \"DatasourceConnectionName\": \"abc\",\n \"TableComment\": \"abc\",\n \"Type\": \"abc\",\n \"TableFormat\": \"abc\",\n \"UserAlias\": \"abc\",\n \"UserSubUin\": \"abc\",\n \"GovernPolicy\": {\n \"RuleType\": \"abc\",\n \"GovernEngine\": \"abc\"\n },\n \"DbGovernPolicyIsDisable\": \"abc\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"abc\"\n },\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"abc\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Transform\": \"abc\",\n \"TransformArgs\": [\n \"abc\"\n ],\n \"CreateTime\": 0\n }\n ],\n \"Location\": \"abc\",\n \"Properties\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"ModifiedTime\": \"abc\",\n \"CreateTime\": \"abc\",\n \"InputFormat\": \"abc\",\n \"StorageSize\": 0,\n \"RecordCount\": 0,\n \"MapMaterializedViewName\": \"abc\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
710
710
  "title": "示例1"
711
711
  }
712
712
  ],
@@ -887,7 +887,7 @@
887
887
  "GenerateCreateMangedTableSql": [
888
888
  {
889
889
  "document": "创建托管存储内表",
890
- "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GenerateCreateMangedTableSql\n<公共请求参数>\n\n{\n \"TableBaseInfo\": {\n \"DatabaseName\": \"abc\",\n \"TableName\": \"abc\",\n \"DatasourceConnectionName\": \"abc\",\n \"TableComment\": \"abc\",\n \"Type\": \"abc\",\n \"TableFormat\": \"abc\",\n \"UserAlias\": \"abc\",\n \"UserSubUin\": \"abc\",\n \"GovernPolicy\": {\n \"RuleType\": \"abc\",\n \"GovernEngine\": \"abc\"\n },\n \"DbGovernPolicyIsDisable\": \"abc\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {},\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Default\": \"abc\",\n \"NotNull\": true,\n \"Precision\": 0,\n \"Scale\": 0\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"PartitionType\": \"abc\",\n \"PartitionFormat\": \"abc\",\n \"PartitionDot\": 0,\n \"Transform\": \"abc\",\n \"TransformArgs\": [\n \"abc\"\n ]\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"UpsertKeys\": [\n \"abc\"\n ]\n}",
890
+ "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GenerateCreateMangedTableSql\n<公共请求参数>\n\n{\n \"TableBaseInfo\": {\n \"DatabaseName\": \"abc\",\n \"TableName\": \"abc\",\n \"DatasourceConnectionName\": \"abc\",\n \"TableComment\": \"abc\",\n \"Type\": \"abc\",\n \"TableFormat\": \"abc\",\n \"UserAlias\": \"abc\",\n \"UserSubUin\": \"abc\",\n \"GovernPolicy\": {\n \"RuleType\": \"abc\",\n \"GovernEngine\": \"abc\"\n },\n \"DbGovernPolicyIsDisable\": \"abc\",\n \"SmartPolicy\": {\n \"BaseInfo\": {\n \"Uin\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"abc\"\n },\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n },\n \"Columns\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"Default\": \"abc\",\n \"NotNull\": true,\n \"Precision\": 0,\n \"Scale\": 0\n }\n ],\n \"Partitions\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Comment\": \"abc\",\n \"PartitionType\": \"abc\",\n \"PartitionFormat\": \"abc\",\n \"PartitionDot\": 0,\n \"Transform\": \"abc\",\n \"TransformArgs\": [\n \"abc\"\n ]\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"UpsertKeys\": [\n \"abc\"\n ]\n}",
891
891
  "output": "{\n \"Response\": {\n \"Execution\": {\n \"SQL\": \"<create sql>\"\n },\n \"RequestId\": \"RequestId\"\n }\n}",
892
892
  "title": "创建托管存储内表"
893
893
  }
@@ -895,8 +895,8 @@
895
895
  "GetOptimizerPolicy": [
896
896
  {
897
897
  "document": "",
898
- "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\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {},\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n}",
899
- "output": "{\n \"Response\": {\n \"SmartOptimizerPolicy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {},\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
898
+ "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\": \"abc\",\n \"PolicyType\": \"abc\",\n \"Catalog\": \"abc\",\n \"Database\": \"abc\",\n \"Table\": \"abc\",\n \"AppId\": \"abc\"\n },\n \"Policy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"abc\"\n },\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n }\n }\n}",
899
+ "output": "{\n \"Response\": {\n \"SmartOptimizerPolicy\": {\n \"Inherit\": \"abc\",\n \"Resources\": [\n {\n \"AttributionType\": \"abc\",\n \"ResourceType\": \"abc\",\n \"Name\": \"abc\",\n \"Instance\": \"abc\",\n \"Favor\": [\n {\n \"Priority\": 0,\n \"Catalog\": \"abc\",\n \"DataBase\": \"abc\",\n \"Table\": \"abc\"\n }\n ],\n \"Status\": 0\n }\n ],\n \"Written\": {\n \"WrittenEnable\": \"abc\"\n },\n \"Lifecycle\": {\n \"LifecycleEnable\": \"abc\",\n \"Expiration\": 0,\n \"DropTable\": true\n },\n \"Index\": {\n \"IndexEnable\": \"abc\"\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
900
900
  "title": "test"
901
901
  }
902
902
  ],
@@ -176,7 +176,7 @@
176
176
  "status": "online"
177
177
  },
178
178
  "DescribeServerlessMetrics": {
179
- "document": "获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid",
179
+ "document": "获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid\n获取一段时间时间范围内的指标数据",
180
180
  "input": "DescribeServerlessMetricsRequest",
181
181
  "name": "获取实例对应的监控指标",
182
182
  "output": "DescribeServerlessMetricsResponse",
@@ -1833,6 +1833,15 @@
1833
1833
  "name": "ZoneId",
1834
1834
  "required": false,
1835
1835
  "type": "int"
1836
+ },
1837
+ {
1838
+ "disabled": false,
1839
+ "document": "标签信息",
1840
+ "example": "无",
1841
+ "member": "TagInfo",
1842
+ "name": "TagList",
1843
+ "required": false,
1844
+ "type": "list"
1836
1845
  }
1837
1846
  ],
1838
1847
  "type": "object"
@@ -3404,12 +3413,21 @@
3404
3413
  },
3405
3414
  {
3406
3415
  "disabled": false,
3407
- "document": "指标类型,暂时只支持Storage",
3416
+ "document": "指标类型,暂时只支持Storage(存储大小),AllMetric(所有存储指标:索引流量、存储大小、文档数量、读请求和写请求)",
3408
3417
  "example": "[\"Storage\"]",
3409
3418
  "member": "string",
3410
3419
  "name": "MetricType",
3411
3420
  "required": false,
3412
3421
  "type": "list"
3422
+ },
3423
+ {
3424
+ "disabled": false,
3425
+ "document": "时间长度类型DurationType(1: 3小时, 2: 昨天1天,3: 今日0点到现在)",
3426
+ "example": "1",
3427
+ "member": "int64",
3428
+ "name": "DurationType",
3429
+ "required": false,
3430
+ "type": "int"
3413
3431
  }
3414
3432
  ],
3415
3433
  "type": "object"
@@ -3427,6 +3445,46 @@
3427
3445
  "type": "float",
3428
3446
  "value_allowed_null": false
3429
3447
  },
3448
+ {
3449
+ "disabled": false,
3450
+ "document": "IndexTraffic指标值,单位byte",
3451
+ "example": "2262158.88",
3452
+ "member": "float",
3453
+ "name": "IndexTraffic",
3454
+ "output_required": false,
3455
+ "type": "float",
3456
+ "value_allowed_null": false
3457
+ },
3458
+ {
3459
+ "disabled": false,
3460
+ "document": "读请求数,单位次数",
3461
+ "example": "100",
3462
+ "member": "int64",
3463
+ "name": "ReadReqTimes",
3464
+ "output_required": false,
3465
+ "type": "int",
3466
+ "value_allowed_null": false
3467
+ },
3468
+ {
3469
+ "disabled": false,
3470
+ "document": "写请求数,单位次数",
3471
+ "example": "100",
3472
+ "member": "int64",
3473
+ "name": "WriteReqTimes",
3474
+ "output_required": false,
3475
+ "type": "int",
3476
+ "value_allowed_null": false
3477
+ },
3478
+ {
3479
+ "disabled": false,
3480
+ "document": "文档数量,单位个数",
3481
+ "example": "100",
3482
+ "member": "int64",
3483
+ "name": "DocCount",
3484
+ "output_required": false,
3485
+ "type": "int",
3486
+ "value_allowed_null": false
3487
+ },
3430
3488
  {
3431
3489
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3432
3490
  "member": "string",
@@ -3593,6 +3651,15 @@
3593
3651
  "name": "Limit",
3594
3652
  "required": false,
3595
3653
  "type": "int"
3654
+ },
3655
+ {
3656
+ "disabled": false,
3657
+ "document": "标签信息",
3658
+ "example": "无",
3659
+ "member": "TagInfo",
3660
+ "name": "TagList",
3661
+ "required": false,
3662
+ "type": "list"
3596
3663
  }
3597
3664
  ],
3598
3665
  "type": "object"
@@ -8403,6 +8470,16 @@
8403
8470
  "output_required": true,
8404
8471
  "type": "list",
8405
8472
  "value_allowed_null": false
8473
+ },
8474
+ {
8475
+ "disabled": false,
8476
+ "document": "3782478.47\n注意:此字段可能返回 null,表示取不到有效值。",
8477
+ "example": "索引流量,单位byte",
8478
+ "member": "float",
8479
+ "name": "IndexTraffic",
8480
+ "output_required": false,
8481
+ "type": "float",
8482
+ "value_allowed_null": true
8406
8483
  }
8407
8484
  ],
8408
8485
  "usage": "out"
@@ -8730,6 +8807,16 @@
8730
8807
  "output_required": false,
8731
8808
  "type": "int",
8732
8809
  "value_allowed_null": true
8810
+ },
8811
+ {
8812
+ "disabled": false,
8813
+ "document": "key:value\n注意:此字段可能返回 null,表示取不到有效值。",
8814
+ "example": "空间标签信息",
8815
+ "member": "TagInfo",
8816
+ "name": "TagList",
8817
+ "output_required": false,
8818
+ "type": "list",
8819
+ "value_allowed_null": true
8733
8820
  }
8734
8821
  ],
8735
8822
  "usage": "out"
@@ -2201,6 +2201,58 @@ def doCreateFlowSignUrl(args, parsed_globals):
2201
2201
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2202
2202
 
2203
2203
 
2204
+ def doCreateBatchInitOrganizationUrl(args, parsed_globals):
2205
+ g_param = parse_global_arg(parsed_globals)
2206
+
2207
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2208
+ cred = credential.CVMRoleCredential()
2209
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2210
+ cred = credential.STSAssumeRoleCredential(
2211
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2212
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2213
+ )
2214
+ 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):
2215
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2216
+ else:
2217
+ cred = credential.Credential(
2218
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2219
+ )
2220
+ http_profile = HttpProfile(
2221
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2222
+ reqMethod="POST",
2223
+ endpoint=g_param[OptionsDefine.Endpoint],
2224
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2225
+ )
2226
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2227
+ if g_param[OptionsDefine.Language]:
2228
+ profile.language = g_param[OptionsDefine.Language]
2229
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2230
+ client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2231
+ client._sdkVersion += ("_CLI_" + __version__)
2232
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2233
+ model = models.CreateBatchInitOrganizationUrlRequest()
2234
+ model.from_json_string(json.dumps(args))
2235
+ start_time = time.time()
2236
+ while True:
2237
+ rsp = client.CreateBatchInitOrganizationUrl(model)
2238
+ result = rsp.to_json_string()
2239
+ try:
2240
+ json_obj = json.loads(result)
2241
+ except TypeError as e:
2242
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2243
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2244
+ break
2245
+ cur_time = time.time()
2246
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2247
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2248
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2249
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2250
+ else:
2251
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2252
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2253
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2254
+
2255
+
2204
2256
  def doCancelUserAutoSignEnableUrl(args, parsed_globals):
2205
2257
  g_param = parse_global_arg(parsed_globals)
2206
2258
 
@@ -2773,6 +2825,58 @@ def doCreateFlowBlockchainEvidenceUrl(args, parsed_globals):
2773
2825
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2774
2826
 
2775
2827
 
2828
+ def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals):
2829
+ g_param = parse_global_arg(parsed_globals)
2830
+
2831
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2832
+ cred = credential.CVMRoleCredential()
2833
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2834
+ cred = credential.STSAssumeRoleCredential(
2835
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2836
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2837
+ )
2838
+ 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):
2839
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2840
+ else:
2841
+ cred = credential.Credential(
2842
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2843
+ )
2844
+ http_profile = HttpProfile(
2845
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2846
+ reqMethod="POST",
2847
+ endpoint=g_param[OptionsDefine.Endpoint],
2848
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2849
+ )
2850
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2851
+ if g_param[OptionsDefine.Language]:
2852
+ profile.language = g_param[OptionsDefine.Language]
2853
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2854
+ client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2855
+ client._sdkVersion += ("_CLI_" + __version__)
2856
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2857
+ model = models.CreateBatchOrganizationRegistrationTasksRequest()
2858
+ model.from_json_string(json.dumps(args))
2859
+ start_time = time.time()
2860
+ while True:
2861
+ rsp = client.CreateBatchOrganizationRegistrationTasks(model)
2862
+ result = rsp.to_json_string()
2863
+ try:
2864
+ json_obj = json.loads(result)
2865
+ except TypeError as e:
2866
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2867
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2868
+ break
2869
+ cur_time = time.time()
2870
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2871
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2872
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2873
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2874
+ else:
2875
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2876
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2877
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2878
+
2879
+
2776
2880
  def doDescribeUserVerifyStatus(args, parsed_globals):
2777
2881
  g_param = parse_global_arg(parsed_globals)
2778
2882
 
@@ -2877,7 +2981,7 @@ def doModifyIntegrationRole(args, parsed_globals):
2877
2981
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2878
2982
 
2879
2983
 
2880
- def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals):
2984
+ def doCreateBatchOrganizationAuthorizationUrl(args, parsed_globals):
2881
2985
  g_param = parse_global_arg(parsed_globals)
2882
2986
 
2883
2987
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2906,11 +3010,11 @@ def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals):
2906
3010
  client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
2907
3011
  client._sdkVersion += ("_CLI_" + __version__)
2908
3012
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2909
- model = models.CreateBatchOrganizationRegistrationTasksRequest()
3013
+ model = models.CreateBatchOrganizationAuthorizationUrlRequest()
2910
3014
  model.from_json_string(json.dumps(args))
2911
3015
  start_time = time.time()
2912
3016
  while True:
2913
- rsp = client.CreateBatchOrganizationRegistrationTasks(model)
3017
+ rsp = client.CreateBatchOrganizationAuthorizationUrl(model)
2914
3018
  result = rsp.to_json_string()
2915
3019
  try:
2916
3020
  json_obj = json.loads(result)
@@ -4646,6 +4750,7 @@ ACTION_MAP = {
4646
4750
  "DescribeFlowBriefs": doDescribeFlowBriefs,
4647
4751
  "DescribeSignFaceVideo": doDescribeSignFaceVideo,
4648
4752
  "CreateFlowSignUrl": doCreateFlowSignUrl,
4753
+ "CreateBatchInitOrganizationUrl": doCreateBatchInitOrganizationUrl,
4649
4754
  "CancelUserAutoSignEnableUrl": doCancelUserAutoSignEnableUrl,
4650
4755
  "DescribeBillUsageDetail": doDescribeBillUsageDetail,
4651
4756
  "DescribeIntegrationDepartments": doDescribeIntegrationDepartments,
@@ -4657,9 +4762,10 @@ ACTION_MAP = {
4657
4762
  "CreateIntegrationRole": doCreateIntegrationRole,
4658
4763
  "ModifyExtendedService": doModifyExtendedService,
4659
4764
  "CreateFlowBlockchainEvidenceUrl": doCreateFlowBlockchainEvidenceUrl,
4765
+ "CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks,
4660
4766
  "DescribeUserVerifyStatus": doDescribeUserVerifyStatus,
4661
4767
  "ModifyIntegrationRole": doModifyIntegrationRole,
4662
- "CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks,
4768
+ "CreateBatchOrganizationAuthorizationUrl": doCreateBatchOrganizationAuthorizationUrl,
4663
4769
  "CreateEmployeeQualificationSealQrCode": doCreateEmployeeQualificationSealQrCode,
4664
4770
  "CreateExtendedServiceAuthInfos": doCreateExtendedServiceAuthInfos,
4665
4771
  "CreateOrganizationInfoChangeUrl": doCreateOrganizationInfoChangeUrl,