tccli 3.0.1391.1__py2.py3-none-any.whl → 3.0.1414.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.
Potentially problematic release.
This version of tccli might be problematic. Click here for more details.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +2 -1
- tccli/services/ai3d/v20250513/api.json +22 -4
- tccli/services/aiart/aiart_client.py +173 -67
- tccli/services/aiart/v20221229/api.json +193 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/apm/apm_client.py +53 -0
- tccli/services/apm/v20210622/api.json +354 -0
- tccli/services/apm/v20210622/examples.json +8 -0
- tccli/services/asr/v20190614/api.json +3 -3
- tccli/services/autoscaling/v20180419/api.json +24 -2
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bda/bda_client.py +15 -704
- tccli/services/bda/v20200324/api.json +107 -1819
- tccli/services/bda/v20200324/examples.json +0 -176
- tccli/services/billing/billing_client.py +326 -8
- tccli/services/billing/v20180709/api.json +2200 -255
- tccli/services/billing/v20180709/examples.json +48 -0
- tccli/services/cam/v20190116/api.json +4 -4
- tccli/services/captcha/v20190722/api.json +3 -3
- tccli/services/cat/v20180409/api.json +7 -7
- tccli/services/ccc/ccc_client.py +235 -76
- tccli/services/ccc/v20200210/api.json +502 -18
- tccli/services/ccc/v20200210/examples.json +24 -0
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +257 -44
- tccli/services/cdb/v20170320/examples.json +22 -6
- tccli/services/cdn/cdn_client.py +4 -163
- tccli/services/cdn/v20180606/api.json +61 -310
- tccli/services/cdn/v20180606/examples.json +1 -25
- tccli/services/cdwdoris/v20211228/api.json +51 -12
- tccli/services/cdwpg/v20201230/api.json +11 -1
- tccli/services/cdwpg/v20201230/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +11 -1
- tccli/services/cfs/cfs_client.py +41 -94
- tccli/services/cfs/v20190719/api.json +171 -55
- tccli/services/cfs/v20190719/examples.json +1 -9
- tccli/services/cfw/v20190904/api.json +122 -10
- tccli/services/ckafka/ckafka_client.py +188 -29
- tccli/services/ckafka/v20190819/api.json +277 -4
- tccli/services/ckafka/v20190819/examples.json +25 -1
- tccli/services/clb/clb_client.py +0 -265
- tccli/services/clb/v20180317/api.json +130 -296
- tccli/services/clb/v20180317/examples.json +12 -40
- tccli/services/cloudapp/v20220530/api.json +55 -0
- tccli/services/cloudaudit/v20190319/api.json +11 -0
- tccli/services/cloudhsm/v20191112/api.json +10 -10
- tccli/services/cls/v20201016/api.json +63 -45
- tccli/services/cls/v20201016/examples.json +10 -4
- tccli/services/csip/v20221121/api.json +53 -3
- tccli/services/ctem/v20231128/api.json +320 -0
- tccli/services/ctem/v20231128/examples.json +3 -3
- tccli/services/cvm/cvm_client.py +0 -212
- tccli/services/cvm/v20170312/api.json +91 -843
- tccli/services/cvm/v20170312/examples.json +32 -58
- tccli/services/cynosdb/cynosdb_client.py +167 -8
- tccli/services/cynosdb/v20190107/api.json +1126 -148
- tccli/services/cynosdb/v20190107/examples.json +31 -7
- tccli/services/dbbrain/dbbrain_client.py +246 -87
- tccli/services/dbbrain/v20191016/api.json +74 -62
- tccli/services/dbbrain/v20191016/examples.json +1 -1
- tccli/services/dbbrain/v20210527/api.json +601 -177
- tccli/services/dbbrain/v20210527/examples.json +28 -4
- tccli/services/dc/v20180410/api.json +101 -3
- tccli/services/dcdb/v20180411/api.json +1 -1
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +237 -24
- tccli/services/dlc/v20210125/examples.json +12 -4
- tccli/services/dnspod/dnspod_client.py +106 -0
- tccli/services/dnspod/v20210323/api.json +126 -20
- tccli/services/dnspod/v20210323/examples.json +17 -7
- tccli/services/dsgc/v20190723/api.json +73 -15
- tccli/services/dts/v20180330/api.json +4 -4
- tccli/services/dts/v20211206/api.json +408 -127
- tccli/services/dts/v20211206/examples.json +15 -9
- tccli/services/eb/v20210416/api.json +41 -1
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +56 -9
- tccli/services/emr/v20190103/examples.json +5 -5
- tccli/services/es/es_client.py +273 -8
- tccli/services/es/v20180416/api.json +845 -33
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/es/v20250101/api.json +135 -2
- tccli/services/es/v20250101/examples.json +8 -0
- tccli/services/ess/ess_client.py +509 -32
- tccli/services/ess/v20201111/api.json +1366 -113
- tccli/services/ess/v20201111/examples.json +94 -10
- tccli/services/essbasic/v20210526/api.json +265 -27
- tccli/services/essbasic/v20210526/examples.json +12 -12
- tccli/services/facefusion/v20220927/api.json +1 -1
- tccli/services/gaap/v20180529/api.json +18 -8
- tccli/services/gme/gme_client.py +53 -0
- tccli/services/gme/v20180711/api.json +241 -1
- tccli/services/gme/v20180711/examples.json +8 -0
- tccli/services/gs/gs_client.py +216 -4
- tccli/services/gs/v20191118/api.json +202 -1
- tccli/services/gs/v20191118/examples.json +32 -0
- tccli/services/gwlb/gwlb_client.py +53 -0
- tccli/services/gwlb/v20240906/api.json +150 -0
- tccli/services/gwlb/v20240906/examples.json +8 -0
- tccli/services/hai/v20230812/api.json +5 -5
- tccli/services/hunyuan/v20230901/api.json +3 -3
- tccli/services/hunyuan/v20230901/examples.json +1 -1
- tccli/services/iai/v20180301/api.json +227 -207
- tccli/services/iai/v20180301/examples.json +26 -26
- tccli/services/iai/v20200303/api.json +4 -4
- tccli/services/iai/v20200303/examples.json +1 -1
- tccli/services/ioa/ioa_client.py +265 -0
- tccli/services/ioa/v20220601/api.json +781 -85
- tccli/services/ioa/v20220601/examples.json +46 -0
- tccli/services/iotexplorer/iotexplorer_client.py +387 -16
- tccli/services/iotexplorer/v20190423/api.json +1183 -63
- tccli/services/iotexplorer/v20190423/examples.json +92 -0
- tccli/services/keewidb/v20220308/api.json +69 -17
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +61 -15
- tccli/services/lighthouse/v20200324/api.json +193 -24
- tccli/services/lighthouse/v20200324/examples.json +9 -3
- tccli/services/live/v20180801/api.json +6 -6
- tccli/services/live/v20180801/examples.json +7 -1
- tccli/services/lke/lke_client.py +40 -93
- tccli/services/lke/v20231130/api.json +943 -390
- tccli/services/lke/v20231130/examples.json +38 -46
- tccli/services/lkeap/v20240522/api.json +39 -12
- tccli/services/lkeap/v20240522/examples.json +12 -0
- tccli/services/mariadb/v20170312/api.json +1 -1
- tccli/services/mna/v20210119/api.json +11 -2
- tccli/services/mna/v20210119/examples.json +1 -1
- tccli/services/mongodb/mongodb_client.py +334 -16
- tccli/services/mongodb/v20190725/api.json +1092 -383
- tccli/services/mongodb/v20190725/examples.json +69 -21
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +383 -12
- tccli/services/monitor/v20180724/examples.json +24 -2
- tccli/services/mps/mps_client.py +220 -8
- tccli/services/mps/v20190612/api.json +1999 -179
- tccli/services/mps/v20190612/examples.json +56 -6
- tccli/services/mqtt/v20240516/api.json +10 -0
- tccli/services/mqtt/v20240516/examples.json +3 -9
- tccli/services/nlp/v20190408/api.json +6 -6
- tccli/services/oceanus/oceanus_client.py +318 -0
- tccli/services/oceanus/v20190422/api.json +461 -26
- tccli/services/oceanus/v20190422/examples.json +50 -2
- tccli/services/ocr/ocr_client.py +41 -253
- tccli/services/ocr/v20181119/api.json +153 -659
- tccli/services/ocr/v20181119/examples.json +8 -40
- tccli/services/omics/v20221128/api.json +90 -7
- tccli/services/organization/v20210331/api.json +46 -7
- tccli/services/postgres/v20170312/api.json +333 -77
- tccli/services/postgres/v20170312/examples.json +37 -31
- tccli/services/privatedns/privatedns_client.py +641 -58
- tccli/services/privatedns/v20201028/api.json +930 -19
- tccli/services/privatedns/v20201028/examples.json +91 -3
- tccli/services/pts/v20210728/api.json +2 -2
- tccli/services/redis/v20180412/api.json +303 -109
- tccli/services/redis/v20180412/examples.json +12 -12
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +22 -4
- tccli/services/rum/v20210622/examples.json +2 -2
- tccli/services/sms/v20190711/api.json +12 -12
- tccli/services/sms/v20190711/examples.json +9 -3
- tccli/services/sms/v20210111/api.json +13 -13
- tccli/services/sms/v20210111/examples.json +8 -2
- tccli/services/sqlserver/v20180328/api.json +46 -7
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +28 -0
- tccli/services/svp/v20240125/api.json +14 -4
- tccli/services/tag/v20180813/api.json +3 -3
- tccli/services/tat/v20201028/api.json +22 -3
- tccli/services/tcb/v20180608/api.json +1 -1
- tccli/services/tcss/tcss_client.py +228 -69
- tccli/services/tcss/v20201101/api.json +273 -25
- tccli/services/tcss/v20201101/examples.json +26 -2
- tccli/services/teo/teo_client.py +317 -52
- tccli/services/teo/v20220901/api.json +1824 -242
- tccli/services/teo/v20220901/examples.json +109 -21
- tccli/services/thpc/thpc_client.py +57 -4
- tccli/services/thpc/v20230321/api.json +163 -21
- tccli/services/thpc/v20230321/examples.json +13 -5
- tccli/services/tione/tione_client.py +163 -4
- tccli/services/tione/v20211111/api.json +285 -21
- tccli/services/tione/v20211111/examples.json +27 -3
- tccli/services/tke/tke_client.py +8 -8
- tccli/services/tke/v20180525/api.json +168 -130
- tccli/services/tke/v20180525/examples.json +20 -20
- tccli/services/tke/v20220501/api.json +215 -3
- tccli/services/tke/v20220501/examples.json +8 -0
- tccli/services/tms/tms_client.py +106 -0
- tccli/services/tms/v20201229/api.json +249 -3
- tccli/services/tms/v20201229/examples.json +16 -0
- tccli/services/tmt/v20180321/api.json +78 -1
- tccli/services/trabbit/v20230418/api.json +271 -4
- tccli/services/trabbit/v20230418/examples.json +9 -3
- tccli/services/trocket/v20230308/api.json +4 -4
- tccli/services/trro/trro_client.py +106 -0
- tccli/services/trro/v20220325/api.json +456 -0
- tccli/services/trro/v20220325/examples.json +16 -0
- tccli/services/trtc/v20190722/api.json +197 -49
- tccli/services/trtc/v20190722/examples.json +4 -4
- tccli/services/tse/v20201207/api.json +69 -2
- tccli/services/tse/v20201207/examples.json +3 -3
- tccli/services/tsf/v20180326/api.json +70 -7
- tccli/services/tsf/v20180326/examples.json +2 -2
- tccli/services/vclm/v20240523/api.json +145 -0
- tccli/services/vclm/v20240523/examples.json +16 -0
- tccli/services/vclm/vclm_client.py +106 -0
- tccli/services/vcube/v20220410/api.json +1 -1
- tccli/services/vod/v20180717/api.json +7 -7
- tccli/services/vpc/v20170312/api.json +1216 -70
- tccli/services/vpc/v20170312/examples.json +139 -3
- tccli/services/vpc/vpc_client.py +1023 -122
- tccli/services/vrs/v20200824/api.json +11 -11
- tccli/services/vrs/v20200824/examples.json +1 -1
- tccli/services/vtc/v20240223/api.json +14 -14
- tccli/services/waf/v20180125/api.json +812 -143
- tccli/services/waf/v20180125/examples.json +2 -2
- tccli/services/wedata/v20210820/api.json +1281 -601
- tccli/services/wedata/v20210820/examples.json +127 -157
- tccli/services/wedata/v20250806/api.json +19335 -0
- tccli/services/wedata/v20250806/examples.json +999 -0
- tccli/services/wedata/wedata_client.py +7072 -1131
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/METADATA +9 -7
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/RECORD +226 -224
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/WHEEL +1 -1
- {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1391.1.dist-info/license_files → tccli-3.0.1414.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -205,9 +205,15 @@
|
|
|
205
205
|
"CreateGrafanaInstance": [
|
|
206
206
|
{
|
|
207
207
|
"document": "创建Grafana实例",
|
|
208
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGrafanaInstance\n<公共请求参数>\n\n{\n \"SubnetIds\": [\n \"subnet-123\"\n ],\n \"VpcId\": \"vpc-123\",\n \"InstanceName\": \"
|
|
208
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGrafanaInstance\n<公共请求参数>\n\n{\n \"SubnetIds\": [\n \"subnet-123\"\n ],\n \"VpcId\": \"vpc-123\",\n \"InstanceName\": \"my-instance\",\n \"GrafanaInitPassword\": \"sfduyxoewqx\",\n \"EnableInternet\": true\n}",
|
|
209
209
|
"output": "{\n \"Response\": {\n \"InstanceId\": \"grafana-c1enzs01\",\n \"RequestId\": \"fpllngzieyoh54e1244ols7k2hh3gdny\"\n }\n}",
|
|
210
210
|
"title": "创建 Grafana 实例"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"document": "子用户没有支付权限时,调用接口会报错 CamNoAuth",
|
|
214
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGrafanaInstance\n<公共请求参数>\n\n{\n \"SubnetIds\": [\n \"subnet-123\"\n ],\n \"VpcId\": \"vpc-123\",\n \"InstanceName\": \"my-instance\",\n \"GrafanaInitPassword\": \"sfduyxoewqx\",\n \"EnableInternet\": true\n}",
|
|
215
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"UnauthorizedOperation.CamNoAuth\",\n \"Message\": \"uin: no pay auth for ownerUin:\"\n },\n \"RequestId\": \"fpllngzieyoh54e1244ols7k2hh3gdny\"\n }\n}",
|
|
216
|
+
"title": "创建 Grafana 实例无支付权限"
|
|
211
217
|
}
|
|
212
218
|
],
|
|
213
219
|
"CreateGrafanaIntegration": [
|
|
@@ -556,7 +562,7 @@
|
|
|
556
562
|
{
|
|
557
563
|
"document": "查询“云服务器-基础监控”的告警指标列表",
|
|
558
564
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmMetrics\n<公共请求参数>\n\n{\n \"Module\": \"monitor\",\n \"MonitorType\": \"MT_QCE\",\n \"Namespace\": \"cvm_device\"\n}",
|
|
559
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"92hg92hj1-2h352h25hj-2h235h\",\n \"Metrics\": [\n {\n \"Namespace\": \"cvm_device\",\n \"MetricName\": \"cpu_usage\",\n \"Description\": \"CPU使用率\",\n \"Max\": 100,\n \"Min\": 0,\n \"Dimensions\": [\n \"InstanceId\",\n \"UUID\"\n ],\n \"Unit\": \"%\",\n \"MetricConfig\": {\n \"Operator\": [\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\"\n ],\n \"Period\": [\n 60,\n 300\n ],\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ]\n }\n }\n ]\n }\n}",
|
|
565
|
+
"output": "{\n \"Response\": {\n \"Metrics\": [\n {\n \"Description\": \"CPU利用率\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"CpuUsage\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"%\"\n },\n {\n \"Description\": \"基础CPU利用率\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"BaseCpuUsage\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"%\"\n },\n {\n \"Description\": \"内存利用率\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"MemUsage\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"%\"\n },\n {\n \"Description\": \"内存使用量\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"MemUsed\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"MB\"\n },\n {\n \"Description\": \"磁盘利用率\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"CvmDiskUsage\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"%\"\n },\n {\n \"Description\": \"磁盘读流量(适用于i3机型)\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"DiskReadTraffic\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"KB/s\"\n },\n {\n \"Description\": \"磁盘写流量(适用于i3机型)\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"DiskWriteTraffic\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"KB/s\"\n },\n {\n \"Description\": \"磁盘IO等待(适用于i3机型)\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 3600000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"DiskIoAwait\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"毫秒\"\n },\n {\n \"Description\": \"内网入包量\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"LanInpkg\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"个/秒\"\n },\n {\n \"Description\": \"内网出包量\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"LanOutpkg\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"个/秒\"\n },\n {\n \"Description\": \"外网入带宽\",\n \"Dimensions\": [\n \"InstanceId\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 10000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"WanIntraffic\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"Mbps\"\n },\n {\n \"Description\": \"外网出带宽\",\n \"Dimensions\": [\n \"InstanceId\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 10000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"WanOuttraffic\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"Mbps\"\n },\n {\n \"Description\": \"外网入包量\",\n \"Dimensions\": [\n \"InstanceId\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"WanInpkg\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"个/秒\"\n },\n {\n \"Description\": \"外网出包量\",\n \"Dimensions\": [\n \"InstanceId\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"WanOutpkg\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"个/秒\"\n },\n {\n \"Description\": \"外网出带宽使用率\",\n \"Dimensions\": [\n \"InstanceId\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 100,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"Outratio\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"%\"\n },\n {\n \"Description\": \"TCP连接数\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 10000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"TcpCurrEstab\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"个\"\n },\n {\n \"Description\": \"内网入带宽\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 10000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"LanIntraffic\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"Mbps\"\n },\n {\n \"Description\": \"内网出带宽\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 10000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"LanOuttraffic\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"Mbps\"\n },\n {\n \"Description\": \"CPU一分钟平均负载\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"CpuLoadavg\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"\"\n },\n {\n \"Description\": \"CPU五分钟平均负载\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"Cpuloadavg5m\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"\"\n },\n {\n \"Description\": \"CPU十五分钟平均负载\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"Cpuloadavg15m\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"\"\n },\n {\n \"Description\": \"子机utc时间和ntp时间差值\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 10000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60\n ]\n },\n \"MetricName\": \"Timeoffset\",\n \"Min\": -100,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"s\"\n },\n {\n \"Description\": \"连接跟踪丢包\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 10000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"NfctDrop\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"Count\"\n },\n {\n \"Description\": \"插入失败\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 10000000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"no_data\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"NfctInsertFail\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"Count\"\n },\n {\n \"Description\": \"用户实际使用内存\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1000000,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"day_increase\",\n \"day_decrease\",\n \"week_increase\",\n \"week_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\",\n \"day_wave\",\n \"week_wave\"\n ],\n \"Period\": [\n 60,\n 300\n ]\n },\n \"MetricName\": \"MemTotalUsed\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"MB\"\n },\n {\n \"Description\": \"GPU_nvidia_smi命令卡住\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\"\n ],\n \"Period\": [\n 300\n ]\n },\n \"MetricName\": \"GpuNvidiaHung\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"None\"\n },\n {\n \"Description\": \"Nvidia_fabricmanager服务状态\",\n \"Dimensions\": [\n \"vm_uuid\"\n ],\n \"IsAdvanced\": 0,\n \"IsLatenessMetric\": 0,\n \"IsOpen\": 0,\n \"Max\": 1,\n \"MetricConfig\": {\n \"ContinuePeriod\": [\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"Operator\": [\n \"cycle_increase\",\n \"cycle_decrease\",\n \"gt\",\n \"ge\",\n \"lt\",\n \"le\",\n \"eq\",\n \"ne\",\n \"cycle_wave\"\n ],\n \"Period\": [\n 300\n ]\n },\n \"MetricName\": \"FabricmanagerService\",\n \"Min\": 0,\n \"Namespace\": \"cvm_device\",\n \"Operators\": [],\n \"Periods\": null,\n \"ProductId\": 0,\n \"Unit\": \"None\"\n }\n ],\n \"RequestId\": \"3e097fc4-5fb5-4105-bdc9-d466e021e83c\"\n }\n}",
|
|
560
566
|
"title": "查询告警指标列表"
|
|
561
567
|
}
|
|
562
568
|
],
|
|
@@ -1000,6 +1006,14 @@
|
|
|
1000
1006
|
"title": "列出 Prometheus 抓取任务"
|
|
1001
1007
|
}
|
|
1002
1008
|
],
|
|
1009
|
+
"DescribePrometheusScrapeStatistics": [
|
|
1010
|
+
{
|
|
1011
|
+
"document": "获取实例采集速率",
|
|
1012
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusScrapeStatistics\n<公共请求参数>\n\n{\n \"Job\": \"test-job\",\n \"ClusterId\": \"cls-oebw\",\n \"InstanceIds\": [\n \"prom-ejhf\"\n ]\n}",
|
|
1013
|
+
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"InstanceResults\": [\n {\n \"InstanceId\": \"prom-ejhf\",\n \"ScrapedRate\": 1.4,\n \"Clusters\": [\n {\n \"ClusterID\": \"cls-oebw\",\n \"ScrapedRate\": 0.1,\n \"Jobs\": [\n {\n \"JobName\": \"test-job\",\n \"ScrapedRate\": 0.1,\n \"Metrics\": [\n {\n \"MetricName\": \"countMetric\",\n \"SamplesRate\": 3.4,\n \"ScrapedRate\": 0.1,\n \"IsRecommended\": true\n }\n ]\n }\n ],\n \"SamplesRate\": 3.4\n }\n ],\n \"Global\": [\n {\n \"ClusterID\": \"non-cluster\",\n \"ScrapedRate\": 1.3,\n \"Jobs\": [\n {\n \"JobName\": \"ceph-test\",\n \"ScrapedRate\": 1.3,\n \"Metrics\": [\n {\n \"MetricName\": \"upTime\",\n \"SamplesRate\": 2.1,\n \"ScrapedRate\": 1.3,\n \"IsRecommended\": true\n }\n ]\n }\n ],\n \"SamplesRate\": 2.1\n }\n ],\n \"SamplesRate\": 5.5\n }\n ],\n \"RequestId\": \"6fc6a7e8-2a5c-40f2-bf0e-8cb807fa665d\"\n }\n}",
|
|
1014
|
+
"title": "获取实例采集速率"
|
|
1015
|
+
}
|
|
1016
|
+
],
|
|
1003
1017
|
"DescribePrometheusTargetsTMP": [
|
|
1004
1018
|
{
|
|
1005
1019
|
"document": "获取targets列表",
|
|
@@ -1048,6 +1062,14 @@
|
|
|
1048
1062
|
"title": "获取多写配置"
|
|
1049
1063
|
}
|
|
1050
1064
|
],
|
|
1065
|
+
"DescribeRemoteWrites": [
|
|
1066
|
+
{
|
|
1067
|
+
"document": "",
|
|
1068
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:DescribeRemoteWrites\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-abcd\"\n}",
|
|
1069
|
+
"output": "{\n \"Response\": {\n \"RemoteWrites\": [\n {\n \"Destination\": \"multipe-1\"\n }\n ],\n \"Count\": 1,\n \"RequestId\": \"bfa18d10-fe18-4f0e-b7e8-18857f951655\"\n }\n}",
|
|
1070
|
+
"title": "查询数据多写"
|
|
1071
|
+
}
|
|
1072
|
+
],
|
|
1051
1073
|
"DescribeSSOAccount": [
|
|
1052
1074
|
{
|
|
1053
1075
|
"document": "列出当前grafana实例的所有授权账号",
|
tccli/services/mps/mps_client.py
CHANGED
|
@@ -3137,6 +3137,110 @@ def doModifyStreamLinkInput(args, parsed_globals):
|
|
|
3137
3137
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
3138
3138
|
|
|
3139
3139
|
|
|
3140
|
+
def doDescribeSmartEraseTemplates(args, parsed_globals):
|
|
3141
|
+
g_param = parse_global_arg(parsed_globals)
|
|
3142
|
+
|
|
3143
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
3144
|
+
cred = credential.CVMRoleCredential()
|
|
3145
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
3146
|
+
cred = credential.STSAssumeRoleCredential(
|
|
3147
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
3148
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
3149
|
+
)
|
|
3150
|
+
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):
|
|
3151
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
3152
|
+
else:
|
|
3153
|
+
cred = credential.Credential(
|
|
3154
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
3155
|
+
)
|
|
3156
|
+
http_profile = HttpProfile(
|
|
3157
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
3158
|
+
reqMethod="POST",
|
|
3159
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
3160
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
3161
|
+
)
|
|
3162
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
3163
|
+
if g_param[OptionsDefine.Language]:
|
|
3164
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
3165
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
3166
|
+
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
|
3167
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
3168
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
3169
|
+
model = models.DescribeSmartEraseTemplatesRequest()
|
|
3170
|
+
model.from_json_string(json.dumps(args))
|
|
3171
|
+
start_time = time.time()
|
|
3172
|
+
while True:
|
|
3173
|
+
rsp = client.DescribeSmartEraseTemplates(model)
|
|
3174
|
+
result = rsp.to_json_string()
|
|
3175
|
+
try:
|
|
3176
|
+
json_obj = json.loads(result)
|
|
3177
|
+
except TypeError as e:
|
|
3178
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
3179
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
3180
|
+
break
|
|
3181
|
+
cur_time = time.time()
|
|
3182
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
3183
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
3184
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
3185
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
3186
|
+
else:
|
|
3187
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
3188
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
3189
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
3190
|
+
|
|
3191
|
+
|
|
3192
|
+
def doModifySmartEraseTemplate(args, parsed_globals):
|
|
3193
|
+
g_param = parse_global_arg(parsed_globals)
|
|
3194
|
+
|
|
3195
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
3196
|
+
cred = credential.CVMRoleCredential()
|
|
3197
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
3198
|
+
cred = credential.STSAssumeRoleCredential(
|
|
3199
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
3200
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
3201
|
+
)
|
|
3202
|
+
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):
|
|
3203
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
3204
|
+
else:
|
|
3205
|
+
cred = credential.Credential(
|
|
3206
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
3207
|
+
)
|
|
3208
|
+
http_profile = HttpProfile(
|
|
3209
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
3210
|
+
reqMethod="POST",
|
|
3211
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
3212
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
3213
|
+
)
|
|
3214
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
3215
|
+
if g_param[OptionsDefine.Language]:
|
|
3216
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
3217
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
3218
|
+
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
|
3219
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
3220
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
3221
|
+
model = models.ModifySmartEraseTemplateRequest()
|
|
3222
|
+
model.from_json_string(json.dumps(args))
|
|
3223
|
+
start_time = time.time()
|
|
3224
|
+
while True:
|
|
3225
|
+
rsp = client.ModifySmartEraseTemplate(model)
|
|
3226
|
+
result = rsp.to_json_string()
|
|
3227
|
+
try:
|
|
3228
|
+
json_obj = json.loads(result)
|
|
3229
|
+
except TypeError as e:
|
|
3230
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
3231
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
3232
|
+
break
|
|
3233
|
+
cur_time = time.time()
|
|
3234
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
3235
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
3236
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
3237
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
3238
|
+
else:
|
|
3239
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
3240
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
3241
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
3242
|
+
|
|
3243
|
+
|
|
3140
3244
|
def doCreateSmartSubtitleTemplate(args, parsed_globals):
|
|
3141
3245
|
g_param = parse_global_arg(parsed_globals)
|
|
3142
3246
|
|
|
@@ -5425,7 +5529,7 @@ def doDescribeStreamLinkFlow(args, parsed_globals):
|
|
|
5425
5529
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
5426
5530
|
|
|
5427
5531
|
|
|
5428
|
-
def
|
|
5532
|
+
def doModifyAIRecognitionTemplate(args, parsed_globals):
|
|
5429
5533
|
g_param = parse_global_arg(parsed_globals)
|
|
5430
5534
|
|
|
5431
5535
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
@@ -5454,11 +5558,11 @@ def doDeleteSchedule(args, parsed_globals):
|
|
|
5454
5558
|
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
|
5455
5559
|
client._sdkVersion += ("_CLI_" + __version__)
|
|
5456
5560
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
5457
|
-
model = models.
|
|
5561
|
+
model = models.ModifyAIRecognitionTemplateRequest()
|
|
5458
5562
|
model.from_json_string(json.dumps(args))
|
|
5459
5563
|
start_time = time.time()
|
|
5460
5564
|
while True:
|
|
5461
|
-
rsp = client.
|
|
5565
|
+
rsp = client.ModifyAIRecognitionTemplate(model)
|
|
5462
5566
|
result = rsp.to_json_string()
|
|
5463
5567
|
try:
|
|
5464
5568
|
json_obj = json.loads(result)
|
|
@@ -6517,6 +6621,58 @@ def doDisassociateSecurityGroup(args, parsed_globals):
|
|
|
6517
6621
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
6518
6622
|
|
|
6519
6623
|
|
|
6624
|
+
def doCreateSmartEraseTemplate(args, parsed_globals):
|
|
6625
|
+
g_param = parse_global_arg(parsed_globals)
|
|
6626
|
+
|
|
6627
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
6628
|
+
cred = credential.CVMRoleCredential()
|
|
6629
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
6630
|
+
cred = credential.STSAssumeRoleCredential(
|
|
6631
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
6632
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
6633
|
+
)
|
|
6634
|
+
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):
|
|
6635
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
6636
|
+
else:
|
|
6637
|
+
cred = credential.Credential(
|
|
6638
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
6639
|
+
)
|
|
6640
|
+
http_profile = HttpProfile(
|
|
6641
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
6642
|
+
reqMethod="POST",
|
|
6643
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
6644
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
6645
|
+
)
|
|
6646
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
6647
|
+
if g_param[OptionsDefine.Language]:
|
|
6648
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
6649
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
6650
|
+
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
|
6651
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
6652
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
6653
|
+
model = models.CreateSmartEraseTemplateRequest()
|
|
6654
|
+
model.from_json_string(json.dumps(args))
|
|
6655
|
+
start_time = time.time()
|
|
6656
|
+
while True:
|
|
6657
|
+
rsp = client.CreateSmartEraseTemplate(model)
|
|
6658
|
+
result = rsp.to_json_string()
|
|
6659
|
+
try:
|
|
6660
|
+
json_obj = json.loads(result)
|
|
6661
|
+
except TypeError as e:
|
|
6662
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
6663
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
6664
|
+
break
|
|
6665
|
+
cur_time = time.time()
|
|
6666
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
6667
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
6668
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
6669
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
6670
|
+
else:
|
|
6671
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
6672
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
6673
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
6674
|
+
|
|
6675
|
+
|
|
6520
6676
|
def doModifyContentReviewTemplate(args, parsed_globals):
|
|
6521
6677
|
g_param = parse_global_arg(parsed_globals)
|
|
6522
6678
|
|
|
@@ -6673,7 +6829,7 @@ def doBatchStopStreamLinkFlow(args, parsed_globals):
|
|
|
6673
6829
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
6674
6830
|
|
|
6675
6831
|
|
|
6676
|
-
def
|
|
6832
|
+
def doDeleteSchedule(args, parsed_globals):
|
|
6677
6833
|
g_param = parse_global_arg(parsed_globals)
|
|
6678
6834
|
|
|
6679
6835
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
@@ -6702,11 +6858,11 @@ def doModifyAIRecognitionTemplate(args, parsed_globals):
|
|
|
6702
6858
|
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
|
6703
6859
|
client._sdkVersion += ("_CLI_" + __version__)
|
|
6704
6860
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
6705
|
-
model = models.
|
|
6861
|
+
model = models.DeleteScheduleRequest()
|
|
6706
6862
|
model.from_json_string(json.dumps(args))
|
|
6707
6863
|
start_time = time.time()
|
|
6708
6864
|
while True:
|
|
6709
|
-
rsp = client.
|
|
6865
|
+
rsp = client.DeleteSchedule(model)
|
|
6710
6866
|
result = rsp.to_json_string()
|
|
6711
6867
|
try:
|
|
6712
6868
|
json_obj = json.loads(result)
|
|
@@ -6777,6 +6933,58 @@ def doDeleteStreamLinkEvent(args, parsed_globals):
|
|
|
6777
6933
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
6778
6934
|
|
|
6779
6935
|
|
|
6936
|
+
def doDeleteSmartEraseTemplate(args, parsed_globals):
|
|
6937
|
+
g_param = parse_global_arg(parsed_globals)
|
|
6938
|
+
|
|
6939
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
6940
|
+
cred = credential.CVMRoleCredential()
|
|
6941
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
6942
|
+
cred = credential.STSAssumeRoleCredential(
|
|
6943
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
6944
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
6945
|
+
)
|
|
6946
|
+
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):
|
|
6947
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
6948
|
+
else:
|
|
6949
|
+
cred = credential.Credential(
|
|
6950
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
6951
|
+
)
|
|
6952
|
+
http_profile = HttpProfile(
|
|
6953
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
6954
|
+
reqMethod="POST",
|
|
6955
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
6956
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
6957
|
+
)
|
|
6958
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
6959
|
+
if g_param[OptionsDefine.Language]:
|
|
6960
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
6961
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
6962
|
+
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
|
6963
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
6964
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
6965
|
+
model = models.DeleteSmartEraseTemplateRequest()
|
|
6966
|
+
model.from_json_string(json.dumps(args))
|
|
6967
|
+
start_time = time.time()
|
|
6968
|
+
while True:
|
|
6969
|
+
rsp = client.DeleteSmartEraseTemplate(model)
|
|
6970
|
+
result = rsp.to_json_string()
|
|
6971
|
+
try:
|
|
6972
|
+
json_obj = json.loads(result)
|
|
6973
|
+
except TypeError as e:
|
|
6974
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
6975
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
6976
|
+
break
|
|
6977
|
+
cur_time = time.time()
|
|
6978
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
6979
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
6980
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
6981
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
6982
|
+
else:
|
|
6983
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
6984
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
6985
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
6986
|
+
|
|
6987
|
+
|
|
6780
6988
|
def doDescribeStreamLinkFlowLogs(args, parsed_globals):
|
|
6781
6989
|
g_param = parse_global_arg(parsed_globals)
|
|
6782
6990
|
|
|
@@ -6952,6 +7160,8 @@ ACTION_MAP = {
|
|
|
6952
7160
|
"StartStreamLinkFlow": doStartStreamLinkFlow,
|
|
6953
7161
|
"ProcessImage": doProcessImage,
|
|
6954
7162
|
"ModifyStreamLinkInput": doModifyStreamLinkInput,
|
|
7163
|
+
"DescribeSmartEraseTemplates": doDescribeSmartEraseTemplates,
|
|
7164
|
+
"ModifySmartEraseTemplate": doModifySmartEraseTemplate,
|
|
6955
7165
|
"CreateSmartSubtitleTemplate": doCreateSmartSubtitleTemplate,
|
|
6956
7166
|
"DescribeStreamLinkRegions": doDescribeStreamLinkRegions,
|
|
6957
7167
|
"DescribeSchedules": doDescribeSchedules,
|
|
@@ -6996,7 +7206,7 @@ ACTION_MAP = {
|
|
|
6996
7206
|
"DescribeContentReviewTemplates": doDescribeContentReviewTemplates,
|
|
6997
7207
|
"WithdrawsWatermark": doWithdrawsWatermark,
|
|
6998
7208
|
"DescribeStreamLinkFlow": doDescribeStreamLinkFlow,
|
|
6999
|
-
"
|
|
7209
|
+
"ModifyAIRecognitionTemplate": doModifyAIRecognitionTemplate,
|
|
7000
7210
|
"ModifyAdaptiveDynamicStreamingTemplate": doModifyAdaptiveDynamicStreamingTemplate,
|
|
7001
7211
|
"ModifySmartSubtitleTemplate": doModifySmartSubtitleTemplate,
|
|
7002
7212
|
"DeletePersonSample": doDeletePersonSample,
|
|
@@ -7017,11 +7227,13 @@ ACTION_MAP = {
|
|
|
7017
7227
|
"DisableSchedule": doDisableSchedule,
|
|
7018
7228
|
"CreateStreamLinkInput": doCreateStreamLinkInput,
|
|
7019
7229
|
"DisassociateSecurityGroup": doDisassociateSecurityGroup,
|
|
7230
|
+
"CreateSmartEraseTemplate": doCreateSmartEraseTemplate,
|
|
7020
7231
|
"ModifyContentReviewTemplate": doModifyContentReviewTemplate,
|
|
7021
7232
|
"CreateAIRecognitionTemplate": doCreateAIRecognitionTemplate,
|
|
7022
7233
|
"BatchStopStreamLinkFlow": doBatchStopStreamLinkFlow,
|
|
7023
|
-
"
|
|
7234
|
+
"DeleteSchedule": doDeleteSchedule,
|
|
7024
7235
|
"DeleteStreamLinkEvent": doDeleteStreamLinkEvent,
|
|
7236
|
+
"DeleteSmartEraseTemplate": doDeleteSmartEraseTemplate,
|
|
7025
7237
|
"DescribeStreamLinkFlowLogs": doDescribeStreamLinkFlowLogs,
|
|
7026
7238
|
"DeleteImageSpriteTemplate": doDeleteImageSpriteTemplate,
|
|
7027
7239
|
|