tccli 3.0.1296.1__py2.py3-none-any.whl → 3.0.1298.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/antiddos/v20200309/api.json +2 -2
- tccli/services/batch/v20170312/api.json +9 -8
- tccli/services/cbs/v20170312/api.json +1 -1
- tccli/services/ccc/ccc_client.py +230 -18
- tccli/services/ccc/v20200210/api.json +363 -0
- tccli/services/ccc/v20200210/examples.json +32 -0
- tccli/services/cls/cls_client.py +235 -23
- tccli/services/cls/v20201016/api.json +457 -3
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/cme/v20191029/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +97 -77
- tccli/services/dbbrain/v20191016/api.json +146 -6
- tccli/services/dbbrain/v20210527/api.json +156 -20
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +162 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dnspod/v20210323/api.json +105 -88
- tccli/services/dnspod/v20210323/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +5 -5
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +63 -0
- tccli/services/gs/v20191118/examples.json +9 -1
- tccli/services/hai/v20230812/api.json +16 -16
- tccli/services/iotcloud/v20210408/api.json +13 -17
- tccli/services/iotcloud/v20210408/examples.json +3 -3
- tccli/services/iotexplorer/v20190423/api.json +398 -341
- tccli/services/iotexplorer/v20190423/examples.json +50 -50
- tccli/services/iss/iss_client.py +411 -305
- tccli/services/iss/v20230517/api.json +236 -0
- tccli/services/iss/v20230517/examples.json +16 -0
- tccli/services/lighthouse/v20200324/api.json +3 -3
- tccli/services/live/v20180801/api.json +2 -2
- tccli/services/lke/v20231130/api.json +34 -1
- tccli/services/mps/v20190612/api.json +55 -53
- tccli/services/mps/v20190612/examples.json +40 -40
- tccli/services/mqtt/v20240516/api.json +56 -6
- tccli/services/mqtt/v20240516/examples.json +6 -6
- tccli/services/ocr/v20181119/api.json +73 -3
- tccli/services/partners/v20180321/api.json +10 -0
- tccli/services/rce/v20201103/api.json +0 -9
- tccli/services/rce/v20201103/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +36 -6
- tccli/services/teo/v20220901/api.json +48 -7
- tccli/services/teo/v20220901/examples.json +51 -15
- tccli/services/tione/tione_client.py +220 -8
- tccli/services/tione/v20211111/api.json +359 -0
- tccli/services/tione/v20211111/examples.json +32 -0
- tccli/services/tke/v20180525/api.json +2 -2
- tccli/services/trro/trro_client.py +269 -4
- tccli/services/trro/v20220325/api.json +504 -0
- tccli/services/trro/v20220325/examples.json +40 -0
- tccli/services/trtc/v20190722/api.json +10 -1
- tccli/services/vdb/v20230616/api.json +738 -15
- tccli/services/vdb/v20230616/examples.json +64 -0
- tccli/services/vdb/vdb_client.py +428 -4
- tccli/services/vod/v20180717/api.json +13 -4
- tccli/services/vod/v20180717/examples.json +4 -4
- tccli/services/vod/v20240718/api.json +985 -0
- tccli/services/vod/v20240718/examples.json +66 -0
- tccli/services/vod/vod_client.py +330 -12
- tccli/services/wedata/v20210820/api.json +453 -0
- tccli/services/wedata/v20210820/examples.json +22 -0
- tccli/services/wedata/wedata_client.py +114 -8
- tccli/services/weilingwith/v20230427/api.json +10 -10
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/RECORD +73 -73
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/license_files/LICENSE +0 -0
@@ -238,6 +238,13 @@
|
|
238
238
|
"output": "CreateSparkSessionBatchSQLResponse",
|
239
239
|
"status": "online"
|
240
240
|
},
|
241
|
+
"CreateSparkSubmitTask": {
|
242
|
+
"document": "本接口(CreateSparkSubmitTask)用于提交SparkSbumit批流任务。",
|
243
|
+
"input": "CreateSparkSubmitTaskRequest",
|
244
|
+
"name": "提交SparkSbumit批流任务",
|
245
|
+
"output": "CreateSparkSubmitTaskResponse",
|
246
|
+
"status": "online"
|
247
|
+
},
|
241
248
|
"CreateStoreLocation": {
|
242
249
|
"document": "该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。",
|
243
250
|
"input": "CreateStoreLocationRequest",
|
@@ -4661,6 +4668,161 @@
|
|
4661
4668
|
],
|
4662
4669
|
"type": "object"
|
4663
4670
|
},
|
4671
|
+
"CreateSparkSubmitTaskRequest": {
|
4672
|
+
"document": "CreateSparkSubmitTask请求参数结构体",
|
4673
|
+
"members": [
|
4674
|
+
{
|
4675
|
+
"disabled": false,
|
4676
|
+
"document": "任务名称",
|
4677
|
+
"example": "test",
|
4678
|
+
"member": "string",
|
4679
|
+
"name": "TaskName",
|
4680
|
+
"required": true,
|
4681
|
+
"type": "string"
|
4682
|
+
},
|
4683
|
+
{
|
4684
|
+
"disabled": false,
|
4685
|
+
"document": "任务类型:当前支持1: BatchType, 2: StreamingType, 4: SQLType",
|
4686
|
+
"example": "1",
|
4687
|
+
"member": "uint64",
|
4688
|
+
"name": "TaskType",
|
4689
|
+
"required": true,
|
4690
|
+
"type": "int"
|
4691
|
+
},
|
4692
|
+
{
|
4693
|
+
"disabled": false,
|
4694
|
+
"document": "引擎名称,当前仅支持Spark批作业集群",
|
4695
|
+
"example": "testEngine",
|
4696
|
+
"member": "string",
|
4697
|
+
"name": "DataEngineName",
|
4698
|
+
"required": true,
|
4699
|
+
"type": "string"
|
4700
|
+
},
|
4701
|
+
{
|
4702
|
+
"disabled": false,
|
4703
|
+
"document": "指定运行的程序脚本路径,当前仅支持jar和py,对于SQLType该值设为空字符串",
|
4704
|
+
"example": "cosn://xxx.jar",
|
4705
|
+
"member": "string",
|
4706
|
+
"name": "PackagePath",
|
4707
|
+
"required": true,
|
4708
|
+
"type": "string"
|
4709
|
+
},
|
4710
|
+
{
|
4711
|
+
"disabled": false,
|
4712
|
+
"document": "指定的鉴权信息",
|
4713
|
+
"example": "1",
|
4714
|
+
"member": "int64",
|
4715
|
+
"name": "RoleArn",
|
4716
|
+
"required": true,
|
4717
|
+
"type": "int"
|
4718
|
+
},
|
4719
|
+
{
|
4720
|
+
"disabled": false,
|
4721
|
+
"document": "运行任务所需资源是否继承自集群上配置资源信息,0(默认,不继承)、1(继承,当设置为该值,则任务级资源配置可不额外指定)",
|
4722
|
+
"example": "0",
|
4723
|
+
"member": "uint64",
|
4724
|
+
"name": "IsInherit",
|
4725
|
+
"required": true,
|
4726
|
+
"type": "int"
|
4727
|
+
},
|
4728
|
+
{
|
4729
|
+
"disabled": false,
|
4730
|
+
"document": "jar任务时需要指定主程序",
|
4731
|
+
"example": "Main",
|
4732
|
+
"member": "string",
|
4733
|
+
"name": "MainClass",
|
4734
|
+
"required": false,
|
4735
|
+
"type": "string"
|
4736
|
+
},
|
4737
|
+
{
|
4738
|
+
"disabled": false,
|
4739
|
+
"document": "当前DriverSize规格仅支持(内存型集群则使用m前缀的枚举值): small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge",
|
4740
|
+
"example": "small",
|
4741
|
+
"member": "string",
|
4742
|
+
"name": "DriverSize",
|
4743
|
+
"required": false,
|
4744
|
+
"type": "string"
|
4745
|
+
},
|
4746
|
+
{
|
4747
|
+
"disabled": false,
|
4748
|
+
"document": "当前ExecutorSize规格仅支持(内存型集群则使用m前缀的枚举值): small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge",
|
4749
|
+
"example": "small",
|
4750
|
+
"member": "string",
|
4751
|
+
"name": "ExecutorSize",
|
4752
|
+
"required": false,
|
4753
|
+
"type": "string"
|
4754
|
+
},
|
4755
|
+
{
|
4756
|
+
"disabled": false,
|
4757
|
+
"document": "指定使用的executor数量,最小为1",
|
4758
|
+
"example": "1",
|
4759
|
+
"member": "uint64",
|
4760
|
+
"name": "ExecutorNumbers",
|
4761
|
+
"required": false,
|
4762
|
+
"type": "int"
|
4763
|
+
},
|
4764
|
+
{
|
4765
|
+
"disabled": false,
|
4766
|
+
"document": "指定使用的executor最大数量, 当该值大于ExecutorNums则自动开启动态",
|
4767
|
+
"example": "5",
|
4768
|
+
"member": "uint64",
|
4769
|
+
"name": "ExecutorMaxNumbers",
|
4770
|
+
"required": false,
|
4771
|
+
"type": "int"
|
4772
|
+
},
|
4773
|
+
{
|
4774
|
+
"disabled": false,
|
4775
|
+
"document": "提交任务的附加配置集合,当前支持Key包含:MAINARGS:程序入口参数,空格分割(SqlType任务通过该值指定base64加密后的sql)、SPARKCONFIG:Spark配置,以换行符分隔、ENI:Eni连接信息、DEPENDENCYPACKAGEPATH:依赖的程序包(--jars、--py-files:支持py/zip/egg等归档格式),多文件以逗号分隔、DEPENDENCYFILEPATH:依赖文件资源(--files: 非jar、zip),多文件以逗号分隔、DEPENDENCYARCHIVESPATH:依赖archives资源(--archives: 支持tar.gz/tgz/tar等归档格式),多文件以逗号分隔、MAXRETRIES:任务重试次数,非流任务默认为1、SPARKIMAGE:Spark镜像版本号,支持使用dlc镜像/用户自定的tcr镜像运行任务、SPARKIMAGEVERSION:Spark镜像版本名称,与SPARKIMAGE一一对应",
|
4776
|
+
"example": "无",
|
4777
|
+
"member": "KVPair",
|
4778
|
+
"name": "CmdArgs",
|
4779
|
+
"required": false,
|
4780
|
+
"type": "list"
|
4781
|
+
},
|
4782
|
+
{
|
4783
|
+
"disabled": false,
|
4784
|
+
"document": "任务来源信息",
|
4785
|
+
"example": "无",
|
4786
|
+
"member": "KVPair",
|
4787
|
+
"name": "SourceInfo",
|
4788
|
+
"required": false,
|
4789
|
+
"type": "list"
|
4790
|
+
}
|
4791
|
+
],
|
4792
|
+
"type": "object"
|
4793
|
+
},
|
4794
|
+
"CreateSparkSubmitTaskResponse": {
|
4795
|
+
"document": "CreateSparkSubmitTask返回参数结构体",
|
4796
|
+
"members": [
|
4797
|
+
{
|
4798
|
+
"disabled": false,
|
4799
|
+
"document": "批作业ID",
|
4800
|
+
"example": "04529f7b-2e3a-70d7-72b4-a0dd3a300c",
|
4801
|
+
"member": "string",
|
4802
|
+
"name": "BatchId",
|
4803
|
+
"output_required": false,
|
4804
|
+
"type": "string",
|
4805
|
+
"value_allowed_null": false
|
4806
|
+
},
|
4807
|
+
{
|
4808
|
+
"disabled": false,
|
4809
|
+
"document": "批任务ID,用改ID进行任务的查询与删除等",
|
4810
|
+
"example": "045sjeb-2e3a-70d7-72b4-a0dd3a300c",
|
4811
|
+
"member": "string",
|
4812
|
+
"name": "TaskId",
|
4813
|
+
"output_required": false,
|
4814
|
+
"type": "string",
|
4815
|
+
"value_allowed_null": false
|
4816
|
+
},
|
4817
|
+
{
|
4818
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4819
|
+
"member": "string",
|
4820
|
+
"name": "RequestId",
|
4821
|
+
"type": "string"
|
4822
|
+
}
|
4823
|
+
],
|
4824
|
+
"type": "object"
|
4825
|
+
},
|
4664
4826
|
"CreateStoreLocationRequest": {
|
4665
4827
|
"document": "CreateStoreLocation请求参数结构体",
|
4666
4828
|
"members": [
|
@@ -272,6 +272,14 @@
|
|
272
272
|
"title": "创建并执行Spark SQL批任务"
|
273
273
|
}
|
274
274
|
],
|
275
|
+
"CreateSparkSubmitTask": [
|
276
|
+
{
|
277
|
+
"document": "本接口用于提交SparkSubmit任务",
|
278
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSparkSubmitTask\n<公共请求参数>\n\n{\n \"TaskName\": \"test\",\n \"TaskType\": 1,\n \"DataEngineName\": \"testEngine\",\n \"PackagePath\": \"cosn://xxx.jar\",\n \"MainClass\": \"Main\",\n \"RoleArn\": 0,\n \"IsInherit\": 1,\n \"DriverSize\": \"small\",\n \"ExecutorSize\": \"small\",\n \"ExecutorNumbers\": 1,\n \"ExecutorMaxNumbers\": 1,\n \"CmdArgs\": [\n {\n \"Key\": \"MAINARGS\",\n \"Value\": \"xejalljhhlJFJLd1gl\"\n }\n ]\n}",
|
279
|
+
"output": "{\n \"Response\": {\n \"BatchId\": \"2ade477a-9f72-44aa-9fd4-65cb739d6301\",\n \"TaskId\": \"2ae0ds7a-9f72-44aa-9fd4-65cb739d6301\",\n \"RequestId\": \"2ae4707a-9f72-44aa-9fd4-65cb739d6301\"\n }\n}",
|
280
|
+
"title": "提交SparkSubmit任务"
|
281
|
+
}
|
282
|
+
],
|
275
283
|
"CreateStoreLocation": [
|
276
284
|
{
|
277
285
|
"document": "",
|