tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/configure.py +46 -1
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -3
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cdn/v20180606/api.json +5 -3
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +54 -4
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +73 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +279 -9
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +10 -12
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2263 -758
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +293 -52
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -26,10 +26,10 @@
|
|
26
26
|
],
|
27
27
|
"CreateAICall": [
|
28
28
|
{
|
29
|
-
"document": "",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"Callee\": \"008612300000000\",\n \"SdkAppId\": 1400000000,\n \"SystemPrompt\": \"
|
29
|
+
"document": "本示例模拟某医院调用大模型对手术出院患者家长进行电话随访调查。",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"Callee\": \"008612300000000\",\n \"SdkAppId\": 1400000000,\n \"SystemPrompt\": \"你是人民医院友善、和蔼的的随访医生李医生,正在给患者小明的家长打电话。\",\n \"WelcomeMessage\": \"您好\",\n \"LLMType\": \"openai\",\n \"Model\": \"gpt-4o-mini\",\n \"APIKey\": \"sk-proj-xxxxx\",\n \"APIUrl\": \"https://api.openai.com/v1/\",\n \"VoiceType\": \"ZhiXi\",\n \"EndFunctionEnable\": true\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"SessionId\": \"6bb56a09278740bc80c5dc6dab783eff\"\n }\n}",
|
32
|
-
"title": "创建
|
32
|
+
"title": "创建AI通话示例(患者随访场景)"
|
33
33
|
}
|
34
34
|
],
|
35
35
|
"CreateAdminURL": [
|
@@ -124,7 +124,7 @@
|
|
124
124
|
{
|
125
125
|
"document": "创建客服示例",
|
126
126
|
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStaff\n<公共请求参数>\n\n{\n \"Staffs\": [\n {\n \"Phone\": \"联系电话\",\n \"Mail\": \"联系人邮箱\",\n \"StaffNumber\": \"001\",\n \"Name\": \"小军\"\n }\n ],\n \"SdkAppId\": 1400000000\n}",
|
127
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"ErrorStaffList\":
|
127
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"ErrorStaffList\": []\n }\n}",
|
128
128
|
"title": "创建客服示例"
|
129
129
|
}
|
130
130
|
],
|
@@ -156,7 +156,7 @@
|
|
156
156
|
{
|
157
157
|
"document": "",
|
158
158
|
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStaff\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000000,\n \"StaffList\": [\n \"staff1@xxx.com\",\n \"staff2@xxx.com\"\n ]\n}",
|
159
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"48edd236-7ef1-45af-9e12-fc376ba355bf\",\n \"OnlineStaffList\":
|
159
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"48edd236-7ef1-45af-9e12-fc376ba355bf\",\n \"OnlineStaffList\": []\n }\n}",
|
160
160
|
"title": "删除坐席信息示例"
|
161
161
|
}
|
162
162
|
],
|
@@ -164,7 +164,7 @@
|
|
164
164
|
{
|
165
165
|
"document": "查询生效的白名单规则",
|
166
166
|
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeActiveCarrierPrivilegeNumber\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000000\n}",
|
167
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ActiveCarrierPrivilegeNumbers\": [\n {\n \"SdkAppId\": 1,\n \"Caller\": \"
|
167
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ActiveCarrierPrivilegeNumbers\": [\n {\n \"SdkAppId\": 1,\n \"Caller\": \"008601012345678\",\n \"Callee\": \"008601012345679\",\n \"CreateTime\": 1729905740\n }\n ],\n \"PendingApplicantIds\": [\n 1\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
168
168
|
"title": "查询生效的白名单规则"
|
169
169
|
}
|
170
170
|
],
|
@@ -172,7 +172,7 @@
|
|
172
172
|
{
|
173
173
|
"document": "",
|
174
174
|
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoCalloutTask\n<公共请求参数>\n\n{\n \"SdkAppId\": 1,\n \"TaskId\": 2\n}",
|
175
|
-
"output": "{\n \"Response\": {\n \"IvrId\": 1,\n \"Name\": \"foobar\",\n \"NotBefore\":
|
175
|
+
"output": "{\n \"Response\": {\n \"IvrId\": 1,\n \"Name\": \"foobar\",\n \"NotBefore\": 1729905740,\n \"NotAfter\": 1729905750,\n \"State\": 1,\n \"Callers\": [\n \"008610086\"\n ],\n \"RequestId\": \"foobar\",\n \"Callees\": [\n {\n \"State\": 1,\n \"Callee\": \"foobar\",\n \"Sessions\": [\n \"foobar\"\n ]\n }\n ],\n \"Description\": \"foobar\"\n }\n}",
|
176
176
|
"title": "查询任务"
|
177
177
|
}
|
178
178
|
],
|
@@ -188,7 +188,7 @@
|
|
188
188
|
{
|
189
189
|
"document": "",
|
190
190
|
"input": "https://ccc.tencentcloudapi.com/?Action=DescribeCCCBuyInfoList\n&SdkAppIds.0=1400000000\n&<公共请求参数>",
|
191
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"SdkAppIdBuyList\": [\n {\n \"SdkAppId\": 1400000000,\n \"Name\": \"
|
191
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"SdkAppIdBuyList\": [\n {\n \"SdkAppId\": 1400000000,\n \"Name\": \"客服中心\",\n \"StaffBuyNum\": 0,\n \"StaffBuyList\": [\n {\n \"Num\": 0,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825,\n \"SipNum\": 0\n }\n ],\n \"PhoneNumBuyList\": [\n {\n \"PhoneNum\": \"1809268888\",\n \"Type\": 0,\n \"CallType\": 0,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825,\n \"State\": 0\n }\n ],\n \"SipBuyNum\": 0\n }\n ],\n \"PackageBuyList\": [\n {\n \"PackageId\": \"d6253538\",\n \"Type\": 0,\n \"CapacitySize\": 0,\n \"CapacityRemain\": 0,\n \"EndTime\": 1623988825,\n \"BuyTime\": 1613988825\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
192
192
|
"title": "获取用户购买信息列表示例"
|
193
193
|
}
|
194
194
|
],
|
@@ -196,7 +196,7 @@
|
|
196
196
|
{
|
197
197
|
"document": "获取呼入实时数据统计指标实例。",
|
198
198
|
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCallInMetrics\n<公共请求参数>\n\n{\n \"EnabledNumber\": true,\n \"EnabledSkillGroup\": true,\n \"SdkAppId\": 0\n}",
|
199
|
-
"output": "{\n \"Response\": {\n \"Timestamp\": 0,\n \"TotalMetrics\": {\n \"IvrCount\": 0,\n \"QueueCount\": 0,\n \"RingCount\": 0,\n \"AcceptCount\": 0,\n \"TransferOuterCount\": 0,\n \"MaxQueueDuration\": 0,\n \"AvgQueueDuration\": 0,\n \"MaxRingDuration\": 0,\n \"AvgRingDuration\": 0,\n \"MaxAcceptDuration\": 0,\n \"AvgAcceptDuration\": 0\n },\n \"NumberMetrics\": [\n {\n \"Number\": \"
|
199
|
+
"output": "{\n \"Response\": {\n \"Timestamp\": 0,\n \"TotalMetrics\": {\n \"IvrCount\": 0,\n \"QueueCount\": 0,\n \"RingCount\": 0,\n \"AcceptCount\": 0,\n \"TransferOuterCount\": 0,\n \"MaxQueueDuration\": 0,\n \"AvgQueueDuration\": 0,\n \"MaxRingDuration\": 0,\n \"AvgRingDuration\": 0,\n \"MaxAcceptDuration\": 0,\n \"AvgAcceptDuration\": 0\n },\n \"NumberMetrics\": [\n {\n \"Number\": \"0218888888\",\n \"Metrics\": {\n \"IvrCount\": 0,\n \"QueueCount\": 0,\n \"RingCount\": 0,\n \"AcceptCount\": 0,\n \"TransferOuterCount\": 0,\n \"MaxQueueDuration\": 0,\n \"AvgQueueDuration\": 0,\n \"MaxRingDuration\": 0,\n \"AvgRingDuration\": 0,\n \"MaxAcceptDuration\": 0,\n \"AvgAcceptDuration\": 0\n },\n \"SkillGroupMetrics\": [\n {\n \"SkillGroupId\": 0,\n \"Metrics\": {\n \"IvrCount\": 0,\n \"QueueCount\": 0,\n \"RingCount\": 0,\n \"AcceptCount\": 0,\n \"TransferOuterCount\": 0,\n \"MaxQueueDuration\": 0,\n \"AvgQueueDuration\": 0,\n \"MaxRingDuration\": 0,\n \"AvgRingDuration\": 0,\n \"MaxAcceptDuration\": 0,\n \"AvgAcceptDuration\": 0\n },\n \"Name\": \"客服一组\"\n }\n ]\n }\n ],\n \"SkillGroupMetrics\": [\n {\n \"SkillGroupId\": 0,\n \"Name\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
200
200
|
"title": "获取呼入实时数据统计指标实例"
|
201
201
|
}
|
202
202
|
],
|
@@ -244,7 +244,7 @@
|
|
244
244
|
{
|
245
245
|
"document": "获取包括全媒体和文本会话两种类型的服务记录",
|
246
246
|
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIMCdrs\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000000,\n \"StartTimestamp\": 1603877878,\n \"EndTimestamp\": 1603877879\n}",
|
247
|
-
"output": "{\n \"Response\": {\n \"IMCdrList\": [\n {\n \"Id\": \"12933\",\n \"Duration\": 100,\n \"EndStatus\": 1,\n \"Nickname\": \"bar\",\n \"Type\": 2,\n \"StaffId\": \"foo@tencent.com\",\n \"Timestamp\": 1632814604,\n \"SessionId\": \"87fa1d7a-4194-4f2a-83dc-d7c293411720\",\n \"SkillGroupId\": \"1001\",\n \"SkillGroupName\": \"bar\",\n \"Satisfaction\": {\n \"Id\": 1,\n \"Label\": \"满意\"\n }\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"66fa1d7a-4194-4f2a-73dc-d7c293411890\"\n }\n}",
|
247
|
+
"output": "{\n \"Response\": {\n \"IMCdrList\": [\n {\n \"Id\": \"12933\",\n \"Duration\": 100,\n \"EndStatus\": 1,\n \"Nickname\": \"bar\",\n \"Type\": 2,\n \"StaffId\": \"foo@tencent.com\",\n \"Timestamp\": 1632814604,\n \"SessionId\": \"87fa1d7a-4194-4f2a-83dc-d7c293411720\",\n \"SkillGroupId\": \"1001\",\n \"SkillGroupName\": \"bar\",\n \"Satisfaction\": {\n \"Id\": 1,\n \"Label\": \"满意\"\n },\n \"ClientUserId\": \"8b997a86199ac962210017263\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"66fa1d7a-4194-4f2a-73dc-d7c293411890\"\n }\n}",
|
248
248
|
"title": "查询在线客服记录示例"
|
249
249
|
}
|
250
250
|
],
|
@@ -259,8 +259,8 @@
|
|
259
259
|
"DescribeIvrAudioList": [
|
260
260
|
{
|
261
261
|
"document": "",
|
262
|
-
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIvrAudioList\n<公共请求参数>\n\n{\n \"SdkAppId\": 160000000,\n \"CustomFileName\": [\n \"
|
263
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"FileInfo\": [\n {\n \"FileId\": 1,\n \"CustomFileName\": \"
|
262
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIvrAudioList\n<公共请求参数>\n\n{\n \"SdkAppId\": 160000000,\n \"CustomFileName\": [\n \"测试文件名\"\n ],\n \"AudioFileName\": [],\n \"FileId\": [],\n \"PageSize\": 1,\n \"PageNumber\": 0\n}",
|
263
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"FileInfo\": [\n {\n \"FileId\": 1,\n \"CustomFileName\": \"测试文件名\",\n \"AudioFileName\": \"a.mp3\",\n \"Status\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
264
264
|
"title": "查询IVR音频文件列表示例"
|
265
265
|
}
|
266
266
|
],
|
@@ -308,7 +308,7 @@
|
|
308
308
|
{
|
309
309
|
"document": "",
|
310
310
|
"input": "https://ccc.tencentcloudapi.com/?Action=DescribeProtectedTelCdr\n&SdkAppId=1400000000\n&StartTimeStamp=1590547606\n&EndTimeStamp=1590147606\n&PageSize=10\n&PageNumber=0\n&<公共请求参数>",
|
311
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
311
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TelCdrList\": [\n {\n \"AcceptTimestamp\": 1729756307,\n \"AsrStatus\": \"Complete\",\n \"AsrUrl\": \"https://xxxxxx\",\n \"Callee\": \"\",\n \"Caller\": \"\",\n \"CallerLocation\": \"广东深圳固话\",\n \"CustomRecordURL\": \"https://xxxxxxxx.mp3\",\n \"Direction\": 0,\n \"Duration\": 8,\n \"EndStatus\": 1,\n \"EndStatusString\": \"ok\",\n \"EndedTimestamp\": 1729756315,\n \"HungUpSide\": \"seat\",\n \"IVRDuration\": 15,\n \"IVRKeyPressed\": [\n \"香蕉\"\n ],\n \"IVRKeyPressedEx\": [\n {\n \"Key\": \"香蕉\",\n \"Label\": \"香蕉\",\n \"NodeLabel\": \"语音识别导航\",\n \"OriginalContent\": \"香蕉。\",\n \"TTSPrompt\": \"输入您喜欢吃的水果\",\n \"Timestamp\": 1729756303211\n }\n ],\n \"PostIVRKeyPressed\": [\n {\n \"Key\": \"1\",\n \"Label\": \"不满意\",\n \"NodeLabel\": \"\",\n \"OriginalContent\": \"\",\n \"TTSPrompt\": \"\",\n \"Timestamp\": 0\n }\n ],\n \"ProtectedCallee\": \"ABABABABA\",\n \"ProtectedCaller\": \"CDCDCDCDC\",\n \"QueuedSkillGroupId\": 2522,\n \"QueuedSkillGroupName\": \"test-tel\",\n \"QueuedTimestamp\": 1729756306,\n \"RecordId\": \"e9fdbff5-2e35-4480-83f7-81917e723fa5\",\n \"RecordURL\": \"https://xxxxxxx.mp3\",\n \"Remark\": \"skillGroupId--34588\",\n \"RingTimestamp\": 1729756306,\n \"SeatUser\": {\n \"Mail\": \"xxxxxxx@tencent.com\",\n \"Name\": \"xiaoming\",\n \"Nick\": \"guanjia\",\n \"Phone\": \"00861580000000\",\n \"SkillGroupNameList\": [\n \"1539\",\n \"2522\",\n \"3551\"\n ],\n \"StaffNumber\": \"20012\",\n \"UserId\": \"xxxxxxx@tencent.com\"\n },\n \"ServeParticipants\": [\n {\n \"AcceptTimestamp\": 1729756306,\n \"CustomRecordURL\": \"https://xxxxx.mp3\",\n \"EndStatusString\": \"ok\",\n \"EndedTimestamp\": 1729756312,\n \"Mail\": \"xxxxxx@tencent.com\",\n \"Phone\": \"\",\n \"RecordId\": \"96eaa575-be4c-48f1-99b8-9722f2f816ec\",\n \"RecordURL\": \"https://xxxxxx.mp3\",\n \"RingTimestamp\": 1729756306,\n \"Sequence\": 0,\n \"SkillGroupId\": 2522,\n \"SkillGroupName\": \"test-tel\",\n \"StartTimestamp\": 1729756306,\n \"TransferFrom\": \"\",\n \"TransferFromType\": \"\",\n \"TransferTo\": \"\",\n \"TransferToType\": \"\",\n \"Type\": \"staffSeat\"\n }\n ],\n \"SessionId\": \"0955de87-c86d-4457-aac2-bee3d0a0b67a\",\n \"SkillGroup\": \"test-tel\",\n \"SkillGroupId\": 2522,\n \"StartTimestamp\": 1729756291,\n \"Time\": 1729756291,\n \"UUI\": \"\",\n \"Uui\": \"\",\n \"VoicemailAsrURL\": [],\n \"VoicemailRecordURL\": []\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
312
312
|
"title": "获取主被叫受保护的电话话单示例"
|
313
313
|
}
|
314
314
|
],
|
@@ -332,7 +332,7 @@
|
|
332
332
|
{
|
333
333
|
"document": "获取坐席实时状态统计指标示例。",
|
334
334
|
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStaffStatusMetrics\n<公共请求参数>\n\n{\n \"SdkAppId\": 0,\n \"StaffList\": [\n \"aaa@abc.com\"\n ],\n \"GroupIdList\": [\n 0\n ],\n \"StatusList\": [\n \"free\"\n ]\n}",
|
335
|
-
"output": "{\n \"Response\": {\n \"Metrics\": [\n {\n \"Email\": \"aaa@abc.com\",\n \"Status\": \"free\",\n \"StatusExtra\": {\n \"Type\": \"tel\",\n \"Direct\": \"callin\"\n },\n \"OnlineDuration\": 0,\n \"FreeDuration\": 0,\n \"BusyDuration\": 0,\n \"NotReadyDuration\": 0,\n \"RestDuration\": 0,\n \"AfterCallWorkDuration\": 0,\n \"Reason\": \"
|
335
|
+
"output": "{\n \"Response\": {\n \"Metrics\": [\n {\n \"Email\": \"aaa@abc.com\",\n \"Status\": \"free\",\n \"StatusExtra\": {\n \"Type\": \"tel\",\n \"Direct\": \"callin\"\n },\n \"OnlineDuration\": 0,\n \"FreeDuration\": 0,\n \"BusyDuration\": 0,\n \"NotReadyDuration\": 0,\n \"RestDuration\": 0,\n \"AfterCallWorkDuration\": 0,\n \"Reason\": \"会议\",\n \"ReserveRest\": true,\n \"ReserveNotReady\": true,\n \"UseMobileAccept\": 0,\n \"UseMobileCallOut\": true,\n \"LastOnlineTimestamp\": 0,\n \"LastStatusTimestamp\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
336
336
|
"title": "获取坐席实时状态统计指标示例"
|
337
337
|
}
|
338
338
|
],
|
@@ -348,10 +348,18 @@
|
|
348
348
|
{
|
349
349
|
"document": "",
|
350
350
|
"input": "https://ccc.tencentcloudapi.com/?Action=DescribeTelCdr\n&SdkAppId=1400000000\n&StartTimeStamp=1590547606\n&EndTimeStamp=1590147606\n&PageSize=10\n&PageNumber=0\n&<公共请求参数>",
|
351
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
351
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TelCdrList\": [\n {\n \"AcceptTimestamp\": 1729756307,\n \"AsrStatus\": \"Complete\",\n \"AsrUrl\": \"https://xxxxxx\",\n \"Callee\": \"00860200000000\",\n \"Caller\": \"0086075500000\",\n \"CallerLocation\": \"广东深圳固话\",\n \"CustomRecordURL\": \"https://xxxxxxxx.mp3\",\n \"Direction\": 0,\n \"Duration\": 8,\n \"EndStatus\": 1,\n \"EndStatusString\": \"ok\",\n \"EndedTimestamp\": 1729756315,\n \"HungUpSide\": \"seat\",\n \"IVRDuration\": 15,\n \"IVRKeyPressed\": [\n \"香蕉\"\n ],\n \"IVRKeyPressedEx\": [\n {\n \"Key\": \"香蕉\",\n \"Label\": \"香蕉\",\n \"NodeLabel\": \"语音识别导航\",\n \"OriginalContent\": \"香蕉。\",\n \"TTSPrompt\": \"输入您喜欢吃的水果\",\n \"Timestamp\": 1729756303211\n }\n ],\n \"PostIVRKeyPressed\": [\n {\n \"Key\": \"1\",\n \"Label\": \"不满意\",\n \"NodeLabel\": \"\",\n \"OriginalContent\": \"\",\n \"TTSPrompt\": \"\",\n \"Timestamp\": 0\n }\n ],\n \"ProtectedCallee\": \"\",\n \"ProtectedCaller\": \"\",\n \"QueuedSkillGroupId\": 2522,\n \"QueuedSkillGroupName\": \"test-tel\",\n \"QueuedTimestamp\": 1729756306,\n \"RecordId\": \"e9fdbff5-2e35-4480-83f7-81917e723fa5\",\n \"RecordURL\": \"https://xxxxxxx.mp3\",\n \"Remark\": \"skillGroupId--34588\",\n \"RingTimestamp\": 1729756306,\n \"SeatUser\": {\n \"Mail\": \"xxxxxxx@tencent.com\",\n \"Name\": \"xiaoming\",\n \"Nick\": \"guanjia\",\n \"Phone\": \"00861580000000\",\n \"SkillGroupNameList\": [\n \"1539\",\n \"2522\",\n \"3551\"\n ],\n \"StaffNumber\": \"20012\",\n \"UserId\": \"xxxxxxx@tencent.com\"\n },\n \"ServeParticipants\": [\n {\n \"AcceptTimestamp\": 1729756306,\n \"CustomRecordURL\": \"https://xxxxx.mp3\",\n \"EndStatusString\": \"ok\",\n \"EndedTimestamp\": 1729756312,\n \"Mail\": \"xxxxxx@tencent.com\",\n \"Phone\": \"\",\n \"RecordId\": \"96eaa575-be4c-48f1-99b8-9722f2f816ec\",\n \"RecordURL\": \"https://xxxxxx.mp3\",\n \"RingTimestamp\": 1729756306,\n \"Sequence\": 0,\n \"SkillGroupId\": 2522,\n \"SkillGroupName\": \"test-tel\",\n \"StartTimestamp\": 1729756306,\n \"TransferFrom\": \"\",\n \"TransferFromType\": \"\",\n \"TransferTo\": \"\",\n \"TransferToType\": \"\",\n \"Type\": \"staffSeat\"\n }\n ],\n \"SessionId\": \"0955de87-c86d-4457-aac2-bee3d0a0b67a\",\n \"SkillGroup\": \"test-tel\",\n \"SkillGroupId\": 2522,\n \"StartTimestamp\": 1729756291,\n \"Time\": 1729756291,\n \"UUI\": \"\",\n \"Uui\": \"\",\n \"VoicemailAsrURL\": [],\n \"VoicemailRecordURL\": []\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
352
352
|
"title": "获取电话话单示例"
|
353
353
|
}
|
354
354
|
],
|
355
|
+
"DescribeTelRecordAsr": [
|
356
|
+
{
|
357
|
+
"document": "",
|
358
|
+
"input": "https://ccc.tencentcloudapi.com/?Action=DescribeTelRecordAsr\n&SdkAppId=1400000000\n&SessionId=6bb56a09-2787-40bc-80c5-dc6dab783eff\n&<公共请求参数>",
|
359
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"AsrDataList\": [\n {\n \"User\": \"foo@tencent.com\",\n \"Message\": \"测试会话\",\n \"Start\": 1729697242236,\n \"End\": 1729697245426\n }\n ]\n }\n}",
|
360
|
+
"title": "拉取录音信息"
|
361
|
+
}
|
362
|
+
],
|
355
363
|
"DescribeTelSession": [
|
356
364
|
{
|
357
365
|
"document": "",
|
@@ -443,7 +451,7 @@
|
|
443
451
|
"StopAutoCalloutTask": [
|
444
452
|
{
|
445
453
|
"document": "",
|
446
|
-
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopAutoCalloutTask\n<公共请求参数>\n\n{\n \"SdkAppId\":
|
454
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopAutoCalloutTask\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000000,\n \"TaskId\": 1\n}",
|
447
455
|
"output": "{\n \"Response\": {\n \"RequestId\": \"xxx\"\n }\n}",
|
448
456
|
"title": "停止任务"
|
449
457
|
}
|
@@ -467,7 +475,7 @@
|
|
467
475
|
"UpdateCCCSkillGroup": [
|
468
476
|
{
|
469
477
|
"document": "",
|
470
|
-
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCCCSkillGroup\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000,\n \"SkillGroupID\": 1234,\n \"SkillGroupName\": \"
|
478
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCCCSkillGroup\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400000,\n \"SkillGroupID\": 1234,\n \"SkillGroupName\": \"客户一组\",\n \"MaxConcurrency\": 1,\n \"RingAll\": true\n}",
|
471
479
|
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
472
480
|
"title": "更新技能组信息"
|
473
481
|
}
|
@@ -483,7 +491,7 @@
|
|
483
491
|
"UploadIvrAudio": [
|
484
492
|
{
|
485
493
|
"document": "",
|
486
|
-
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UploadIvrAudio\n<公共请求参数>\n\n{\n \"SdkAppId\":
|
494
|
+
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UploadIvrAudio\n<公共请求参数>\n\n{\n \"SdkAppId\": 140000000,\n \"AudioList\": [\n {\n \"CustomFileName\": \"测试文件名\",\n \"AudioUrl\": \"http://xxxx.com/a.mp3\"\n }\n ]\n}",
|
487
495
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a\",\n \"FailedFileList\": [],\n \"SuccessFileList\": [\n {\n \"AudioFileName\": \"business_id_pic5.mp3\",\n \"CustomFileName\": \"1231\",\n \"FileId\": 50,\n \"Status\": 0\n },\n {\n \"AudioFileName\": \"business_id_pic6.mp3\",\n \"CustomFileName\": \"4561\",\n \"FileId\": 51,\n \"Status\": 0\n }\n ]\n }\n}",
|
488
496
|
"title": "上传IVR音频文件"
|
489
497
|
}
|
tccli/services/cdb/cdb_client.py
CHANGED
@@ -7401,7 +7401,7 @@ def doModifyCdbProxyAddressVipAndVPort(args, parsed_globals):
|
|
7401
7401
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7402
7402
|
|
7403
7403
|
|
7404
|
-
def
|
7404
|
+
def doOpenSSL(args, parsed_globals):
|
7405
7405
|
g_param = parse_global_arg(parsed_globals)
|
7406
7406
|
|
7407
7407
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -7430,11 +7430,11 @@ def doInitDBInstances(args, parsed_globals):
|
|
7430
7430
|
client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
|
7431
7431
|
client._sdkVersion += ("_CLI_" + __version__)
|
7432
7432
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7433
|
-
model = models.
|
7433
|
+
model = models.OpenSSLRequest()
|
7434
7434
|
model.from_json_string(json.dumps(args))
|
7435
7435
|
start_time = time.time()
|
7436
7436
|
while True:
|
7437
|
-
rsp = client.
|
7437
|
+
rsp = client.OpenSSL(model)
|
7438
7438
|
result = rsp.to_json_string()
|
7439
7439
|
try:
|
7440
7440
|
json_obj = json.loads(result)
|
@@ -7453,7 +7453,7 @@ def doInitDBInstances(args, parsed_globals):
|
|
7453
7453
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7454
7454
|
|
7455
7455
|
|
7456
|
-
def
|
7456
|
+
def doDescribeAuditRuleTemplateModifyHistory(args, parsed_globals):
|
7457
7457
|
g_param = parse_global_arg(parsed_globals)
|
7458
7458
|
|
7459
7459
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -7482,11 +7482,11 @@ def doOpenSSL(args, parsed_globals):
|
|
7482
7482
|
client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
|
7483
7483
|
client._sdkVersion += ("_CLI_" + __version__)
|
7484
7484
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7485
|
-
model = models.
|
7485
|
+
model = models.DescribeAuditRuleTemplateModifyHistoryRequest()
|
7486
7486
|
model.from_json_string(json.dumps(args))
|
7487
7487
|
start_time = time.time()
|
7488
7488
|
while True:
|
7489
|
-
rsp = client.
|
7489
|
+
rsp = client.DescribeAuditRuleTemplateModifyHistory(model)
|
7490
7490
|
result = rsp.to_json_string()
|
7491
7491
|
try:
|
7492
7492
|
json_obj = json.loads(result)
|
@@ -7505,7 +7505,7 @@ def doOpenSSL(args, parsed_globals):
|
|
7505
7505
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7506
7506
|
|
7507
7507
|
|
7508
|
-
def
|
7508
|
+
def doCreateCdbProxy(args, parsed_globals):
|
7509
7509
|
g_param = parse_global_arg(parsed_globals)
|
7510
7510
|
|
7511
7511
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -7534,11 +7534,11 @@ def doDescribeAuditRuleTemplateModifyHistory(args, parsed_globals):
|
|
7534
7534
|
client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
|
7535
7535
|
client._sdkVersion += ("_CLI_" + __version__)
|
7536
7536
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7537
|
-
model = models.
|
7537
|
+
model = models.CreateCdbProxyRequest()
|
7538
7538
|
model.from_json_string(json.dumps(args))
|
7539
7539
|
start_time = time.time()
|
7540
7540
|
while True:
|
7541
|
-
rsp = client.
|
7541
|
+
rsp = client.CreateCdbProxy(model)
|
7542
7542
|
result = rsp.to_json_string()
|
7543
7543
|
try:
|
7544
7544
|
json_obj = json.loads(result)
|
@@ -7557,7 +7557,7 @@ def doDescribeAuditRuleTemplateModifyHistory(args, parsed_globals):
|
|
7557
7557
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7558
7558
|
|
7559
7559
|
|
7560
|
-
def
|
7560
|
+
def doModifyDBInstanceReadOnlyStatus(args, parsed_globals):
|
7561
7561
|
g_param = parse_global_arg(parsed_globals)
|
7562
7562
|
|
7563
7563
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -7586,11 +7586,11 @@ def doCreateCdbProxy(args, parsed_globals):
|
|
7586
7586
|
client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
|
7587
7587
|
client._sdkVersion += ("_CLI_" + __version__)
|
7588
7588
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7589
|
-
model = models.
|
7589
|
+
model = models.ModifyDBInstanceReadOnlyStatusRequest()
|
7590
7590
|
model.from_json_string(json.dumps(args))
|
7591
7591
|
start_time = time.time()
|
7592
7592
|
while True:
|
7593
|
-
rsp = client.
|
7593
|
+
rsp = client.ModifyDBInstanceReadOnlyStatus(model)
|
7594
7594
|
result = rsp.to_json_string()
|
7595
7595
|
try:
|
7596
7596
|
json_obj = json.loads(result)
|
@@ -9010,10 +9010,10 @@ ACTION_MAP = {
|
|
9010
9010
|
"DescribeAuditRules": doDescribeAuditRules,
|
9011
9011
|
"DescribeRemoteBackupConfig": doDescribeRemoteBackupConfig,
|
9012
9012
|
"ModifyCdbProxyAddressVipAndVPort": doModifyCdbProxyAddressVipAndVPort,
|
9013
|
-
"InitDBInstances": doInitDBInstances,
|
9014
9013
|
"OpenSSL": doOpenSSL,
|
9015
9014
|
"DescribeAuditRuleTemplateModifyHistory": doDescribeAuditRuleTemplateModifyHistory,
|
9016
9015
|
"CreateCdbProxy": doCreateCdbProxy,
|
9016
|
+
"ModifyDBInstanceReadOnlyStatus": doModifyDBInstanceReadOnlyStatus,
|
9017
9017
|
"ModifyAutoRenewFlag": doModifyAutoRenewFlag,
|
9018
9018
|
"SwitchCDBProxy": doSwitchCDBProxy,
|
9019
9019
|
"ModifyAuditService": doModifyAuditService,
|