tccli 3.0.1288.1__py2.py3-none-any.whl → 3.0.1289.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/plugins/sso/__init__.py +11 -1
- tccli/plugins/sso/login.py +3 -3
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/asr/v20190614/examples.json +4 -4
- tccli/services/bi/v20220105/api.json +43 -0
- tccli/services/billing/v20180709/api.json +310 -250
- tccli/services/cdwpg/v20201230/api.json +5 -5
- tccli/services/cdwpg/v20201230/examples.json +6 -6
- tccli/services/cdz/v20221123/api.json +4 -4
- tccli/services/cfg/v20210820/api.json +197 -197
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +2 -2
- tccli/services/cwp/v20180228/api.json +39 -9
- tccli/services/dbbrain/dbbrain_client.py +383 -12
- tccli/services/dbbrain/v20210527/api.json +884 -101
- tccli/services/dbbrain/v20210527/examples.json +56 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/dts/v20180330/api.json +34 -34
- tccli/services/dts/v20180330/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +225 -223
- tccli/services/dts/v20211206/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +30 -3
- tccli/services/essbasic/v20210526/api.json +29 -2
- tccli/services/iotexplorer/iotexplorer_client.py +159 -0
- tccli/services/iotexplorer/v20190423/api.json +561 -0
- tccli/services/iotexplorer/v20190423/examples.json +24 -0
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20211125/api.json +105 -0
- tccli/services/iotvideo/v20211125/examples.json +16 -0
- tccli/services/lighthouse/v20200324/api.json +46 -46
- tccli/services/lighthouse/v20200324/examples.json +2 -2
- tccli/services/lke/v20231130/api.json +2 -2
- tccli/services/lkeap/v20240522/api.json +2 -2
- tccli/services/mps/v20190612/api.json +88 -6
- tccli/services/mqtt/v20240516/api.json +3 -3
- tccli/services/mqtt/v20240516/examples.json +5 -11
- tccli/services/organization/v20210331/api.json +113 -113
- tccli/services/svp/v20240125/api.json +1 -1
- tccli/services/tcb/v20180608/api.json +4 -4
- tccli/services/teo/v20220901/api.json +541 -5
- tccli/services/teo/v20220901/examples.json +21 -3
- tccli/services/tione/v20211111/api.json +64 -6
- tccli/services/vdb/v20230616/api.json +31 -2
- tccli/services/vdb/v20230616/examples.json +8 -2
- tccli/services/vrs/v20200824/api.json +14 -2
- tccli/services/vrs/v20200824/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +48 -0
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1289.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1289.1.dist-info}/RECORD +53 -53
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1289.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1289.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1288.1.dist-info → tccli-3.0.1289.1.dist-info}/license_files/LICENSE +0 -0
@@ -154,7 +154,7 @@
|
|
154
154
|
{
|
155
155
|
"document": "查询一致性校验任务列表",
|
156
156
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCompareTasks\n<公共请求参数>\n\n{\n \"JobId\": \"dts-e7ukka6g\"\n}",
|
157
|
-
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"CheckProcess\": {\n \"Message\": \"\",\n \"Status\": \"\",\n \"StepAll\": 0,\n \"StepNow\": 0,\n \"Percent\": 0,\n \"Steps\": []\n },\n \"CompareProcess\": {\n \"Message\": \"done\",\n \"Status\": \"\",\n \"StepAll\": 0,\n \"StepNow\": 0,\n \"Steps\": []\n },\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Conclusion\": \"same\",\n \"Config\": {\n \"ObjectItems\": [\n {\n \"DbMode\": \"partial\",\n \"DbName\": \"big100\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": null,\n \"ViewMode\": \"none\",\n \"Views\": null\n },\n {\n \"DbMode\": \"all\",\n \"DbName\": \"db1\",\n \"SchemaName\": \"\",\n \"TableMode\": \"all\",\n \"Tables\": null,\n \"ViewMode\": \"all\",\n \"Views\": null\n }\n ],\n \"ObjectMode\": \"partial\"\n },\n \"CreatedAt\": \"2022-07-11 17:21:02\",\n \"FinishedAt\": \"2022-07-11 17:24:54\",\n \"Method\": \"dataCheck\",\n \"Options\": {\n \"Method\": \"dataCheck\",\n \"SampleRate\": 100,\n \"ThreadCount\": 1\n },\n \"JobId\": \"dts-amm1jw5q\",\n \"Message\": \"done\",\n \"StartedAt\": \"2022-07-11 17:24:09\",\n \"Status\": \"success\",\n \"TaskName\": \"defaultCmpTask\"\n }\n ],\n \"RequestId\": \"11d35c90-01bb-11ed-bad9-7b3bbe11abda\",\n \"TotalCount\": 1\n }\n}",
|
157
|
+
"output": "{\n \"Response\": {\n \"Items\": [\n {\n \"CheckProcess\": {\n \"Message\": \"\",\n \"Status\": \"\",\n \"StepAll\": 0,\n \"StepNow\": 0,\n \"Percent\": 0,\n \"Steps\": []\n },\n \"CompareProcess\": {\n \"Message\": \"done\",\n \"Status\": \"\",\n \"StepAll\": 0,\n \"StepNow\": 0,\n \"Steps\": []\n },\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Conclusion\": \"same\",\n \"Config\": {\n \"ObjectItems\": [\n {\n \"DbMode\": \"partial\",\n \"DbName\": \"big100\",\n \"SchemaName\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": null,\n \"ViewMode\": \"none\",\n \"Views\": null\n },\n {\n \"DbMode\": \"all\",\n \"DbName\": \"db1\",\n \"SchemaName\": \"\",\n \"TableMode\": \"all\",\n \"Tables\": null,\n \"ViewMode\": \"all\",\n \"Views\": null\n }\n ],\n \"ObjectMode\": \"partial\",\n \"AdvancedObjects\": [\n \"index\"\n ]\n },\n \"CreatedAt\": \"2022-07-11 17:21:02\",\n \"FinishedAt\": \"2022-07-11 17:24:54\",\n \"Method\": \"dataCheck\",\n \"Options\": {\n \"Method\": \"dataCheck\",\n \"SampleRate\": 100,\n \"ThreadCount\": 1\n },\n \"JobId\": \"dts-amm1jw5q\",\n \"Message\": \"done\",\n \"StartedAt\": \"2022-07-11 17:24:09\",\n \"Status\": \"success\",\n \"TaskName\": \"defaultCmpTask\"\n }\n ],\n \"RequestId\": \"11d35c90-01bb-11ed-bad9-7b3bbe11abda\",\n \"TotalCount\": 1\n }\n}",
|
158
158
|
"title": "查询一致性校验任务列表"
|
159
159
|
}
|
160
160
|
],
|
@@ -194,7 +194,7 @@
|
|
194
194
|
{
|
195
195
|
"document": "",
|
196
196
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMigrationJobs\n<公共请求参数>\n\n{\n \"JobId\": \"dts-amm1jw5q\"\n}",
|
197
|
-
"output": "{\n \"Response\": {\n \"JobList\": [\n {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"modify\",\n \"check\",\n \"start\",\n \"configure\",\n \"stop\",\n \"complete\",\n \"resume\",\n \"createCmpTask\",\n \"isolate\",\n \"offline\",\n \"resize\",\n \"recover\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"stop\",\n \"complete\",\n \"createCmpTask\",\n \"view\",\n \"isolate\",\n \"resize\"\n ]\n },\n \"CompareTask\": {\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Status\": \"consistent\"\n },\n \"CreateTime\": \"2022-07-11 16:20:49\",\n \"DstInfo\": {\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cdb-o7uph0cj\",\n \"Password\": \"Rogerp@ssw0rd\",\n \"Port\": 0,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ExpectRunTime\": \"\",\n \"JobId\": \"dts-amm1jw5q\",\n \"JobName\": \"test_config_api\",\n \"RunMode\": \"immediate\",\n \"SrcInfo\": {\n \"AccessType\": \"intranet\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"5.7\",\n \"Host\": \"9.123.210.37\",\n \"InstanceId\": \"\",\n \"Password\": \"Rogerp@ssw0rd\",\n \"Port\": 31035,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"StartTime\": \"2022-07-11 17:20:56\",\n \"Status\": \"readyComplete\",\n \"Tags\": [],\n \"TradeInfo\": {\n \"BillingType\": \"billing\",\n \"DealName\": \"20220711715001047929481\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"xlarge\",\n \"IsolateReason\": \"\",\n \"LastDealName\": \"\",\n \"OfflineReason\": \"\",\n \"PayType\": \"postpay\",\n \"TradeStatus\": \"normal\"\n },\n \"UpdateTime\": \"2022-07-11 17:26:40\"\n }\n ],\n \"RequestId\": \"asdfadfasdfasdf\",\n \"TotalCount\": 1\n }\n}",
|
197
|
+
"output": "{\n \"Response\": {\n \"JobList\": [\n {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"modify\",\n \"check\",\n \"start\",\n \"configure\",\n \"stop\",\n \"complete\",\n \"resume\",\n \"createCmpTask\",\n \"isolate\",\n \"offline\",\n \"resize\",\n \"recover\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"stop\",\n \"complete\",\n \"createCmpTask\",\n \"view\",\n \"isolate\",\n \"resize\"\n ]\n },\n \"CompareTask\": {\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Status\": \"consistent\"\n },\n \"CreateTime\": \"2022-07-11 16:20:49\",\n \"BriefMsg\": \"\",\n \"DumperResumeCtrl\": \"yes\",\n \"AutoRetryTimeRangeMinutes\": 5,\n \"StepInfo\": {\n \"MasterSlaveDistance\": 0,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 3,\n \"StepInfo\": [\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:21:59\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"源库导出\",\n \"StepNo\": 1,\n \"Percent\": 100,\n \"StepMessage\": \"\",\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:22:43\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"数据导入\",\n \"StepNo\": 2,\n \"Percent\": 100,\n \"StepMessage\": \"\",\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:23:26\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"Percent\": 0,\n \"StepMessage\": \"\",\n \"StepNo\": 3,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 3\n },\n \"DstInfo\": {\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cdb-o7uph0cj\",\n \"Password\": \"Rogerp@ssw0rd\",\n \"Port\": 0,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ExpectRunTime\": \"\",\n \"JobId\": \"dts-amm1jw5q\",\n \"JobName\": \"test_config_api\",\n \"RunMode\": \"immediate\",\n \"SrcInfo\": {\n \"AccessType\": \"intranet\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"5.7\",\n \"Host\": \"9.123.210.37\",\n \"InstanceId\": \"\",\n \"Password\": \"Rogerp@ssw0rd\",\n \"Port\": 31035,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"StartTime\": \"2022-07-11 17:20:56\",\n \"Status\": \"readyComplete\",\n \"Tags\": [],\n \"TradeInfo\": {\n \"BillingType\": \"billing\",\n \"DealName\": \"20220711715001047929481\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"OfflineTime\": \"0000-00-00 00:00:00\",\n \"IsolateTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"xlarge\",\n \"IsolateReason\": \"\",\n \"LastDealName\": \"\",\n \"OfflineReason\": \"\",\n \"PayType\": \"postpay\",\n \"TradeStatus\": \"normal\"\n },\n \"UpdateTime\": \"2022-07-11 17:26:40\"\n }\n ],\n \"RequestId\": \"asdfadfasdfasdf\",\n \"TotalCount\": 1\n }\n}",
|
198
198
|
"title": "查询数据迁移任务列表"
|
199
199
|
}
|
200
200
|
],
|
@@ -2791,6 +2791,15 @@
|
|
2791
2791
|
"name": "CacheApproverInfo",
|
2792
2792
|
"required": false,
|
2793
2793
|
"type": "bool"
|
2794
|
+
},
|
2795
|
+
{
|
2796
|
+
"disabled": false,
|
2797
|
+
"document": "是否允许此链接中签署方批量拒签。\n <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul>\n\n注:`合同组暂不支持批量拒签功能。`\n",
|
2798
|
+
"example": "false",
|
2799
|
+
"member": "bool",
|
2800
|
+
"name": "CanBatchReject",
|
2801
|
+
"required": false,
|
2802
|
+
"type": "bool"
|
2794
2803
|
}
|
2795
2804
|
],
|
2796
2805
|
"type": "object"
|
@@ -2936,6 +2945,15 @@
|
|
2936
2945
|
"name": "UrlUseEnv",
|
2937
2946
|
"required": false,
|
2938
2947
|
"type": "string"
|
2948
|
+
},
|
2949
|
+
{
|
2950
|
+
"disabled": false,
|
2951
|
+
"document": "是否允许此链接中签署方批量拒签。 <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul>注:`合同组暂不支持批量拒签功能。`",
|
2952
|
+
"example": "false",
|
2953
|
+
"member": "bool",
|
2954
|
+
"name": "CanBatchReject",
|
2955
|
+
"required": false,
|
2956
|
+
"type": "bool"
|
2939
2957
|
}
|
2940
2958
|
],
|
2941
2959
|
"type": "object"
|
@@ -4608,6 +4626,15 @@
|
|
4608
4626
|
"name": "ResultPageConfig",
|
4609
4627
|
"required": false,
|
4610
4628
|
"type": "list"
|
4629
|
+
},
|
4630
|
+
{
|
4631
|
+
"disabled": false,
|
4632
|
+
"document": "签署控件的配置信息,用在嵌入式发起的页面配置,包括 \n - 签署控件 是否默认展示日期.",
|
4633
|
+
"example": "无",
|
4634
|
+
"member": "SignComponentConfig",
|
4635
|
+
"name": "SignComponentConfig",
|
4636
|
+
"required": false,
|
4637
|
+
"type": "object"
|
4611
4638
|
}
|
4612
4639
|
],
|
4613
4640
|
"usage": "in"
|
@@ -6555,7 +6582,7 @@
|
|
6555
6582
|
},
|
6556
6583
|
{
|
6557
6584
|
"disabled": false,
|
6558
|
-
"document": "在短信通知、填写、签署流程中,若标题、按钮、合同详情等地方存在“合同”字样时,可根据此配置指定文案,可选文案如下: <ul><li> <b>0</b> :合同(默认值)</li> <li> <b>1</b> :文件</li> <li> <b>2</b> :协议</li></ul>效果如下:",
|
6585
|
+
"document": "在短信通知、填写、签署流程中,若标题、按钮、合同详情等地方存在“合同”字样时,可根据此配置指定文案,可选文案如下: <ul><li> <b>0</b> :合同(默认值)</li> <li> <b>1</b> :文件</li> <li> <b>2</b> :协议</li><li> <b>3</b> :文书</li></ul>效果如下:",
|
6559
6586
|
"example": "1",
|
6560
6587
|
"member": "int64",
|
6561
6588
|
"name": "FlowDisplayType",
|
@@ -6563,8 +6590,8 @@
|
|
6563
6590
|
"type": "int"
|
6564
6591
|
},
|
6565
6592
|
{
|
6566
|
-
"disabled":
|
6567
|
-
"document": "
|
6593
|
+
"disabled": true,
|
6594
|
+
"document": "<font color=\"red\">此参数已经废弃,请使用 CreateFlowOption 里面的 SignComponentConfig</font>\n签署控件的配置信息,用在嵌入式发起的页面配置,\n包括 \n\n- 签署控件 是否默认展示日期.",
|
6568
6595
|
"example": "无",
|
6569
6596
|
"member": "SignComponentConfig",
|
6570
6597
|
"name": "SignComponentConfig",
|
@@ -1862,6 +1862,15 @@
|
|
1862
1862
|
"name": "CacheApproverInfo",
|
1863
1863
|
"required": false,
|
1864
1864
|
"type": "bool"
|
1865
|
+
},
|
1866
|
+
{
|
1867
|
+
"disabled": false,
|
1868
|
+
"document": "是否允许此链接中签署方批量拒签。 <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul>注:`合同组暂不支持批量拒签功能。`",
|
1869
|
+
"example": "false",
|
1870
|
+
"member": "bool",
|
1871
|
+
"name": "CanBatchReject",
|
1872
|
+
"required": false,
|
1873
|
+
"type": "bool"
|
1865
1874
|
}
|
1866
1875
|
],
|
1867
1876
|
"type": "object"
|
@@ -2025,6 +2034,15 @@
|
|
2025
2034
|
"name": "UrlUseEnv",
|
2026
2035
|
"required": false,
|
2027
2036
|
"type": "string"
|
2037
|
+
},
|
2038
|
+
{
|
2039
|
+
"disabled": false,
|
2040
|
+
"document": "是否允许此链接中签署方批量拒签。 <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul>注:`合同组暂不支持批量拒签功能。`",
|
2041
|
+
"example": "false",
|
2042
|
+
"member": "bool",
|
2043
|
+
"name": "CanBatchReject",
|
2044
|
+
"required": false,
|
2045
|
+
"type": "bool"
|
2028
2046
|
}
|
2029
2047
|
],
|
2030
2048
|
"type": "object"
|
@@ -3456,8 +3474,8 @@
|
|
3456
3474
|
"type": "object"
|
3457
3475
|
},
|
3458
3476
|
{
|
3459
|
-
"disabled":
|
3460
|
-
"document": "签署控件的配置信息,用在嵌入式发起的页面配置,包括\n\n- 签署控件 是否默认展示日期.",
|
3477
|
+
"disabled": true,
|
3478
|
+
"document": "<font color=\"red\">此参数已经废弃,请使用 CreateFlowOption 里面的 SignComponentConfig</font>\n签署控件的配置信息,用在嵌入式发起的页面配置,包括\n\n- 签署控件 是否默认展示日期.",
|
3461
3479
|
"example": "无",
|
3462
3480
|
"member": "SignComponentConfig",
|
3463
3481
|
"name": "SignComponentConfig",
|
@@ -7496,6 +7514,15 @@
|
|
7496
7514
|
"name": "SkipUploadFile",
|
7497
7515
|
"required": false,
|
7498
7516
|
"type": "bool"
|
7517
|
+
},
|
7518
|
+
{
|
7519
|
+
"disabled": false,
|
7520
|
+
"document": "签署控件的配置信息,用在嵌入式发起的页面配置,包括 \n - 签署控件 是否默认展示日期.",
|
7521
|
+
"example": "无",
|
7522
|
+
"member": "SignComponentConfig",
|
7523
|
+
"name": "SignComponentConfig",
|
7524
|
+
"required": false,
|
7525
|
+
"type": "object"
|
7499
7526
|
}
|
7500
7527
|
],
|
7501
7528
|
"usage": "in"
|
@@ -329,6 +329,58 @@ def doDescribeDevice(args, parsed_globals):
|
|
329
329
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
330
|
|
331
331
|
|
332
|
+
def doDescribeP2PRoute(args, parsed_globals):
|
333
|
+
g_param = parse_global_arg(parsed_globals)
|
334
|
+
|
335
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
336
|
+
cred = credential.CVMRoleCredential()
|
337
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
338
|
+
cred = credential.STSAssumeRoleCredential(
|
339
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
340
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
341
|
+
)
|
342
|
+
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):
|
343
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
344
|
+
else:
|
345
|
+
cred = credential.Credential(
|
346
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
347
|
+
)
|
348
|
+
http_profile = HttpProfile(
|
349
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
350
|
+
reqMethod="POST",
|
351
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
352
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
353
|
+
)
|
354
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
355
|
+
if g_param[OptionsDefine.Language]:
|
356
|
+
profile.language = g_param[OptionsDefine.Language]
|
357
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
358
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
359
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
360
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
361
|
+
model = models.DescribeP2PRouteRequest()
|
362
|
+
model.from_json_string(json.dumps(args))
|
363
|
+
start_time = time.time()
|
364
|
+
while True:
|
365
|
+
rsp = client.DescribeP2PRoute(model)
|
366
|
+
result = rsp.to_json_string()
|
367
|
+
try:
|
368
|
+
json_obj = json.loads(result)
|
369
|
+
except TypeError as e:
|
370
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
371
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
372
|
+
break
|
373
|
+
cur_time = time.time()
|
374
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
375
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
376
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
377
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
378
|
+
else:
|
379
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
380
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
381
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
|
+
|
383
|
+
|
332
384
|
def doDescribeCloudStorageEventsWithAITasks(args, parsed_globals):
|
333
385
|
g_param = parse_global_arg(parsed_globals)
|
334
386
|
|
@@ -2409,6 +2461,58 @@ def doDescribeVideoLicense(args, parsed_globals):
|
|
2409
2461
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2410
2462
|
|
2411
2463
|
|
2464
|
+
def doChangeP2PRoute(args, parsed_globals):
|
2465
|
+
g_param = parse_global_arg(parsed_globals)
|
2466
|
+
|
2467
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2468
|
+
cred = credential.CVMRoleCredential()
|
2469
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2470
|
+
cred = credential.STSAssumeRoleCredential(
|
2471
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2472
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2473
|
+
)
|
2474
|
+
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):
|
2475
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2476
|
+
else:
|
2477
|
+
cred = credential.Credential(
|
2478
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2479
|
+
)
|
2480
|
+
http_profile = HttpProfile(
|
2481
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2482
|
+
reqMethod="POST",
|
2483
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2484
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2485
|
+
)
|
2486
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2487
|
+
if g_param[OptionsDefine.Language]:
|
2488
|
+
profile.language = g_param[OptionsDefine.Language]
|
2489
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2490
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
2491
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2492
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2493
|
+
model = models.ChangeP2PRouteRequest()
|
2494
|
+
model.from_json_string(json.dumps(args))
|
2495
|
+
start_time = time.time()
|
2496
|
+
while True:
|
2497
|
+
rsp = client.ChangeP2PRoute(model)
|
2498
|
+
result = rsp.to_json_string()
|
2499
|
+
try:
|
2500
|
+
json_obj = json.loads(result)
|
2501
|
+
except TypeError as e:
|
2502
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2503
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2504
|
+
break
|
2505
|
+
cur_time = time.time()
|
2506
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2507
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2508
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2509
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2510
|
+
else:
|
2511
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2512
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2513
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2514
|
+
|
2515
|
+
|
2412
2516
|
def doSearchStudioProduct(args, parsed_globals):
|
2413
2517
|
g_param = parse_global_arg(parsed_globals)
|
2414
2518
|
|
@@ -4749,6 +4853,58 @@ def doCreateFreeCloudStorage(args, parsed_globals):
|
|
4749
4853
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4750
4854
|
|
4751
4855
|
|
4856
|
+
def doModifyApplication(args, parsed_globals):
|
4857
|
+
g_param = parse_global_arg(parsed_globals)
|
4858
|
+
|
4859
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4860
|
+
cred = credential.CVMRoleCredential()
|
4861
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4862
|
+
cred = credential.STSAssumeRoleCredential(
|
4863
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4864
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4865
|
+
)
|
4866
|
+
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):
|
4867
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4868
|
+
else:
|
4869
|
+
cred = credential.Credential(
|
4870
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4871
|
+
)
|
4872
|
+
http_profile = HttpProfile(
|
4873
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4874
|
+
reqMethod="POST",
|
4875
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4876
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4877
|
+
)
|
4878
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4879
|
+
if g_param[OptionsDefine.Language]:
|
4880
|
+
profile.language = g_param[OptionsDefine.Language]
|
4881
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4882
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
4883
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4884
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4885
|
+
model = models.ModifyApplicationRequest()
|
4886
|
+
model.from_json_string(json.dumps(args))
|
4887
|
+
start_time = time.time()
|
4888
|
+
while True:
|
4889
|
+
rsp = client.ModifyApplication(model)
|
4890
|
+
result = rsp.to_json_string()
|
4891
|
+
try:
|
4892
|
+
json_obj = json.loads(result)
|
4893
|
+
except TypeError as e:
|
4894
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4895
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4896
|
+
break
|
4897
|
+
cur_time = time.time()
|
4898
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4899
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4900
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4901
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4902
|
+
else:
|
4903
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4904
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4905
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4906
|
+
|
4907
|
+
|
4752
4908
|
def doUpdateDevicesEnableState(args, parsed_globals):
|
4753
4909
|
g_param = parse_global_arg(parsed_globals)
|
4754
4910
|
|
@@ -8146,6 +8302,7 @@ ACTION_MAP = {
|
|
8146
8302
|
"DescribeDevicePackages": doDescribeDevicePackages,
|
8147
8303
|
"DescribeFirmwareUpdateStatus": doDescribeFirmwareUpdateStatus,
|
8148
8304
|
"DescribeDevice": doDescribeDevice,
|
8305
|
+
"DescribeP2PRoute": doDescribeP2PRoute,
|
8149
8306
|
"DescribeCloudStorageEventsWithAITasks": doDescribeCloudStorageEventsWithAITasks,
|
8150
8307
|
"DescribeTopicPolicy": doDescribeTopicPolicy,
|
8151
8308
|
"CreateCloudStorageAIService": doCreateCloudStorageAIService,
|
@@ -8186,6 +8343,7 @@ ACTION_MAP = {
|
|
8186
8343
|
"DescribeCloudStorageUsers": doDescribeCloudStorageUsers,
|
8187
8344
|
"TransferCloudStorage": doTransferCloudStorage,
|
8188
8345
|
"DescribeVideoLicense": doDescribeVideoLicense,
|
8346
|
+
"ChangeP2PRoute": doChangeP2PRoute,
|
8189
8347
|
"SearchStudioProduct": doSearchStudioProduct,
|
8190
8348
|
"ModifyTopicRule": doModifyTopicRule,
|
8191
8349
|
"InheritCloudStorageUser": doInheritCloudStorageUser,
|
@@ -8231,6 +8389,7 @@ ACTION_MAP = {
|
|
8231
8389
|
"InvokeCloudStorageAIServiceTask": doInvokeCloudStorageAIServiceTask,
|
8232
8390
|
"DescribeActivateLicenseService": doDescribeActivateLicenseService,
|
8233
8391
|
"CreateFreeCloudStorage": doCreateFreeCloudStorage,
|
8392
|
+
"ModifyApplication": doModifyApplication,
|
8234
8393
|
"UpdateDevicesEnableState": doUpdateDevicesEnableState,
|
8235
8394
|
"ModifyProject": doModifyProject,
|
8236
8395
|
"BindProducts": doBindProducts,
|