tccli-intl-en 3.0.1188.1__py2.py3-none-any.whl → 3.1.28.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/argument.py +1 -1
- tccli/plugins/sso/__init__.py +14 -0
- tccli/plugins/sso/login.py +23 -6
- tccli/plugins/sso/texts.py +4 -0
- tccli/services/__init__.py +46 -2
- tccli/services/advisor/advisor_client.py +10 -4
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +266 -0
- tccli/services/ai3d/v20250513/api.json +264 -0
- tccli/services/ai3d/v20250513/examples.json +20 -0
- tccli/services/aiart/aiart_client.py +5 -2
- tccli/services/ams/ams_client.py +20 -8
- tccli/services/antiddos/antiddos_client.py +350 -140
- tccli/services/apigateway/apigateway_client.py +465 -186
- tccli/services/apm/apm_client.py +835 -68
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +10 -4
- tccli/services/autoscaling/autoscaling_client.py +341 -114
- tccli/services/autoscaling/v20180419/api.json +444 -272
- tccli/services/autoscaling/v20180419/examples.json +46 -38
- tccli/services/batch/batch_client.py +140 -56
- tccli/services/bi/__init__.py +4 -0
- tccli/services/bi/bi_client.py +1498 -0
- tccli/services/bi/v20220105/api.json +5769 -0
- tccli/services/bi/v20220105/examples.json +215 -0
- tccli/services/billing/billing_client.py +1007 -139
- tccli/services/billing/v20180709/api.json +1707 -429
- tccli/services/billing/v20180709/examples.json +161 -25
- tccli/services/cam/cam_client.py +405 -162
- tccli/services/captcha/captcha_client.py +5 -2
- tccli/services/captcha/v20190722/api.json +16 -6
- tccli/services/captcha/v20190722/examples.json +3 -3
- tccli/services/car/car_client.py +165 -66
- tccli/services/cbs/cbs_client.py +190 -76
- tccli/services/ccc/ccc_client.py +1167 -268
- tccli/services/ccc/v20200210/api.json +2263 -202
- tccli/services/ccc/v20200210/examples.json +116 -12
- tccli/services/cdb/cdb_client.py +665 -266
- tccli/services/cdb/v20170320/api.json +463 -208
- tccli/services/cdb/v20170320/examples.json +8 -8
- tccli/services/cdc/cdc_client.py +100 -40
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +220 -88
- tccli/services/cdn/v20180606/api.json +22 -22
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/cdwdoris/cdwdoris_client.py +385 -154
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +80 -32
- tccli/services/cfg/v20210820/api.json +30 -10
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/cfs_client.py +195 -78
- tccli/services/cfw/cfw_client.py +330 -132
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +80 -32
- tccli/services/ckafka/ckafka_client.py +1149 -259
- tccli/services/ckafka/v20190819/api.json +3738 -1696
- tccli/services/ckafka/v20190819/examples.json +266 -162
- tccli/services/clb/clb_client.py +1054 -469
- tccli/services/clb/v20180317/api.json +2273 -1020
- tccli/services/clb/v20180317/examples.json +184 -124
- tccli/services/cloudaudit/cloudaudit_client.py +90 -36
- tccli/services/cls/cls_client.py +434 -173
- tccli/services/cmq/cmq_client.py +14 -803
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +30 -12
- tccli/services/controlcenter/controlcenter_client.py +229 -2
- tccli/services/controlcenter/v20230110/api.json +528 -5
- tccli/services/controlcenter/v20230110/examples.json +32 -0
- tccli/services/csip/csip_client.py +339 -78
- tccli/services/csip/v20221121/api.json +1011 -38
- tccli/services/csip/v20221121/examples.json +24 -0
- tccli/services/ctsdb/__init__.py +4 -0
- tccli/services/ctsdb/ctsdb_client.py +266 -0
- tccli/services/ctsdb/v20230202/api.json +677 -0
- tccli/services/ctsdb/v20230202/examples.json +20 -0
- tccli/services/cvm/cvm_client.py +706 -189
- tccli/services/cvm/v20170312/api.json +1003 -453
- tccli/services/cvm/v20170312/examples.json +176 -130
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +2272 -591
- tccli/services/cynosdb/v20190107/api.json +12480 -7740
- tccli/services/cynosdb/v20190107/examples.json +193 -9
- tccli/services/dataintegration/dataintegration_client.py +5 -2
- tccli/services/dayu/dayu_client.py +515 -206
- tccli/services/dbbrain/dbbrain_client.py +210 -84
- tccli/services/dc/dc_client.py +90 -36
- tccli/services/dcdb/dcdb_client.py +310 -124
- tccli/services/dlc/dlc_client.py +859 -214
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +10 -4
- tccli/services/dnspod/dnspod_client.py +390 -111
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +120 -48
- tccli/services/dts/dts_client.py +415 -166
- tccli/services/eb/eb_client.py +130 -52
- tccli/services/ecdn/ecdn_client.py +75 -30
- tccli/services/ecm/ecm_client.py +620 -248
- tccli/services/eiam/eiam_client.py +200 -80
- tccli/services/emr/emr_client.py +3104 -117
- tccli/services/emr/v20190103/api.json +15311 -4361
- tccli/services/emr/v20190103/examples.json +452 -42
- tccli/services/es/es_client.py +105 -42
- tccli/services/facefusion/facefusion_client.py +15 -6
- tccli/services/faceid/faceid_client.py +95 -38
- tccli/services/faceid/v20180301/api.json +172 -45
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +440 -176
- tccli/services/gme/gme_client.py +50 -20
- tccli/services/gpm/gpm_client.py +90 -36
- tccli/services/gse/gse_client.py +110 -44
- tccli/services/gwlb/gwlb_client.py +90 -36
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +490 -0
- tccli/services/hunyuan/v20230901/api.json +566 -0
- tccli/services/hunyuan/v20230901/examples.json +52 -0
- tccli/services/iai/iai_client.py +145 -58
- tccli/services/iai/v20200303/api.json +187 -51
- tccli/services/iai/v20200303/examples.json +30 -12
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ims/ims_client.py +5 -2
- tccli/services/ims/v20201229/api.json +133 -141
- tccli/services/ims/v20201229/examples.json +3 -3
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +363 -78
- tccli/services/intlpartnersmgt/v20220928/api.json +513 -22
- tccli/services/intlpartnersmgt/v20220928/examples.json +24 -0
- tccli/services/iotcloud/iotcloud_client.py +100 -40
- tccli/services/iotcloud/v20210408/api.json +216 -107
- tccli/services/iotcloud/v20210408/examples.json +9 -9
- tccli/services/ip/ip_client.py +30 -12
- tccli/services/kms/kms_client.py +1226 -227
- tccli/services/kms/v20190118/api.json +1465 -123
- tccli/services/kms/v20190118/examples.json +129 -3
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +730 -172
- tccli/services/lighthouse/v20200324/api.json +502 -14
- tccli/services/lighthouse/v20200324/examples.json +59 -5
- tccli/services/live/live_client.py +804 -232
- tccli/services/live/v20180801/api.json +272 -0
- tccli/services/live/v20180801/examples.json +32 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +5194 -0
- tccli/services/lke/v20231130/api.json +14803 -0
- tccli/services/lke/v20231130/examples.json +736 -0
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +602 -0
- tccli/services/lkeap/v20240522/api.json +989 -0
- tccli/services/lkeap/v20240522/examples.json +92 -0
- tccli/services/mariadb/mariadb_client.py +250 -100
- tccli/services/mdc/mdc_client.py +90 -36
- tccli/services/mdl/mdl_client.py +402 -82
- tccli/services/mdl/v20200326/api.json +1437 -100
- tccli/services/mdl/v20200326/examples.json +48 -16
- tccli/services/mdp/mdp_client.py +785 -122
- tccli/services/mdp/v20200527/api.json +1336 -49
- tccli/services/mdp/v20200527/examples.json +151 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +1452 -136
- tccli/services/mongodb/v20190725/api.json +4393 -1462
- tccli/services/mongodb/v20190725/examples.json +265 -71
- tccli/services/monitor/monitor_client.py +1008 -296
- tccli/services/monitor/v20180724/api.json +664 -15
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +1878 -379
- tccli/services/mps/v20190612/api.json +7473 -1626
- tccli/services/mps/v20190612/examples.json +276 -82
- tccli/services/mqtt/__init__.py +4 -0
- tccli/services/mqtt/mqtt_client.py +1610 -0
- tccli/services/mqtt/v20240516/api.json +3057 -0
- tccli/services/mqtt/v20240516/examples.json +213 -0
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +515 -74
- tccli/services/ocr/v20181119/api.json +1991 -168
- tccli/services/ocr/v20181119/examples.json +58 -4
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/organization/organization_client.py +580 -232
- tccli/services/postgres/postgres_client.py +455 -182
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +206 -60
- tccli/services/privatedns/v20201028/api.json +179 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/pts/pts_client.py +240 -96
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +5 -2
- tccli/services/redis/redis_client.py +698 -212
- tccli/services/redis/v20180412/api.json +968 -563
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/__init__.py +4 -0
- tccli/services/region/region_client.py +322 -0
- tccli/services/region/v20220627/api.json +399 -0
- tccli/services/region/v20220627/examples.json +29 -0
- tccli/services/rum/rum_client.py +300 -120
- tccli/services/scf/scf_client.py +210 -84
- tccli/services/ses/ses_client.py +368 -69
- tccli/services/ses/v20201002/api.json +240 -0
- tccli/services/ses/v20201002/examples.json +32 -0
- tccli/services/smh/__init__.py +4 -0
- tccli/services/smh/smh_client.py +714 -0
- tccli/services/smh/v20210712/api.json +1287 -0
- tccli/services/smh/v20210712/examples.json +85 -0
- tccli/services/sms/sms_client.py +90 -36
- tccli/services/sqlserver/sqlserver_client.py +3855 -470
- tccli/services/sqlserver/v20180328/api.json +9757 -3347
- tccli/services/sqlserver/v20180328/examples.json +480 -20
- tccli/services/ssl/ssl_client.py +504 -72
- tccli/services/ssl/v20191205/api.json +789 -21
- tccli/services/ssl/v20191205/examples.json +54 -0
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +25 -10
- tccli/services/tag/tag_client.py +150 -60
- tccli/services/tat/tat_client.py +95 -38
- tccli/services/tbaas/tbaas_client.py +20 -8
- tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +5 -2
- tccli/services/tcmpp/tcmpp_client.py +520 -208
- tccli/services/tcr/tcr_client.py +380 -152
- tccli/services/tcsas/tcsas_client.py +295 -118
- tccli/services/tcsas/v20250106/api.json +1084 -980
- tccli/services/tcsas/v20250106/examples.json +15 -15
- tccli/services/tcss/tcss_client.py +1650 -660
- tccli/services/tdid/tdid_client.py +240 -96
- tccli/services/tdmq/tdmq_client.py +2876 -466
- tccli/services/tdmq/v20200217/api.json +11607 -3958
- tccli/services/tdmq/v20200217/examples.json +562 -264
- tccli/services/tem/tem_client.py +280 -112
- tccli/services/teo/teo_client.py +4507 -966
- tccli/services/teo/v20220901/api.json +7341 -1405
- tccli/services/teo/v20220901/examples.json +679 -99
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +255 -102
- tccli/services/tke/tke_client.py +858 -276
- tccli/services/tke/v20180525/api.json +227 -0
- tccli/services/tke/v20180525/examples.json +24 -0
- tccli/services/tms/tms_client.py +5 -2
- tccli/services/tms/v20201229/api.json +91 -100
- tccli/services/tmt/tmt_client.py +5 -2
- tccli/services/trabbit/trabbit_client.py +145 -58
- tccli/services/trocket/__init__.py +4 -0
- tccli/services/trocket/trocket_client.py +2450 -0
- tccli/services/trocket/v20230308/api.json +6062 -0
- tccli/services/trocket/v20230308/examples.json +339 -0
- tccli/services/trro/trro_client.py +95 -38
- tccli/services/trtc/trtc_client.py +928 -192
- tccli/services/trtc/v20190722/api.json +1810 -256
- tccli/services/trtc/v20190722/examples.json +100 -6
- tccli/services/tts/tts_client.py +5 -2
- tccli/services/vclm/vclm_client.py +10 -4
- tccli/services/vm/v20210922/api.json +61 -30
- tccli/services/vm/v20210922/examples.json +0 -12
- tccli/services/vm/vm_client.py +20 -8
- tccli/services/vod/v20180717/api.json +531 -54
- tccli/services/vod/v20180717/examples.json +25 -7
- tccli/services/vod/v20240718/api.json +1105 -0
- tccli/services/vod/v20240718/examples.json +97 -0
- tccli/services/vod/vod_client.py +1428 -350
- tccli/services/vpc/v20170312/api.json +1031 -133
- tccli/services/vpc/v20170312/examples.json +119 -23
- tccli/services/vpc/vpc_client.py +2159 -644
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1149 -245
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6067 -1263
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/RECORD +292 -232
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1188.1.dist-info → tccli_intl_en-3.1.28.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": {
|
|
3
|
+
"AddClientSubscription": [
|
|
4
|
+
{
|
|
5
|
+
"document": "This example shows you the example.",
|
|
6
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddMQTTClientSubscription\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-2vnk55xv\",\n \"ClientId\": \"sub_client1\",\n \"TopicFilter\": \"home/lyx\",\n \"Qos\": \"2\"\n}",
|
|
7
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"e6ce51ed-bc8e-4cc7-9cf0-f6bfcf5003dc\"\n }\n}",
|
|
8
|
+
"title": "Example"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"CreateAuthorizationPolicy": [
|
|
12
|
+
{
|
|
13
|
+
"document": "",
|
|
14
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAuthorizationPolicy\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-xxx\",\n \"PolicyName\": \"name1\",\n \"PolicyVersion\": 1,\n \"Priority\": 4,\n \"Effect\": \"allow\",\n \"Actions\": \"pub\",\n \"Retain\": 1,\n \"Qos\": \"2\"\n}",
|
|
15
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Id\": 6,\n \"InstanceId\": \"mqtt-xxx\",\n \"RequestId\": \"2e477c8c-abef-46e2-bde3-29433b34f309\"\n }\n}",
|
|
16
|
+
"title": "Example"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"CreateInstance": [
|
|
20
|
+
{
|
|
21
|
+
"document": "This example shows you the example.",
|
|
22
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTInstance\n<Common request parameters>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"instance-1\",\n \"SkuCode\": \"basic_1k\",\n \"Remark\": \"this is remark\",\n \"VpcList\": [\n {\n \"VpcId\": \"vpc-9a5wnirv\",\n \"SubnetId\": \"subnet-0tw6tlfi\"\n }\n ],\n \"IpRules\": [\n {\n \"Ip\": \"1.1.1.1\",\n \"Allow\": true,\n \"Remark\": \"remark\"\n }\n ]\n}",
|
|
23
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"RequestId\": \"request-id\"\n }\n}",
|
|
24
|
+
"title": "Example"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"CreateMessageEnrichmentRule": [
|
|
28
|
+
{
|
|
29
|
+
"document": "This example shows you the example.",
|
|
30
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMessageEnrichmentRule\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-g4r4wpne\",\n \"RuleName\": \"rule1\",\n \"Condition\": \"eyJjbGllbnRJZCI6ImNsaWVudC0xIiwidXNlcm5hbWUiOiJjbGllbnQtMSIsInRvcGljIjoiaG9tZS9yb29tMSJ9\",\n \"Actions\": \"eyJtZXNzYWdlRXhwaXJ5SW50ZXJ2YWwiOjM2MCwicmVzcG9uc2VUb3BpYyI6InJlcGxpZXMvZGV2aWNlcy8ke2NsaWVudGlkfSIsImNvcnJlbGF0aW9uRGF0YSI6IiR7dHJhY2VpZH0iLCJ1c2VyUHJvcGVydHkiOlt7ImtleSI6InRyYWNlLWlkIiwidmFsdWUiOiIke3RyYWNlaWR9In1dfQ==\",\n \"Priority\": 2,\n \"Status\": 1,\n \"Remark\": \"remark\"\n}",
|
|
31
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Id\": 6,\n \"InstanceId\": \"mqtt-g4r4wpne\",\n \"RequestId\": \"63e5ecf1-3d79-4f28-aef3-6e7396f78dcd\"\n }\n}",
|
|
32
|
+
"title": "Example"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"CreateUser": [
|
|
36
|
+
{
|
|
37
|
+
"document": "This example shows you the example.",
|
|
38
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTUser\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-12345\",\n \"Remark\": \"remark\",\n \"Username\": \"user1\",\n \"Password\": \"user1-pd\"\n}",
|
|
39
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"25cb77a7-2add-4086-8fd2-a05b5bd34776\"\n }\n}",
|
|
40
|
+
"title": "Example"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"DeleteAuthorizationPolicy": [
|
|
44
|
+
{
|
|
45
|
+
"document": "This example shows you the example.",
|
|
46
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAuthorizationPolicy\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-g4r4x85z\",\n \"Id\": 8\n}",
|
|
47
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"ed018161-ce7a-4ccc-bf9e-b85f4dbf2e2a\"\n }\n}",
|
|
48
|
+
"title": "Example"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"DeleteClientSubscription": [
|
|
52
|
+
{
|
|
53
|
+
"document": "This example shows you the example.",
|
|
54
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTClientSubscription\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-2vnk55xv\",\n \"ClientId\": \"sub_client1\",\n \"TopicFilter\": \"home/lyx\"\n}",
|
|
55
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"8f068485-7252-481d-bdf9-62fdda0229f2\"\n }\n}",
|
|
56
|
+
"title": "Example"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"DeleteInstance": [
|
|
60
|
+
{
|
|
61
|
+
"document": "This example shows you the example.",
|
|
62
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-wjgxr8jg\"\n}",
|
|
63
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"84afeb76-9175-47ec-a6f1-8d0af0c0aae6\"\n }\n}",
|
|
64
|
+
"title": "Example"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"DeleteMessageEnrichmentRule": [
|
|
68
|
+
{
|
|
69
|
+
"document": "This example shows you the example.",
|
|
70
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMessageEnrichmentRule\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-g4r4wpne\",\n \"Id\": 6\n}",
|
|
71
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"718a230c-f185-4d53-9cf7-2b2a324a2216\"\n }\n}",
|
|
72
|
+
"title": "Example"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"DeleteTopic": [
|
|
76
|
+
{
|
|
77
|
+
"document": "This example shows you the example.",
|
|
78
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTTopic\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"home\"\n}",
|
|
79
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"f3a081b8-dc97-4d62-bb1a-d1aa9fe80da8\"\n }\n}",
|
|
80
|
+
"title": "Example"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"DeleteUser": [
|
|
84
|
+
{
|
|
85
|
+
"document": "This example shows you the example.",
|
|
86
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTUser\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"user1\"\n}",
|
|
87
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"74625f9b-ce92-43d5-ba0b-9a85ddb99041\"\n }\n}",
|
|
88
|
+
"title": "Example"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"DescribeAuthorizationPolicies": [
|
|
92
|
+
{
|
|
93
|
+
"document": "This example shows you the example.",
|
|
94
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuthorizationPolicies\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-mzd7ewkr\"\n}",
|
|
95
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"Actions\": \"connect,pub,sub\",\n \"ClientId\": \"client1\",\n \"CreatedTime\": 1742387322000,\n \"Effect\": \"allow\",\n \"Id\": 3867,\n \"InstanceId\": \"mqtt-mzd7ewkr\",\n \"Ip\": \"0.0.0.0/0\",\n \"PolicyName\": \"default_policy\",\n \"Priority\": 1,\n \"Qos\": \"0,1,2\",\n \"Remark\": \"\",\n \"Resources\": \"topic1\",\n \"Retain\": 3,\n \"UpdateTime\": 1742458867000,\n \"Username\": \"default_user\",\n \"Version\": 1\n }\n ],\n \"RequestId\": \"9c44531d-37bd-4c8f-ab9f-b35589fa5b4d\"\n }\n}",
|
|
96
|
+
"title": "Example"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"DescribeClientList": [
|
|
100
|
+
{
|
|
101
|
+
"document": "This example shows you the example.",
|
|
102
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTClientList\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-2vnk55xv\",\n \"ClientId\": \"sub\",\n \"Number\": \"10\"\n}",
|
|
103
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Clients\": [\n {\n \"ClientAddress\": \"11.176.16.153:63066\",\n \"ClientId\": \"sub_client1\",\n \"ConnectTime\": 1710314923557,\n \"ConnectionStatus\": \"CONNECTED\",\n \"CreateTime\": 1710314923554,\n \"DisconnectTime\": 0,\n \"Keepalive\": 60,\n \"MQTTClientSubscriptions\": [\n {\n \"Qos\": 1,\n \"TopicFilter\": \"home/temp/+/\"\n },\n {\n \"Qos\": 0,\n \"TopicFilter\": \"home/humidity/+/\"\n },\n {\n \"Qos\": 2,\n \"TopicFilter\": \"home/person/+/\"\n }\n ],\n \"ProtocolVersion\": 4\n },\n {\n \"ClientAddress\": \"11.176.16.153:62048\",\n \"ClientId\": \"sub_client2\",\n \"ConnectTime\": 1710314912143,\n \"ConnectionStatus\": \"CONNECTED\",\n \"CreateTime\": 1710314912140,\n \"DisconnectTime\": 0,\n \"Keepalive\": 60,\n \"MQTTClientSubscriptions\": [\n {\n \"Qos\": 1,\n \"TopicFilter\": \"home/sun/+/\"\n },\n {\n \"Qos\": 1,\n \"TopicFilter\": \"home/temp/+/\"\n },\n {\n \"Qos\": 0,\n \"TopicFilter\": \"home/humidity/+/\"\n },\n {\n \"Qos\": 2,\n \"TopicFilter\": \"home/person/+/\"\n }\n ],\n \"ProtocolVersion\": 4\n }\n ],\n \"RequestId\": \"9f81924f-41e8-4f24-aaf2-61da7da9c713\"\n }\n}",
|
|
104
|
+
"title": "Example"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"DescribeInstance": [
|
|
108
|
+
{
|
|
109
|
+
"document": "",
|
|
110
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-7peanr83\"\n}",
|
|
111
|
+
"output": "{\n \"Response\": {\n \"AuthorizationPolicy\": false,\n \"AuthorizationPolicyLimit\": 20,\n \"AutoSubscriptionPolicyLimit\": 10,\n \"AutomaticActivation\": true,\n \"ClientNumLimit\": 4000,\n \"CreatedTime\": 1756879989,\n \"DestroyTime\": 0,\n \"DeviceCertificateProvisionType\": \"API\",\n \"ExpiryTime\": 1759471988911,\n \"InstanceId\": \"mqtt-7peanr83\",\n \"InstanceName\": \"instance-1\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"PRO\",\n \"MaxCaNum\": 20,\n \"MaxSubscription\": 120000,\n \"MaxSubscriptionPerClient\": 30,\n \"MaxTopicFilterPerAutoSubscriptionPolicy\": 20,\n \"MaxTopicFilterPerSharedSubscriptionGroup\": 10,\n \"MessageRate\": -1,\n \"PayMode\": \"PREPAID\",\n \"RegistrationCode\": \"client-test\",\n \"Remark\": \"\",\n \"RenewFlag\": 1,\n \"ServerCertLimit\": 3,\n \"SharedSubscriptionGroupLimit\": 20,\n \"SkuCode\": \"pro_2k_2\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 300,\n \"TopicPrefixSlashLimit\": 2,\n \"TpsLimit\": 2000,\n \"TransportLayerSecurity\": \"TLSv1.3,TLSv1.2,TLSv1.1,TLSv1\",\n \"TrustedCaLimit\": 3,\n \"UseDefaultServerCert\": true,\n \"X509Mode\": \"BYOC\",\n \"RequestId\": \"8a95a551-ca77-45f6-aa00-77a090cac898\"\n }\n}",
|
|
112
|
+
"title": "Example"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"DescribeMessageByTopic": [
|
|
116
|
+
{
|
|
117
|
+
"document": "This example shows you the example.",
|
|
118
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMessageByTopic\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-g839agr2\",\n \"Topic\": \"home/room3\",\n \"StartTime\": 1745828681259\n}",
|
|
119
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ClientId\": \"mqttxxxxxx\",\n \"MessageId\": \"15397032005D639FEE48935F932F004D\",\n \"OriginTopic\": \"home/room3\",\n \"Qos\": \"1\",\n \"StoreTimestamp\": \"2025-04-29 14:48:34\"\n },\n {\n \"ClientId\": \"mqttxxxxxx\",\n \"MessageId\": \"15397032005D639FEE48935FA6B80050\",\n \"OriginTopic\": \"home/room3\",\n \"Qos\": \"1\",\n \"StoreTimestamp\": \"2025-04-29 14:48:39\"\n },\n {\n \"ClientId\": \"mqttxxxxxx\",\n \"MessageId\": \"15397032005D639FEE48935FBA410057\",\n \"OriginTopic\": \"home/room3\",\n \"Qos\": \"1\",\n \"StoreTimestamp\": \"2025-04-29 14:48:44\"\n },\n {\n \"ClientId\": \"mqttxxxxxx\",\n \"MessageId\": \"15397032005D639FEE4893603732005C\",\n \"OriginTopic\": \"home/room3\",\n \"Qos\": \"1\",\n \"StoreTimestamp\": \"2025-04-29 14:49:16\"\n }\n ],\n \"RequestId\": \"6af56edc-5085-4583-8366-7f125c973603\"\n }\n}",
|
|
120
|
+
"title": "Example"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"DescribeMessageDetails": [
|
|
124
|
+
{
|
|
125
|
+
"document": "This example shows you the example.",
|
|
126
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMessageDetails\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-g839agr2\",\n \"MessageId\": \"15397032005D639FEE4893603732005C\"\n}",
|
|
127
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Body\": \"this is body\",\n \"ClientId\": \"client1\",\n \"MessageId\": \"15397032005D639FEE4893603732005C\",\n \"OriginTopic\": \"home/room3\",\n \"Qos\": \"1\",\n \"RequestId\": \"ba5d5d6a-64c9-40cf-8889-21efed76389d\",\n \"StoreTimestamp\": \"1745828681259\",\n \"UserProperties\": [\n {\n \"Key\": \"key1\",\n \"Value\": \"value-1\"\n },\n {\n \"Key\": \"key2\",\n \"Value\": \"value-2\"\n }\n ]\n }\n}",
|
|
128
|
+
"title": "Example"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"DescribeMessageEnrichmentRules": [
|
|
132
|
+
{
|
|
133
|
+
"document": "This example shows you the example.",
|
|
134
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMessageEnrichmentRules\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-g4r4wpne\"\n}",
|
|
135
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"Actions\": \"eyJ1c2VyUHJvcGVydHkiOiBbeyJrZXkiOiAidHJhY2UtaWQiLCAidmFsdWUiOiAiJHt0cmFjZWlkfSJ9XSwgInJlc3BvbnNlVG9waWMiOiAicmVwbGllcy9kZXZpY2VzLyR7Y2xpZW50aWR9IiwgImNvcnJlbGF0aW9uRGF0YSI6ICIke3RyYWNlaWR9IiwgIm1lc3NhZ2VFeHBpcnlJbnRlcnZhbCI6IDM2MH0=\",\n \"Condition\": \"eyJ0b3BpYyI6ICJob21lL3Jvb20xIiwgImNsaWVudElkIjogImNsaWVudC0xIiwgInVzZXJuYW1lIjogImNsaWVudC0xIn0=\",\n \"CreatedTime\": 1763347106093,\n \"Id\": 5,\n \"InstanceId\": \"mqtt-g4r4wpne\",\n \"Priority\": 1,\n \"Remark\": \"remark\",\n \"RuleName\": \"rule1\",\n \"Status\": 1,\n \"UpdateTime\": 1763347106093\n },\n {\n \"Actions\": \"eyJ1c2VyUHJvcGVydHkiOiBbeyJrZXkiOiAidHJhY2UtaWQiLCAidmFsdWUiOiAiJHt0cmFjZWlkfSJ9XSwgInJlc3BvbnNlVG9waWMiOiAicmVwbGllcy9kZXZpY2VzLyR7Y2xpZW50aWR9IiwgImNvcnJlbGF0aW9uRGF0YSI6ICIke3RyYWNlaWR9IiwgIm1lc3NhZ2VFeHBpcnlJbnRlcnZhbCI6IDM2MH0=\",\n \"Condition\": \"eyJ0b3BpYyI6ICJob21lL3Jvb20xIiwgImNsaWVudElkIjogImNsaWVudC0xIiwgInVzZXJuYW1lIjogImNsaWVudC0xIn0=\",\n \"CreatedTime\": 1763347249927,\n \"Id\": 6,\n \"InstanceId\": \"mqtt-g4r4wpne\",\n \"Priority\": 2,\n \"Remark\": \"remark\",\n \"RuleName\": \"rule2\",\n \"Status\": 1,\n \"UpdateTime\": 1763347388148\n }\n ],\n \"RequestId\": \"6e898343-e911-49de-8491-f23108edd157\"\n }\n}",
|
|
136
|
+
"title": "Example"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"DescribeTopic": [
|
|
140
|
+
{
|
|
141
|
+
"document": "This example shows you the example.",
|
|
142
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTTopic\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Topic\": \"topic1\"\n}",
|
|
143
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CreatedTime\": 1705567642,\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Remark\": \"\",\n \"RequestId\": \"acf7faf2-b2a9-431c-96b9-f589262da8f7\",\n \"Topic\": \"topic1\"\n }\n}",
|
|
144
|
+
"title": "Example"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"DescribeUserList": [
|
|
148
|
+
{
|
|
149
|
+
"document": "This example shows you the example.",
|
|
150
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTUserList\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
|
151
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"CreatedTime\": 1705392159000,\n \"ModifiedTime\": 1705392159000,\n \"Password\": \"pwd1\",\n \"Remark\": \"remark\",\n \"Username\": \"user1\"\n }\n ],\n \"RequestId\": \"8e86117c-a56c-4598-9e1f-4a039eed6e3a\",\n \"TotalCount\": 1\n }\n}",
|
|
152
|
+
"title": "Example"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"KickOutClient": [
|
|
156
|
+
{
|
|
157
|
+
"document": "This example shows you the example.",
|
|
158
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: KickOutClient\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-pjn3nqdm\",\n \"ClientId\": \"mqtt_chongfu\"\n}",
|
|
159
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"902a374b-fe13-4078-837a-9fde320acf6c\"\n }\n}",
|
|
160
|
+
"title": "Example"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"ModifyAuthorizationPolicy": [
|
|
164
|
+
{
|
|
165
|
+
"document": "This example shows you the example.",
|
|
166
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAuthorizationPolicy\n<Common request parameters>\n\n{\n \"Id\": 18,\n \"InstanceId\": \"mqtt-jeredv33\",\n \"PolicyName\": \"policy-1\"\n}",
|
|
167
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"657a771d-a70e-4c0d-a70a-eb7f82471000\"\n }\n}",
|
|
168
|
+
"title": "Example"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"ModifyInstance": [
|
|
172
|
+
{
|
|
173
|
+
"document": "This example shows you the example.",
|
|
174
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInstance\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Name\": \"instance-2\",\n \"Remark\": \"ramark2\"\n}",
|
|
175
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"9955522b-ac27-46c1-8a16-3ed6f98f9c5c\"\n }\n}",
|
|
176
|
+
"title": "Example"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"ModifyMessageEnrichmentRule": [
|
|
180
|
+
{
|
|
181
|
+
"document": "This example shows you the example.",
|
|
182
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMessageEnrichmentRule\n<Common request parameters>\n\n{\n \"Id\": 6,\n \"InstanceId\": \"mqtt-g4r4wpne\",\n \"RuleName\": \"rule2\"\n}",
|
|
183
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"018d5c6a-33bb-41b5-aa38-98cd4e226546\"\n }\n}",
|
|
184
|
+
"title": "Example"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"ModifyUser": [
|
|
188
|
+
{
|
|
189
|
+
"document": "This example shows you the example.",
|
|
190
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTUser\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"user2\",\n \"Remark\": \"remark2\"\n}",
|
|
191
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"85d3aeee-ba25-47cc-8c17-7ad837b877ba\"\n }\n}",
|
|
192
|
+
"title": "Example"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"UpdateAuthorizationPolicyPriority": [
|
|
196
|
+
{
|
|
197
|
+
"document": "This example shows you the example.",
|
|
198
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAuthorizationPolicyPriority\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-g4r4x85z\",\n \"Priorities\": [\n {\n \"Id\": 1,\n \"Priority\": 3\n },\n {\n \"Id\": 6,\n \"Priority\": 1\n },\n {\n \"Id\": 7,\n \"Priority\": 2\n }\n ]\n}",
|
|
199
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"1186da0d-931d-47a3-80a1-885ea2c00067\"\n }\n}",
|
|
200
|
+
"title": "Example"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"UpdateMessageEnrichmentRulePriority": [
|
|
204
|
+
{
|
|
205
|
+
"document": "This example shows you the example.",
|
|
206
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateMessageEnrichmentRulePriority\n<Common request parameters>\n\n{\n \"InstanceId\": \"mqtt-g4r4wpne\",\n \"Priorities\": [\n {\n \"Id\": 6,\n \"Priority\": 10\n }\n ]\n}",
|
|
207
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"cf686c8f-edb9-46e5-9a4d-d45296e377f9\"\n }\n}",
|
|
208
|
+
"title": "Example"
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"version": "1.0"
|
|
213
|
+
}
|
tccli/services/msp/msp_client.py
CHANGED
|
@@ -27,7 +27,10 @@ def doListMigrationTask(args, parsed_globals):
|
|
|
27
27
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
28
28
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
29
29
|
)
|
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
30
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
31
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
32
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
33
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
31
34
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
32
35
|
else:
|
|
33
36
|
cred = credential.Credential(
|
|
@@ -39,7 +42,7 @@ def doListMigrationTask(args, parsed_globals):
|
|
|
39
42
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
40
43
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
41
44
|
)
|
|
42
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
45
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
43
46
|
if g_param[OptionsDefine.Language]:
|
|
44
47
|
profile.language = g_param[OptionsDefine.Language]
|
|
45
48
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -79,7 +82,10 @@ def doRegisterMigrationTask(args, parsed_globals):
|
|
|
79
82
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
80
83
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
81
84
|
)
|
|
82
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
85
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
86
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
87
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
88
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
83
89
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
84
90
|
else:
|
|
85
91
|
cred = credential.Credential(
|
|
@@ -91,7 +97,7 @@ def doRegisterMigrationTask(args, parsed_globals):
|
|
|
91
97
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
92
98
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
93
99
|
)
|
|
94
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
100
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
95
101
|
if g_param[OptionsDefine.Language]:
|
|
96
102
|
profile.language = g_param[OptionsDefine.Language]
|
|
97
103
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -131,7 +137,10 @@ def doModifyMigrationTaskStatus(args, parsed_globals):
|
|
|
131
137
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
132
138
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
133
139
|
)
|
|
134
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
140
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
141
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
142
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
143
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
135
144
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
136
145
|
else:
|
|
137
146
|
cred = credential.Credential(
|
|
@@ -143,7 +152,7 @@ def doModifyMigrationTaskStatus(args, parsed_globals):
|
|
|
143
152
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
144
153
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
145
154
|
)
|
|
146
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
155
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
147
156
|
if g_param[OptionsDefine.Language]:
|
|
148
157
|
profile.language = g_param[OptionsDefine.Language]
|
|
149
158
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -183,7 +192,10 @@ def doDeregisterMigrationTask(args, parsed_globals):
|
|
|
183
192
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
184
193
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
185
194
|
)
|
|
186
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
195
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
196
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
197
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
198
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
187
199
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
188
200
|
else:
|
|
189
201
|
cred = credential.Credential(
|
|
@@ -195,7 +207,7 @@ def doDeregisterMigrationTask(args, parsed_globals):
|
|
|
195
207
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
196
208
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
197
209
|
)
|
|
198
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
210
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
199
211
|
if g_param[OptionsDefine.Language]:
|
|
200
212
|
profile.language = g_param[OptionsDefine.Language]
|
|
201
213
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -235,7 +247,10 @@ def doDescribeMigrationTask(args, parsed_globals):
|
|
|
235
247
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
236
248
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
237
249
|
)
|
|
238
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
250
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
251
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
252
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
253
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
239
254
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
240
255
|
else:
|
|
241
256
|
cred = credential.Credential(
|
|
@@ -247,7 +262,7 @@ def doDescribeMigrationTask(args, parsed_globals):
|
|
|
247
262
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
248
263
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
249
264
|
)
|
|
250
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
265
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
251
266
|
if g_param[OptionsDefine.Language]:
|
|
252
267
|
profile.language = g_param[OptionsDefine.Language]
|
|
253
268
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -287,7 +302,10 @@ def doModifyMigrationTaskBelongToProject(args, parsed_globals):
|
|
|
287
302
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
288
303
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
289
304
|
)
|
|
290
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
305
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
306
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
307
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
308
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
291
309
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
292
310
|
else:
|
|
293
311
|
cred = credential.Credential(
|
|
@@ -299,7 +317,7 @@ def doModifyMigrationTaskBelongToProject(args, parsed_globals):
|
|
|
299
317
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
300
318
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
301
319
|
)
|
|
302
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
320
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
303
321
|
if g_param[OptionsDefine.Language]:
|
|
304
322
|
profile.language = g_param[OptionsDefine.Language]
|
|
305
323
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
@@ -339,7 +357,10 @@ def doListMigrationProject(args, parsed_globals):
|
|
|
339
357
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
340
358
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
341
359
|
)
|
|
342
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
360
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
361
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
362
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
363
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
343
364
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
344
365
|
else:
|
|
345
366
|
cred = credential.Credential(
|
|
@@ -351,7 +372,7 @@ def doListMigrationProject(args, parsed_globals):
|
|
|
351
372
|
endpoint=g_param[OptionsDefine.Endpoint],
|
|
352
373
|
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
353
374
|
)
|
|
354
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="
|
|
375
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
355
376
|
if g_param[OptionsDefine.Language]:
|
|
356
377
|
profile.language = g_param[OptionsDefine.Language]
|
|
357
378
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|