tccli-intl-en 3.0.1168.1__py2.py3-none-any.whl → 3.1.16.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 +49 -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 +514 -333
- 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 +1055 -134
- tccli/services/billing/v20180709/api.json +1654 -243
- tccli/services/billing/v20180709/examples.json +169 -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 +426 -173
- tccli/services/cdb/v20170320/examples.json +6 -6
- 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/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 +1033 -255
- tccli/services/ckafka/v20190819/api.json +3378 -1681
- tccli/services/ckafka/v20190819/examples.json +254 -160
- tccli/services/clb/clb_client.py +1054 -469
- tccli/services/clb/v20180317/api.json +2307 -1024
- tccli/services/clb/v20180317/examples.json +186 -126
- 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 +1141 -510
- tccli/services/cvm/v20170312/examples.json +174 -128
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +3051 -575
- tccli/services/cynosdb/v20190107/api.json +14074 -7139
- tccli/services/cynosdb/v20190107/examples.json +597 -287
- 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 +266 -0
- tccli/services/hunyuan/v20230901/api.json +270 -0
- tccli/services/hunyuan/v20230901/examples.json +20 -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 +516 -72
- tccli/services/intlpartnersmgt/v20220928/api.json +976 -60
- tccli/services/intlpartnersmgt/v20220928/examples.json +50 -2
- 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 +1562 -144
- tccli/services/kms/v20190118/examples.json +204 -78
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +370 -148
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -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 +953 -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 +1144 -58
- tccli/services/mdl/v20200326/examples.json +48 -16
- tccli/services/mdp/mdp_client.py +785 -122
- tccli/services/mdp/v20200527/api.json +1168 -44
- 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 +660 -11
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +1573 -354
- tccli/services/mps/v20190612/api.json +12394 -7243
- tccli/services/mps/v20190612/examples.json +244 -84
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +596 -102
- tccli/services/ocr/v20181119/api.json +2271 -181
- tccli/services/ocr/v20181119/examples.json +70 -8
- 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/__init__.py +4 -0
- tccli/services/tbaas/tbaas_client.py +378 -0
- tccli/services/tbaas/v20180416/api.json +551 -0
- tccli/services/tbaas/v20180416/examples.json +37 -0
- 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 +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- 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 +741 -274
- tccli/services/tke/v20180525/api.json +132 -7
- tccli/services/tke/v20180525/examples.json +42 -16
- 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/__init__.py +4 -0
- tccli/services/trabbit/trabbit_client.py +1778 -0
- tccli/services/trabbit/v20230418/api.json +4772 -0
- tccli/services/trabbit/v20230418/examples.json +237 -0
- 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 +332 -52
- tccli/services/vod/v20180717/examples.json +9 -1
- tccli/services/vod/v20240718/api.json +1105 -0
- tccli/services/vod/v20240718/examples.json +97 -0
- tccli/services/vod/vod_client.py +1316 -350
- tccli/services/vpc/v20170312/api.json +1166 -106
- tccli/services/vpc/v20170312/examples.json +197 -23
- tccli/services/vpc/vpc_client.py +2413 -739
- 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/v20210820/api.json +1577 -231
- tccli/services/wedata/v20210820/examples.json +74 -12
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6366 -1191
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/RECORD +294 -230
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/top_level.txt +0 -0
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
"title": "Updating Databases in the DMS Metadata Module"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
|
+
"AttachDataMaskPolicy": [
|
|
20
|
+
{
|
|
21
|
+
"document": "",
|
|
22
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AttachDataMaskPolicy\n<Common request parameters>\n\n{\n \"DataMaskStrategyPolicySet\": [\n {\n \"PolicyInfo\": {\n \"Database\": \"default_database\",\n \"Catalog\": \"DataLakeCatalog\",\n \"Table\": \"default_table\",\n \"Operation\": \"SELECT\",\n \"PolicyType\": \"DATAMASK\",\n \"Column\": \"string_msg\"\n },\n \"ColumnType\": \"string\",\n \"DataMaskStrategyId\": \"72de85e2-887a-4a87-bf86-90fc90ff25fa\"\n }\n ]\n}",
|
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"12345678-1234-1234-1234-12345678\"\n }\n}",
|
|
24
|
+
"title": "Binding a DMask Policy"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
19
27
|
"AttachUserPolicy": [
|
|
20
28
|
{
|
|
21
29
|
"document": " ",
|
|
@@ -128,6 +136,14 @@
|
|
|
128
136
|
"title": "Creating a data engine"
|
|
129
137
|
}
|
|
130
138
|
],
|
|
139
|
+
"CreateDataMaskStrategy": [
|
|
140
|
+
{
|
|
141
|
+
"document": "",
|
|
142
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDataMaskStrategy\n<Common request parameters>\n\n{\n \"Strategy\": {\n \"StrategyName\": \"create_data_mask_tag\",\n \"Groups\": [\n {\n \"WorkGroupId\": 46920,\n \"StrategyType\": \"MASK_HASH\"\n }\n ]\n }\n}",
|
|
143
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"812228c6-45c7-43a2-af77-c7e67dc0b524\",\n \"StrategyId\": \"71a88499-266f-4b24-9944-2d80078ec0a6\"\n }\n}",
|
|
144
|
+
"title": "Creating a Data Masking Policy"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
131
147
|
"CreateInternalTable": [
|
|
132
148
|
{
|
|
133
149
|
"document": " ",
|
|
@@ -224,6 +240,14 @@
|
|
|
224
240
|
"title": "test"
|
|
225
241
|
}
|
|
226
242
|
],
|
|
243
|
+
"DeleteDataMaskStrategy": [
|
|
244
|
+
{
|
|
245
|
+
"document": "",
|
|
246
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDataMaskStrategy\n<Common request parameters>\n\n{\n \"StrategyId\": \"c82f17bd-f577-4930-a8ef-83b9647259b8\"\n}",
|
|
247
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"12345678-1234-1234-1234-12345678\"\n }\n}",
|
|
248
|
+
"title": "Deleting a DMask Policy"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
227
251
|
"DeleteSparkApp": [
|
|
228
252
|
{
|
|
229
253
|
"document": "u200cThis example shows you how to delete a Spark job.",
|
|
@@ -350,6 +374,14 @@
|
|
|
350
374
|
"title": "Querying Engine Specification Details"
|
|
351
375
|
}
|
|
352
376
|
],
|
|
377
|
+
"DescribeDataMaskStrategies": [
|
|
378
|
+
{
|
|
379
|
+
"document": "",
|
|
380
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataMaskStrategies\n<Common request parameters>\n\n{\n \"Limit\": 10,\n \"Offset\": 0,\n \"Filters\": []\n}",
|
|
381
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"14ba6c26-2d36-4646-b1c4-6fe8dc2711d5\",\n \"Strategies\": [\n {\n \"StrategyId\": \"9facbbd7-ab31-4f56-8657-f981f3fea223\",\n \"UserAppId\": \"1305424723\",\n \"Uin\": \"100018379117\",\n \"SubAccountUin\": \"100041604908\",\n \"StrategyName\": \"default_mask_1\",\n \"StrategyType\": \"\",\n \"StrategyDesc\": \"\",\n \"Groups\": [\n {\n \"WorkGroupId\": 225289,\n \"StrategyType\": \"MASK_SHOW_FIRST_4\"\n }\n ],\n \"Users\": \"\",\n \"State\": 1,\n \"CreateTime\": 1753416120334,\n \"UpdateTime\": 1753416120334\n },\n {\n \"StrategyId\": \"af088222-22f0-4e7b-a179-8640b4f29ac9\",\n \"UserAppId\": \"1305424723\",\n \"Uin\": \"100018379117\",\n \"SubAccountUin\": \"100018370021\",\n \"StrategyName\": \"default_mask_2\",\n \"StrategyType\": \"\",\n \"StrategyDesc\": \"\",\n \"Groups\": [\n {\n \"WorkGroupId\": 225285,\n \"StrategyType\": \"MASK\"\n },\n {\n \"WorkGroupId\": 225284,\n \"StrategyType\": \"MASK_NONE\"\n }\n ],\n \"Users\": \"\",\n \"State\": 1,\n \"CreateTime\": 1752579358146,\n \"UpdateTime\": 1752579472439\n },\n {\n \"StrategyId\": \"1f14426d-fb9c-4e91-98a9-41d9691d0186\",\n \"UserAppId\": \"1305424723\",\n \"Uin\": \"100018379117\",\n \"SubAccountUin\": \"100042020000\",\n \"StrategyName\": \"default_mask_3\",\n \"StrategyType\": \"\",\n \"StrategyDesc\": \"\",\n \"Groups\": [\n {\n \"WorkGroupId\": 225284,\n \"StrategyType\": \"MASK_SHOW_FIRST_4\"\n },\n {\n \"WorkGroupId\": 225285,\n \"StrategyType\": \"MASK_SHOW_LAST_4\"\n }\n ],\n \"Users\": \"\",\n \"State\": 1,\n \"CreateTime\": 1752578536032,\n \"UpdateTime\": 1752578536032\n },\n {\n \"StrategyId\": \"f4ac2013-d004-4b6a-b3f9-89dc313e8f44\",\n \"UserAppId\": \"1305424723\",\n \"Uin\": \"100018379117\",\n \"SubAccountUin\": \"100042020000\",\n \"StrategyName\": \"data_mask_4\",\n \"StrategyType\": \"\",\n \"StrategyDesc\": \"\",\n \"Groups\": [\n {\n \"WorkGroupId\": 221485,\n \"StrategyType\": \"MASK_DATE_SHOW_YEAR\"\n }\n ],\n \"Users\": \"\",\n \"State\": 1,\n \"CreateTime\": 1752570666841,\n \"UpdateTime\": 1752570666841\n },\n {\n \"StrategyId\": \"f9c49afd-d5f5-4a22-b4a5-80d66061601c\",\n \"UserAppId\": \"1305424723\",\n \"Uin\": \"100018379117\",\n \"SubAccountUin\": \"100040310000\",\n \"StrategyName\": \"default_mask_5\",\n \"StrategyType\": \"\",\n \"StrategyDesc\": \"\",\n \"Groups\": [\n {\n \"WorkGroupId\": 225254,\n \"StrategyType\": \"MASK_NONE\"\n }\n ],\n \"Users\": \"\",\n \"State\": 1,\n \"CreateTime\": 1752213893224,\n \"UpdateTime\": 1752213893224\n },\n {\n \"StrategyId\": \"7a5cc300-baad-44b8-a918-46883a8a8454\",\n \"UserAppId\": \"1305424723\",\n \"Uin\": \"100018379117\",\n \"SubAccountUin\": \"100018430000\",\n \"StrategyName\": \"default_mask_6\",\n \"StrategyType\": \"\",\n \"StrategyDesc\": \"\",\n \"Groups\": [\n {\n \"WorkGroupId\": 225237,\n \"StrategyType\": \"MASK_NULL\"\n }\n ],\n \"Users\": \"\",\n \"State\": 1,\n \"CreateTime\": 1750851717526,\n \"UpdateTime\": 1750851717526\n },\n {\n \"StrategyId\": \"72de85e2-887a-4a87-bf86-90fc90ff25fa\",\n \"UserAppId\": \"1305424723\",\n \"Uin\": \"100018379117\",\n \"SubAccountUin\": \"100018370000\",\n \"StrategyName\": \"default_mask_7\",\n \"StrategyType\": \"\",\n \"StrategyDesc\": \"\",\n \"Groups\": [\n {\n \"WorkGroupId\": 225237,\n \"StrategyType\": \"MASK_SHOW_LAST_4\"\n }\n ],\n \"Users\": \"\",\n \"State\": 1,\n \"CreateTime\": 1750144801970,\n \"UpdateTime\": 1750257014072\n }\n ],\n \"TotalCount\": 7\n }\n}",
|
|
382
|
+
"title": "Querying Data List"
|
|
383
|
+
}
|
|
384
|
+
],
|
|
353
385
|
"DescribeEngineUsageInfo": [
|
|
354
386
|
{
|
|
355
387
|
"document": "This example shows you how to query the resource usage of a data engine.",
|
|
@@ -422,6 +454,14 @@
|
|
|
422
454
|
"title": "Example 1"
|
|
423
455
|
}
|
|
424
456
|
],
|
|
457
|
+
"DescribeSessionImageVersion": [
|
|
458
|
+
{
|
|
459
|
+
"document": "Current engine: DataEngine-b0jt6fvk\nThis example shows you how to choose machine-learning as the framework type.",
|
|
460
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSessionImageVersion\n<Common request parameters>\n\n{\n \"DataEngineId\": \"DataEngine-b0jt6fvk\",\n \"FrameworkType\": \"machine-learning\"\n}",
|
|
461
|
+
"output": "{\n \"Response\": {\n \"EngineSessionImages\": [\n {\n \"SparkImageId\": \"123e4567-e89b-12d3-a456-426614174001\",\n \"SparkImageTag\": \"ccr.ccs.tencentyun.com/dlc_cloud/tensorflow:dev-v20241218\",\n \"SparkImageType\": 1,\n \"SparkImageVersion\": \"tensorflow-v2.18.0\"\n },\n {\n \"SparkImageId\": \"1a2b3c4d-5e6f-7g8h-9i0j-k1l2m3n4o5p6\",\n \"SparkImageTag\": \"ccr.ccs.tencentyun.com/dlc_cloud/scikit-learn:dev-v20241218\",\n \"SparkImageType\": 1,\n \"SparkImageVersion\": \"scikit-learn-v1.6.0\"\n },\n {\n \"SparkImageId\": \"98765432-10fe-bcd1-9a8b-0123456789ab\",\n \"SparkImageTag\": \"ccr.ccs.tencentyun.com/dlc_cloud/pytorch:dev-v20241218\",\n \"SparkImageType\": 1,\n \"SparkImageVersion\": \"pytorch-v2.5.1\"\n }\n ],\n \"RequestId\": \"c06478c4-bbc6-4cec-934b-6f9e2ff121ae\"\n }\n}",
|
|
462
|
+
"title": "Built-In Image"
|
|
463
|
+
}
|
|
464
|
+
],
|
|
425
465
|
"DescribeSparkAppJob": [
|
|
426
466
|
{
|
|
427
467
|
"document": "This example shows you how to query the information of a Spark job.",
|
|
@@ -812,6 +852,14 @@
|
|
|
812
852
|
"title": "Updating the Result Bucket Configuration Information for the Specified Engine"
|
|
813
853
|
}
|
|
814
854
|
],
|
|
855
|
+
"UpdateDataMaskStrategy": [
|
|
856
|
+
{
|
|
857
|
+
"document": "",
|
|
858
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDataMaskStrategy\n<Common request parameters>\n\n{\n \"Strategy\": {\n \"StrategyId\": \"c82f17bd-f577-4930-a8ef-83b9647259b8\",\n \"StrategyName\": \"default_strategy\",\n \"StrategyType\": \"\",\n \"StrategyDesc\": \"\",\n \"Groups\": [\n {\n \"WorkGroupId\": 225249,\n \"StrategyType\": \"MASK_SHOW_LAST_4\"\n },\n {\n \"WorkGroupId\": 225237,\n \"StrategyType\": \"MASK_HASH\"\n }\n ]\n }\n}",
|
|
859
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0d2dc2eb-0a9c-483b-9454-e7e8db604507\"\n }\n}",
|
|
860
|
+
"title": "Updating Data Masking Policy"
|
|
861
|
+
}
|
|
862
|
+
],
|
|
815
863
|
"UpdateRowFilter": [
|
|
816
864
|
{
|
|
817
865
|
"document": " ",
|
tccli/services/dms/dms_client.py
CHANGED
|
@@ -27,7 +27,10 @@ def doSendTemplatedEmail(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 doSendTemplatedEmail(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 doSendEmail(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 doSendEmail(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]]
|