tencentcloud-sdk-python 3.0.1491__py2.py3-none-any.whl → 3.1.6__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aai/v20180522/aai_client_async.py +100 -0
- tencentcloud/aca/v20210323/aca_client_async.py +170 -0
- tencentcloud/acp/v20220105/acp_client_async.py +170 -0
- tencentcloud/advisor/v20200721/advisor_client_async.py +62 -0
- tencentcloud/af/v20200226/af_client_async.py +86 -0
- tencentcloud/afc/v20200226/afc_client_async.py +82 -0
- tencentcloud/ags/v20250920/ags_client_async.py +243 -0
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +102 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +513 -0
- tencentcloud/ame/v20190916/ame_client_async.py +586 -0
- tencentcloud/ams/v20200608/ams_client_async.py +179 -0
- tencentcloud/ams/v20201229/ams_client_async.py +169 -0
- tencentcloud/anicloud/v20220923/anicloud_client_async.py +80 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +1718 -0
- tencentcloud/ape/v20200513/ape_client_async.py +170 -0
- tencentcloud/api/v20201106/api_client_async.py +80 -0
- tencentcloud/apigateway/v20180808/apigateway_client_async.py +1830 -0
- tencentcloud/apm/v20210622/apm_client_async.py +495 -0
- tencentcloud/asr/v20190614/asr_client_async.py +647 -0
- tencentcloud/asw/v20200722/asw_client_async.py +188 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1230 -0
- tencentcloud/autoscaling/v20180419/models.py +36 -0
- tencentcloud/ba/v20200720/ba_client_async.py +81 -0
- tencentcloud/batch/v20170312/batch_client_async.py +582 -0
- tencentcloud/bda/v20200324/bda_client_async.py +116 -0
- tencentcloud/bh/v20230418/bh_client.py +230 -0
- tencentcloud/bh/v20230418/bh_client_async.py +1844 -0
- tencentcloud/bh/v20230418/models.py +1677 -216
- tencentcloud/bi/v20220105/bi_client_async.py +548 -0
- tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
- tencentcloud/bizlive/v20190313/bizlive_client_async.py +134 -0
- tencentcloud/bm/v20180423/bm_client_async.py +1012 -0
- tencentcloud/bma/v20210624/bma_client_async.py +530 -0
- tencentcloud/bma/v20221115/bma_client_async.py +224 -0
- tencentcloud/bmeip/v20180625/bmeip_client_async.py +386 -0
- tencentcloud/bmlb/v20180625/bmlb_client_async.py +908 -0
- tencentcloud/bmvpc/v20180625/bmvpc_client_async.py +1171 -0
- tencentcloud/bpaas/v20181217/bpaas_client_async.py +62 -0
- tencentcloud/bri/v20190328/bri_client_async.py +58 -0
- tencentcloud/bsca/v20210811/bsca_client_async.py +152 -0
- tencentcloud/btoe/v20210303/btoe_client_async.py +267 -0
- tencentcloud/btoe/v20210514/btoe_client_async.py +287 -0
- tencentcloud/ca/v20230228/ca_client_async.py +80 -0
- tencentcloud/cam/v20190116/cam_client_async.py +1684 -0
- tencentcloud/captcha/v20190722/captcha_client_async.py +350 -0
- tencentcloud/car/v20220110/car_client_async.py +134 -0
- tencentcloud/cat/v20180409/cat_client_async.py +279 -0
- tencentcloud/cbs/v20170312/cbs_client_async.py +959 -0
- tencentcloud/ccc/v20200210/ccc_client_async.py +1494 -0
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client_async.py +3254 -0
- tencentcloud/cdb/v20170320/models.py +74 -44
- tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
- tencentcloud/cdn/v20180606/cdn_client_async.py +1090 -0
- tencentcloud/cds/v20180420/cds_client_async.py +116 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +548 -0
- tencentcloud/cdwch/v20200915/models.py +34 -4
- tencentcloud/cdwdoris/v20211228/cdwdoris_client_async.py +1106 -0
- tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +458 -0
- tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
- tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
- tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
- tencentcloud/cfs/v20190719/models.py +40 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
- tencentcloud/cfw/v20190904/models.py +784 -8
- tencentcloud/chc/v20230418/chc_client_async.py +710 -0
- tencentcloud/chdfs/v20190718/chdfs_client_async.py +546 -0
- tencentcloud/chdfs/v20201112/chdfs_client_async.py +548 -0
- tencentcloud/ciam/v20220331/ciam_client_async.py +440 -0
- tencentcloud/cii/v20201210/cii_client_async.py +80 -0
- tencentcloud/cii/v20210408/cii_client_async.py +262 -0
- tencentcloud/cim/v20190318/cim_client_async.py +44 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +92 -0
- tencentcloud/ckafka/v20190819/ckafka_client_async.py +1701 -0
- tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
- tencentcloud/ckafka/v20190819/models.py +741 -62
- tencentcloud/clb/v20180317/clb_client_async.py +1683 -0
- tencentcloud/cloudapp/v20220530/cloudapp_client_async.py +175 -0
- tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
- tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
- tencentcloud/cloudhsm/v20191112/models.py +49 -0
- tencentcloud/cloudstudio/v20230508/cloudstudio_client_async.py +188 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/cls_client_async.py +2362 -0
- tencentcloud/cls/v20201016/models.py +1427 -74
- tencentcloud/cme/v20191029/cme_client_async.py +983 -0
- tencentcloud/cmq/v20190304/cmq_client_async.py +62 -0
- tencentcloud/cms/v20190321/cms_client_async.py +134 -0
- tencentcloud/common/abstract_client_async.py +654 -0
- tencentcloud/common/common_client_async.py +45 -0
- tencentcloud/common/http/request_async.py +62 -0
- tencentcloud/common/retry_async.py +87 -0
- tencentcloud/config/v20220802/config_client_async.py +152 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
- tencentcloud/cpdp/v20190820/cpdp_client_async.py +3979 -0
- tencentcloud/csip/v20221121/csip_client.py +1 -1
- tencentcloud/csip/v20221121/csip_client_async.py +1502 -0
- tencentcloud/csip/v20221121/models.py +105 -0
- tencentcloud/csxg/v20230303/csxg_client_async.py +116 -0
- tencentcloud/ctem/v20231128/ctem_client.py +644 -0
- tencentcloud/ctem/v20231128/ctem_client_async.py +1124 -0
- tencentcloud/ctem/v20231128/models.py +4999 -711
- tencentcloud/ctsdb/v20230202/ctsdb_client_async.py +69 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +2025 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +14 -14
- tencentcloud/cwp/v20180228/cwp_client_async.py +9288 -0
- tencentcloud/cws/v20180312/cws_client_async.py +368 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +3068 -0
- tencentcloud/cynosdb/v20190107/models.py +99 -2
- tencentcloud/dasb/v20191018/dasb_client_async.py +1160 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +224 -0
- tencentcloud/dataagent/v20250513/models.py +15 -0
- tencentcloud/dayu/v20180709/dayu_client_async.py +2042 -0
- tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +530 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +1538 -0
- tencentcloud/dbbrain/v20210527/models.py +463 -12
- tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
- tencentcloud/dc/v20180410/dc_client_async.py +425 -0
- tencentcloud/dcdb/v20180411/dcdb_client_async.py +1541 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +3322 -0
- tencentcloud/dlc/v20210125/errorcodes.py +9 -0
- tencentcloud/dlc/v20210125/models.py +1424 -17
- tencentcloud/dnspod/v20210323/dnspod_client_async.py +1710 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +2 -2
- tencentcloud/domain/v20180808/domain_client_async.py +1022 -0
- tencentcloud/drm/v20181115/drm_client_async.py +231 -0
- tencentcloud/ds/v20180523/ds_client_async.py +244 -0
- tencentcloud/dsgc/v20190723/dsgc_client_async.py +2452 -0
- tencentcloud/dsgc/v20190723/models.py +36 -36
- tencentcloud/dts/v20180330/dts_client_async.py +438 -0
- tencentcloud/dts/v20211206/dts_client.py +184 -0
- tencentcloud/dts/v20211206/dts_client_async.py +1480 -0
- tencentcloud/dts/v20211206/models.py +1275 -98
- tencentcloud/eb/v20210416/eb_client_async.py +602 -0
- tencentcloud/ecc/v20181213/ecc_client_async.py +100 -0
- tencentcloud/ecdn/v20191012/ecdn_client_async.py +162 -0
- tencentcloud/ecm/v20190719/ecm_client_async.py +2602 -0
- tencentcloud/eiam/v20210420/eiam_client_async.py +782 -0
- tencentcloud/eis/v20200715/eis_client_async.py +80 -0
- tencentcloud/eis/v20210601/eis_client_async.py +116 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/emr_client_async.py +1659 -0
- tencentcloud/emr/v20190103/models.py +395 -0
- tencentcloud/es/v20180416/es_client_async.py +1209 -0
- tencentcloud/es/v20250101/es_client.py +6 -5
- tencentcloud/es/v20250101/es_client_async.py +216 -0
- tencentcloud/es/v20250101/models.py +6 -6
- tencentcloud/ess/v20201111/ess_client.py +6 -2
- tencentcloud/ess/v20201111/ess_client_async.py +3406 -0
- tencentcloud/ess/v20201111/models.py +468 -19
- tencentcloud/essbasic/v20201222/essbasic_client_async.py +1029 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +2757 -0
- tencentcloud/essbasic/v20210526/models.py +320 -6
- tencentcloud/evt/__init__.py +0 -0
- tencentcloud/evt/v20250217/__init__.py +0 -0
- tencentcloud/evt/v20250217/errorcodes.py +15 -0
- tencentcloud/evt/v20250217/evt_client.py +49 -0
- tencentcloud/evt/v20250217/evt_client_async.py +44 -0
- tencentcloud/evt/v20250217/models.py +228 -0
- tencentcloud/facefusion/v20181201/facefusion_client_async.py +86 -0
- tencentcloud/facefusion/v20220927/facefusion_client_async.py +83 -0
- tencentcloud/faceid/v20180301/errorcodes.py +0 -6
- tencentcloud/faceid/v20180301/faceid_client.py +0 -23
- tencentcloud/faceid/v20180301/faceid_client_async.py +674 -0
- tencentcloud/faceid/v20180301/models.py +45 -195
- tencentcloud/fmu/v20191213/fmu_client_async.py +161 -0
- tencentcloud/ft/v20200304/ft_client_async.py +134 -0
- tencentcloud/gaap/v20180529/gaap_client_async.py +1865 -0
- tencentcloud/gme/v20180711/gme_client_async.py +865 -0
- tencentcloud/goosefs/v20220519/goosefs_client_async.py +514 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
- tencentcloud/gs/v20191118/models.py +227 -0
- tencentcloud/gwlb/v20240906/gwlb_client_async.py +373 -0
- tencentcloud/habo/v20181203/habo_client_async.py +62 -0
- tencentcloud/hai/v20230812/hai_client_async.py +316 -0
- tencentcloud/hasim/v20210716/hasim_client_async.py +422 -0
- tencentcloud/hcm/v20181106/hcm_client_async.py +44 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +469 -0
- tencentcloud/iai/v20180301/iai_client.py +0 -44
- tencentcloud/iai/v20180301/iai_client_async.py +728 -0
- tencentcloud/iai/v20180301/models.py +0 -171
- tencentcloud/iai/v20200303/iai_client.py +1 -35
- tencentcloud/iai/v20200303/iai_client_async.py +802 -0
- tencentcloud/iai/v20200303/models.py +0 -175
- tencentcloud/iap/v20240713/iap_client_async.py +134 -0
- tencentcloud/ic/v20190307/ic_client_async.py +193 -0
- tencentcloud/icr/v20211014/icr_client_async.py +44 -0
- tencentcloud/ie/v20200304/ie_client_async.py +206 -0
- tencentcloud/ig/v20210518/ig_client_async.py +44 -0
- tencentcloud/igtm/v20231024/igtm_client_async.py +494 -0
- tencentcloud/igtm/v20231024/models.py +110 -0
- tencentcloud/ims/v20200713/ims_client_async.py +60 -0
- tencentcloud/ims/v20201229/ims_client_async.py +132 -0
- tencentcloud/ioa/v20220601/ioa_client_async.py +512 -0
- tencentcloud/iot/v20180123/iot_client_async.py +838 -0
- tencentcloud/iotcloud/v20180614/iotcloud_client_async.py +1268 -0
- tencentcloud/iotcloud/v20210408/iotcloud_client_async.py +1340 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +3632 -0
- tencentcloud/iotexplorer/v20190423/models.py +1669 -337
- tencentcloud/iotvideo/v20191126/iotvideo_client_async.py +1278 -0
- tencentcloud/iotvideo/v20201215/iotvideo_client_async.py +1448 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client_async.py +1970 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client_async.py +1921 -0
- tencentcloud/irp/v20220324/irp_client_async.py +98 -0
- tencentcloud/irp/v20220805/irp_client_async.py +152 -0
- tencentcloud/iss/v20230517/iss_client_async.py +1686 -0
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/ivld/v20210903/ivld_client_async.py +636 -0
- tencentcloud/keewidb/v20220308/keewidb_client_async.py +711 -0
- tencentcloud/kms/v20190118/kms_client_async.py +1252 -0
- tencentcloud/lcic/v20220817/lcic_client_async.py +1331 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +2331 -0
- tencentcloud/live/v20180801/live_client.py +0 -25
- tencentcloud/live/v20180801/live_client_async.py +3758 -0
- tencentcloud/live/v20180801/models.py +0 -282
- tencentcloud/lke/v20231130/lke_client_async.py +1923 -0
- tencentcloud/lke/v20231130/models.py +82 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -13
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +618 -0
- tencentcloud/lowcode/v20210108/lowcode_client_async.py +332 -0
- tencentcloud/mall/v20230518/mall_client_async.py +44 -0
- tencentcloud/mariadb/v20170312/mariadb_client_async.py +1505 -0
- tencentcloud/market/v20191010/market_client_async.py +62 -0
- tencentcloud/memcached/v20190318/memcached_client_async.py +44 -0
- tencentcloud/mmps/v20200710/mmps_client_async.py +296 -0
- tencentcloud/mna/v20210119/mna_client_async.py +764 -0
- tencentcloud/mongodb/v20180408/mongodb_client_async.py +260 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +390 -2
- tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
- tencentcloud/mongodb/v20190725/mongodb_client_async.py +1220 -0
- tencentcloud/monitor/v20180724/monitor_client_async.py +3099 -0
- tencentcloud/monitor/v20230616/monitor_client_async.py +44 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +2329 -290
- tencentcloud/mps/v20190612/mps_client.py +232 -0
- tencentcloud/mps/v20190612/mps_client_async.py +2729 -0
- tencentcloud/mqtt/v20240516/mqtt_client_async.py +1153 -0
- tencentcloud/mrs/v20200910/mrs_client_async.py +231 -0
- tencentcloud/ms/v20180408/ms_client_async.py +450 -0
- tencentcloud/msp/v20180319/msp_client_async.py +154 -0
- tencentcloud/nlp/v20190408/nlp_client_async.py +140 -0
- tencentcloud/npp/v20190823/npp_client_async.py +170 -0
- tencentcloud/oceanus/v20190422/oceanus_client_async.py +844 -0
- tencentcloud/ocr/v20181119/models.py +232 -0
- tencentcloud/ocr/v20181119/ocr_client_async.py +2228 -0
- tencentcloud/omics/v20221128/omics_client_async.py +386 -0
- tencentcloud/organization/v20181225/organization_client_async.py +386 -0
- tencentcloud/organization/v20210331/organization_client_async.py +2348 -0
- tencentcloud/partners/v20180321/partners_client_async.py +444 -0
- tencentcloud/postgres/v20170312/errorcodes.py +6 -0
- tencentcloud/postgres/v20170312/postgres_client_async.py +1908 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
- tencentcloud/privatedns/v20201028/models.py +783 -17
- tencentcloud/privatedns/v20201028/privatedns_client.py +93 -1
- tencentcloud/privatedns/v20201028/privatedns_client_async.py +746 -0
- tencentcloud/pts/v20210728/pts_client_async.py +890 -0
- tencentcloud/rce/v20201103/rce_client_async.py +224 -0
- tencentcloud/redis/v20180412/redis_client_async.py +2008 -0
- tencentcloud/region/v20220627/region_client_async.py +80 -0
- tencentcloud/rum/v20210622/rum_client_async.py +999 -0
- tencentcloud/scf/v20180416/errorcodes.py +6 -0
- tencentcloud/scf/v20180416/models.py +263 -0
- tencentcloud/scf/v20180416/scf_client_async.py +984 -0
- tencentcloud/securitylake/v20240117/securitylake_client_async.py +44 -0
- tencentcloud/ses/v20201002/ses_client_async.py +657 -0
- tencentcloud/smh/v20210712/smh_client_async.py +296 -0
- tencentcloud/smop/v20201203/smop_client_async.py +46 -0
- tencentcloud/sms/v20190711/sms_client_async.py +326 -0
- tencentcloud/sms/v20210111/sms_client_async.py +365 -0
- tencentcloud/soe/v20180724/soe_client_async.py +98 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client_async.py +2693 -0
- tencentcloud/ssa/v20180608/ssa_client_async.py +440 -0
- tencentcloud/ssl/v20191205/ssl_client_async.py +1257 -0
- tencentcloud/sslpod/v20190605/sslpod_client_async.py +206 -0
- tencentcloud/ssm/v20190923/ssm_client_async.py +468 -0
- tencentcloud/sts/v20180813/sts_client_async.py +205 -0
- tencentcloud/svp/v20240125/svp_client_async.py +116 -0
- tencentcloud/taf/v20200210/taf_client_async.py +44 -0
- tencentcloud/tag/v20180813/tag_client_async.py +584 -0
- tencentcloud/tat/v20201028/tat_client_async.py +565 -0
- tencentcloud/tbaas/v20180416/tbaas_client_async.py +458 -0
- tencentcloud/tbp/v20190311/tbp_client_async.py +98 -0
- tencentcloud/tbp/v20190627/tbp_client_async.py +62 -0
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +986 -0
- tencentcloud/tcb/v20180608/tcb_client_async.py +1632 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +206 -0
- tencentcloud/tccatalog/v20241024/tccatalog_client_async.py +98 -0
- tencentcloud/tchd/v20230306/tchd_client_async.py +65 -0
- tencentcloud/tcm/v20210413/tcm_client_async.py +242 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +2008 -0
- tencentcloud/tcss/v20201101/tcss_client_async.py +6169 -0
- tencentcloud/tdai/v20250717/models.py +55 -10
- tencentcloud/tdai/v20250717/tdai_client.py +1 -1
- tencentcloud/tdai/v20250717/tdai_client_async.py +350 -0
- tencentcloud/tdcpg/v20211118/tdcpg_client_async.py +482 -0
- tencentcloud/tdid/v20210519/tdid_client_async.py +353 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +636 -904
- tencentcloud/tdmq/v20200217/tdmq_client.py +44 -73
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +2732 -0
- tencentcloud/tds/v20220801/tds_client_async.py +116 -0
- tencentcloud/tem/v20201221/tem_client_async.py +332 -0
- tencentcloud/tem/v20210701/tem_client_async.py +949 -0
- tencentcloud/teo/v20220106/teo_client_async.py +120 -0
- tencentcloud/teo/v20220901/models.py +267 -4
- tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
- tencentcloud/thpc/v20211109/thpc_client_async.py +98 -0
- tencentcloud/thpc/v20220401/thpc_client_async.py +321 -0
- tencentcloud/thpc/v20230321/models.py +30 -0
- tencentcloud/thpc/v20230321/thpc_client_async.py +591 -0
- tencentcloud/tia/v20180226/tia_client_async.py +206 -0
- tencentcloud/tiia/v20190529/tiia_client_async.py +536 -0
- tencentcloud/tione/v20191022/tione_client_async.py +422 -0
- tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
- tencentcloud/tiw/v20190919/tiw_client_async.py +656 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +3129 -288
- tencentcloud/tke/v20180525/tke_client.py +414 -0
- tencentcloud/tke/v20180525/tke_client_async.py +4562 -0
- tencentcloud/tke/v20220501/tke_client_async.py +343 -0
- tencentcloud/tkgdq/v20190411/tkgdq_client_async.py +80 -0
- tencentcloud/tms/v20200713/tms_client_async.py +98 -0
- tencentcloud/tms/v20201229/tms_client_async.py +97 -0
- tencentcloud/tmt/v20180321/tmt_client_async.py +183 -0
- tencentcloud/tourism/v20230215/tourism_client_async.py +44 -0
- tencentcloud/trabbit/v20230418/trabbit_client_async.py +548 -0
- tencentcloud/trocket/v20230308/trocket_client_async.py +1390 -0
- tencentcloud/trp/v20210515/trp_client_async.py +1002 -0
- tencentcloud/trro/v20220325/trro_client_async.py +588 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +21 -6
- tencentcloud/trtc/v20190722/trtc_client.py +1 -0
- tencentcloud/trtc/v20190722/trtc_client_async.py +1516 -0
- tencentcloud/tse/v20201207/tse_client_async.py +2240 -0
- tencentcloud/tsf/v20180326/models.py +4 -4
- tencentcloud/tsf/v20180326/tsf_client_async.py +4143 -0
- tencentcloud/tsi/v20210325/tsi_client_async.py +104 -0
- tencentcloud/tsw/v20200924/tsw_client_async.py +44 -0
- tencentcloud/tsw/v20210412/tsw_client_async.py +80 -0
- tencentcloud/tts/v20190823/tts_client_async.py +107 -0
- tencentcloud/vcg/v20240404/vcg_client_async.py +62 -0
- tencentcloud/vclm/v20240523/errorcodes.py +27 -0
- tencentcloud/vclm/v20240523/models.py +415 -16
- tencentcloud/vclm/v20240523/vclm_client.py +47 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +263 -0
- tencentcloud/vcube/v20220410/models.py +98 -0
- tencentcloud/vcube/v20220410/vcube_client.py +46 -0
- tencentcloud/vcube/v20220410/vcube_client_async.py +674 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +278 -0
- tencentcloud/vm/v20200709/vm_client_async.py +120 -0
- tencentcloud/vm/v20201229/vm_client_async.py +139 -0
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client_async.py +148 -0
- tencentcloud/vms/v20200902/vms_client_async.py +62 -0
- tencentcloud/vod/v20180717/models.py +6 -2
- tencentcloud/vod/v20180717/vod_client_async.py +3712 -0
- tencentcloud/vod/v20240718/vod_client_async.py +160 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
- tencentcloud/vrs/v20200824/vrs_client_async.py +182 -0
- tencentcloud/vtc/v20240223/vtc_client_async.py +132 -0
- tencentcloud/waf/v20180125/models.py +3924 -0
- tencentcloud/waf/v20180125/waf_client.py +230 -0
- tencentcloud/waf/v20180125/waf_client_async.py +3542 -0
- tencentcloud/wav/v20210129/wav_client_async.py +494 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +5384 -0
- tencentcloud/wedata/v20250806/wedata_client_async.py +2168 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +1180 -0
- tencentcloud/wsa/v20250508/wsa_client_async.py +44 -0
- tencentcloud/wss/v20180426/wss_client_async.py +80 -0
- tencentcloud/yinsuda/v20220527/yinsuda_client_async.py +386 -0
- tencentcloud/yunjing/v20180228/yunjing_client_async.py +1826 -0
- tencentcloud/yunsou/v20180504/yunsou_client_async.py +62 -0
- tencentcloud/yunsou/v20191115/yunsou_client_async.py +62 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/METADATA +3 -1
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/RECORD +391 -103
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/top_level.txt +0 -0
|
@@ -9342,7 +9342,7 @@ class DescribeRecordPlaybackUrlRequest(AbstractModel):
|
|
|
9342
9342
|
:type EndTime: int
|
|
9343
9343
|
:param _IsInternal: 是否获取内网地址
|
|
9344
9344
|
:type IsInternal: bool
|
|
9345
|
-
:param _CorrectTimestamp:
|
|
9345
|
+
:param _CorrectTimestamp: 云录像回放时,是否需要开启时间戳矫正,主要解决时间戳反转、回退等问题导致无法播放
|
|
9346
9346
|
:type CorrectTimestamp: bool
|
|
9347
9347
|
"""
|
|
9348
9348
|
self._ChannelId = None
|
|
@@ -9397,7 +9397,7 @@ class DescribeRecordPlaybackUrlRequest(AbstractModel):
|
|
|
9397
9397
|
|
|
9398
9398
|
@property
|
|
9399
9399
|
def CorrectTimestamp(self):
|
|
9400
|
-
r"""
|
|
9400
|
+
r"""云录像回放时,是否需要开启时间戳矫正,主要解决时间戳反转、回退等问题导致无法播放
|
|
9401
9401
|
:rtype: bool
|
|
9402
9402
|
"""
|
|
9403
9403
|
return self._CorrectTimestamp
|
|
@@ -0,0 +1,636 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.ivld.v20210903 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class IvldClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2021-09-03'
|
|
25
|
+
_endpoint = 'ivld.tencentcloudapi.com'
|
|
26
|
+
_service = 'ivld'
|
|
27
|
+
|
|
28
|
+
async def AddCustomPersonImage(
|
|
29
|
+
self,
|
|
30
|
+
request: models.AddCustomPersonImageRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.AddCustomPersonImageResponse:
|
|
33
|
+
"""
|
|
34
|
+
增加自定义人脸图片,每个自定义人物最多可包含10张人脸图片
|
|
35
|
+
|
|
36
|
+
请注意,与创建自定义人物一样,图片数据优先级优于图片URL优先级
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
kwargs = {}
|
|
40
|
+
kwargs["action"] = "AddCustomPersonImage"
|
|
41
|
+
kwargs["params"] = request._serialize()
|
|
42
|
+
kwargs["resp_cls"] = models.AddCustomPersonImageResponse
|
|
43
|
+
kwargs["headers"] = request.headers
|
|
44
|
+
kwargs["opts"] = opts or {}
|
|
45
|
+
|
|
46
|
+
return await self.call_and_deserialize(**kwargs)
|
|
47
|
+
|
|
48
|
+
async def CreateCustomCategory(
|
|
49
|
+
self,
|
|
50
|
+
request: models.CreateCustomCategoryRequest,
|
|
51
|
+
opts: Dict = None,
|
|
52
|
+
) -> models.CreateCustomCategoryResponse:
|
|
53
|
+
"""
|
|
54
|
+
创建自定义人物分类信息
|
|
55
|
+
|
|
56
|
+
当L2Category为空时,将创建一级自定义分类。
|
|
57
|
+
当L1Category与L2Category均不为空时,将创建二级自定义分类。请注意,**只有当一级自定义分类存在时,才可创建二级自定义分类**。
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
kwargs = {}
|
|
61
|
+
kwargs["action"] = "CreateCustomCategory"
|
|
62
|
+
kwargs["params"] = request._serialize()
|
|
63
|
+
kwargs["resp_cls"] = models.CreateCustomCategoryResponse
|
|
64
|
+
kwargs["headers"] = request.headers
|
|
65
|
+
kwargs["opts"] = opts or {}
|
|
66
|
+
|
|
67
|
+
return await self.call_and_deserialize(**kwargs)
|
|
68
|
+
|
|
69
|
+
async def CreateCustomGroup(
|
|
70
|
+
self,
|
|
71
|
+
request: models.CreateCustomGroupRequest,
|
|
72
|
+
opts: Dict = None,
|
|
73
|
+
) -> models.CreateCustomGroupResponse:
|
|
74
|
+
"""
|
|
75
|
+
创建自定义人物库
|
|
76
|
+
|
|
77
|
+
Bucket的格式参考为 `bucketName-123456.cos.ap-shanghai.myqcloud.com`
|
|
78
|
+
|
|
79
|
+
在调用CreateCustomPerson和AddCustomPersonImage接口之前,请先确保本接口成功调用。当前每个用户只支持一个自定义人物库,一旦自定义人物库创建成功,后续接口调用均会返回人物库已存在错误。
|
|
80
|
+
|
|
81
|
+
由于人脸图片对于自定义人物识别至关重要,因此自定义人物识别功能需要用户显式指定COS存储桶方可使用。具体来说,自定义人物识别功能接口(主要是CreateCustomPerson和AddCustomPersonImage)会在此COS桶下面新建IVLDCustomPersonImage目录,并在此目录下存储自定义人物图片数据以支持后续潜在的特征更新。
|
|
82
|
+
|
|
83
|
+
请注意:本接口指定的COS桶仅用于**备份存储自定义人物图片**,CreateCustomPerson和AddCustomPersonImage接口入参URL可使用任意COS存储桶下的任意图片。
|
|
84
|
+
|
|
85
|
+
**重要**:请务必确保本接口指定的COS存储桶存在(不要手动删除COS桶)。COS存储桶一旦指定,将不能修改。
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
kwargs = {}
|
|
89
|
+
kwargs["action"] = "CreateCustomGroup"
|
|
90
|
+
kwargs["params"] = request._serialize()
|
|
91
|
+
kwargs["resp_cls"] = models.CreateCustomGroupResponse
|
|
92
|
+
kwargs["headers"] = request.headers
|
|
93
|
+
kwargs["opts"] = opts or {}
|
|
94
|
+
|
|
95
|
+
return await self.call_and_deserialize(**kwargs)
|
|
96
|
+
|
|
97
|
+
async def CreateCustomPerson(
|
|
98
|
+
self,
|
|
99
|
+
request: models.CreateCustomPersonRequest,
|
|
100
|
+
opts: Dict = None,
|
|
101
|
+
) -> models.CreateCustomPersonResponse:
|
|
102
|
+
"""
|
|
103
|
+
创建自定义人物。
|
|
104
|
+
|
|
105
|
+
输入人物名称,基本信息,分类信息与人脸图片,创建自定义人物
|
|
106
|
+
|
|
107
|
+
人脸图片可使用图片数据(base64编码的图片数据)或者图片URL(推荐使用COS以减少下载时间,其他地址也支持),原始图片优先,也即如果同时指定了图片数据和图片URL,接口将仅使用图片数据
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
kwargs = {}
|
|
111
|
+
kwargs["action"] = "CreateCustomPerson"
|
|
112
|
+
kwargs["params"] = request._serialize()
|
|
113
|
+
kwargs["resp_cls"] = models.CreateCustomPersonResponse
|
|
114
|
+
kwargs["headers"] = request.headers
|
|
115
|
+
kwargs["opts"] = opts or {}
|
|
116
|
+
|
|
117
|
+
return await self.call_and_deserialize(**kwargs)
|
|
118
|
+
|
|
119
|
+
async def CreateDefaultCategories(
|
|
120
|
+
self,
|
|
121
|
+
request: models.CreateDefaultCategoriesRequest,
|
|
122
|
+
opts: Dict = None,
|
|
123
|
+
) -> models.CreateDefaultCategoriesResponse:
|
|
124
|
+
"""
|
|
125
|
+
创建默认自定义人物类型
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
kwargs = {}
|
|
129
|
+
kwargs["action"] = "CreateDefaultCategories"
|
|
130
|
+
kwargs["params"] = request._serialize()
|
|
131
|
+
kwargs["resp_cls"] = models.CreateDefaultCategoriesResponse
|
|
132
|
+
kwargs["headers"] = request.headers
|
|
133
|
+
kwargs["opts"] = opts or {}
|
|
134
|
+
|
|
135
|
+
return await self.call_and_deserialize(**kwargs)
|
|
136
|
+
|
|
137
|
+
async def CreateTask(
|
|
138
|
+
self,
|
|
139
|
+
request: models.CreateTaskRequest,
|
|
140
|
+
opts: Dict = None,
|
|
141
|
+
) -> models.CreateTaskResponse:
|
|
142
|
+
"""
|
|
143
|
+
创建智能标签任务。
|
|
144
|
+
|
|
145
|
+
请注意,本接口为异步接口,**返回TaskId只代表任务创建成功,不代表任务执行成功**。
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
kwargs = {}
|
|
149
|
+
kwargs["action"] = "CreateTask"
|
|
150
|
+
kwargs["params"] = request._serialize()
|
|
151
|
+
kwargs["resp_cls"] = models.CreateTaskResponse
|
|
152
|
+
kwargs["headers"] = request.headers
|
|
153
|
+
kwargs["opts"] = opts or {}
|
|
154
|
+
|
|
155
|
+
return await self.call_and_deserialize(**kwargs)
|
|
156
|
+
|
|
157
|
+
async def CreateVideoSummaryTask(
|
|
158
|
+
self,
|
|
159
|
+
request: models.CreateVideoSummaryTaskRequest,
|
|
160
|
+
opts: Dict = None,
|
|
161
|
+
) -> models.CreateVideoSummaryTaskResponse:
|
|
162
|
+
"""
|
|
163
|
+
创建一个视频缩编任务。
|
|
164
|
+
|
|
165
|
+
### 回调事件消息通知协议
|
|
166
|
+
|
|
167
|
+
#### 网络协议
|
|
168
|
+
- 回调接口协议目前仅支持http/https协议;
|
|
169
|
+
- 请求:HTTP POST 请求,包体内容为 JSON,每一种消息的具体包体内容参见后文。
|
|
170
|
+
- 应答:HTTP STATUS CODE = 200,服务端忽略应答包具体内容,为了协议友好,建议客户应答内容携带 JSON: `{"code":0}`
|
|
171
|
+
|
|
172
|
+
#### 通知可靠性
|
|
173
|
+
|
|
174
|
+
事件通知服务具备重试能力,事件通知失败后会总计重试3次;
|
|
175
|
+
为了避免重试对您的服务器以及网络带宽造成冲击,请保持正常回包。触发重试条件如下:
|
|
176
|
+
- 长时间(5 秒)未回包应答。
|
|
177
|
+
- 应答 HTTP STATUS 不为200。
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
#### 回调接口协议
|
|
181
|
+
|
|
182
|
+
##### 分析任务完成消息回调
|
|
183
|
+
| 参数名称 | 必选 | 类型 | 描述 |
|
|
184
|
+
|---------|---------|---------|---------|
|
|
185
|
+
| TaskId | 是 | String | 任务ID |
|
|
186
|
+
| TaskStatus | 是 | Integer | 任务执行状态 |
|
|
187
|
+
| FailedReason | 是 | String | 若任务失败,该字段为失败原因 |
|
|
188
|
+
"""
|
|
189
|
+
|
|
190
|
+
kwargs = {}
|
|
191
|
+
kwargs["action"] = "CreateVideoSummaryTask"
|
|
192
|
+
kwargs["params"] = request._serialize()
|
|
193
|
+
kwargs["resp_cls"] = models.CreateVideoSummaryTaskResponse
|
|
194
|
+
kwargs["headers"] = request.headers
|
|
195
|
+
kwargs["opts"] = opts or {}
|
|
196
|
+
|
|
197
|
+
return await self.call_and_deserialize(**kwargs)
|
|
198
|
+
|
|
199
|
+
async def DeleteCustomCategory(
|
|
200
|
+
self,
|
|
201
|
+
request: models.DeleteCustomCategoryRequest,
|
|
202
|
+
opts: Dict = None,
|
|
203
|
+
) -> models.DeleteCustomCategoryResponse:
|
|
204
|
+
"""
|
|
205
|
+
删除自定义分类信息
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
kwargs = {}
|
|
209
|
+
kwargs["action"] = "DeleteCustomCategory"
|
|
210
|
+
kwargs["params"] = request._serialize()
|
|
211
|
+
kwargs["resp_cls"] = models.DeleteCustomCategoryResponse
|
|
212
|
+
kwargs["headers"] = request.headers
|
|
213
|
+
kwargs["opts"] = opts or {}
|
|
214
|
+
|
|
215
|
+
return await self.call_and_deserialize(**kwargs)
|
|
216
|
+
|
|
217
|
+
async def DeleteCustomPerson(
|
|
218
|
+
self,
|
|
219
|
+
request: models.DeleteCustomPersonRequest,
|
|
220
|
+
opts: Dict = None,
|
|
221
|
+
) -> models.DeleteCustomPersonResponse:
|
|
222
|
+
"""
|
|
223
|
+
删除自定义人物
|
|
224
|
+
"""
|
|
225
|
+
|
|
226
|
+
kwargs = {}
|
|
227
|
+
kwargs["action"] = "DeleteCustomPerson"
|
|
228
|
+
kwargs["params"] = request._serialize()
|
|
229
|
+
kwargs["resp_cls"] = models.DeleteCustomPersonResponse
|
|
230
|
+
kwargs["headers"] = request.headers
|
|
231
|
+
kwargs["opts"] = opts or {}
|
|
232
|
+
|
|
233
|
+
return await self.call_and_deserialize(**kwargs)
|
|
234
|
+
|
|
235
|
+
async def DeleteCustomPersonImage(
|
|
236
|
+
self,
|
|
237
|
+
request: models.DeleteCustomPersonImageRequest,
|
|
238
|
+
opts: Dict = None,
|
|
239
|
+
) -> models.DeleteCustomPersonImageResponse:
|
|
240
|
+
"""
|
|
241
|
+
删除自定义人脸数据
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
kwargs = {}
|
|
245
|
+
kwargs["action"] = "DeleteCustomPersonImage"
|
|
246
|
+
kwargs["params"] = request._serialize()
|
|
247
|
+
kwargs["resp_cls"] = models.DeleteCustomPersonImageResponse
|
|
248
|
+
kwargs["headers"] = request.headers
|
|
249
|
+
kwargs["opts"] = opts or {}
|
|
250
|
+
|
|
251
|
+
return await self.call_and_deserialize(**kwargs)
|
|
252
|
+
|
|
253
|
+
async def DeleteMedia(
|
|
254
|
+
self,
|
|
255
|
+
request: models.DeleteMediaRequest,
|
|
256
|
+
opts: Dict = None,
|
|
257
|
+
) -> models.DeleteMediaResponse:
|
|
258
|
+
"""
|
|
259
|
+
将MediaId对应的媒资文件从系统中删除。
|
|
260
|
+
|
|
261
|
+
**请注意,本接口仅删除媒资文件,媒资文件对应的视频分析结果不会被删除**。如您需要删除结构化分析结果,请调用DeleteTask接口。
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
kwargs = {}
|
|
265
|
+
kwargs["action"] = "DeleteMedia"
|
|
266
|
+
kwargs["params"] = request._serialize()
|
|
267
|
+
kwargs["resp_cls"] = models.DeleteMediaResponse
|
|
268
|
+
kwargs["headers"] = request.headers
|
|
269
|
+
kwargs["opts"] = opts or {}
|
|
270
|
+
|
|
271
|
+
return await self.call_and_deserialize(**kwargs)
|
|
272
|
+
|
|
273
|
+
async def DeleteTask(
|
|
274
|
+
self,
|
|
275
|
+
request: models.DeleteTaskRequest,
|
|
276
|
+
opts: Dict = None,
|
|
277
|
+
) -> models.DeleteTaskResponse:
|
|
278
|
+
"""
|
|
279
|
+
删除任务信息
|
|
280
|
+
|
|
281
|
+
请注意,本接口**不会**删除媒资文件
|
|
282
|
+
|
|
283
|
+
只有已完成(成功或者失败)的任务可以删除,**正在执行中的任务不支持删除**
|
|
284
|
+
"""
|
|
285
|
+
|
|
286
|
+
kwargs = {}
|
|
287
|
+
kwargs["action"] = "DeleteTask"
|
|
288
|
+
kwargs["params"] = request._serialize()
|
|
289
|
+
kwargs["resp_cls"] = models.DeleteTaskResponse
|
|
290
|
+
kwargs["headers"] = request.headers
|
|
291
|
+
kwargs["opts"] = opts or {}
|
|
292
|
+
|
|
293
|
+
return await self.call_and_deserialize(**kwargs)
|
|
294
|
+
|
|
295
|
+
async def DescribeCustomCategories(
|
|
296
|
+
self,
|
|
297
|
+
request: models.DescribeCustomCategoriesRequest,
|
|
298
|
+
opts: Dict = None,
|
|
299
|
+
) -> models.DescribeCustomCategoriesResponse:
|
|
300
|
+
"""
|
|
301
|
+
批量描述自定义人物分类信息
|
|
302
|
+
"""
|
|
303
|
+
|
|
304
|
+
kwargs = {}
|
|
305
|
+
kwargs["action"] = "DescribeCustomCategories"
|
|
306
|
+
kwargs["params"] = request._serialize()
|
|
307
|
+
kwargs["resp_cls"] = models.DescribeCustomCategoriesResponse
|
|
308
|
+
kwargs["headers"] = request.headers
|
|
309
|
+
kwargs["opts"] = opts or {}
|
|
310
|
+
|
|
311
|
+
return await self.call_and_deserialize(**kwargs)
|
|
312
|
+
|
|
313
|
+
async def DescribeCustomGroup(
|
|
314
|
+
self,
|
|
315
|
+
request: models.DescribeCustomGroupRequest,
|
|
316
|
+
opts: Dict = None,
|
|
317
|
+
) -> models.DescribeCustomGroupResponse:
|
|
318
|
+
"""
|
|
319
|
+
描述自定义人物库信息,当前库大小(库中有多少人脸),以及库中的存储桶
|
|
320
|
+
"""
|
|
321
|
+
|
|
322
|
+
kwargs = {}
|
|
323
|
+
kwargs["action"] = "DescribeCustomGroup"
|
|
324
|
+
kwargs["params"] = request._serialize()
|
|
325
|
+
kwargs["resp_cls"] = models.DescribeCustomGroupResponse
|
|
326
|
+
kwargs["headers"] = request.headers
|
|
327
|
+
kwargs["opts"] = opts or {}
|
|
328
|
+
|
|
329
|
+
return await self.call_and_deserialize(**kwargs)
|
|
330
|
+
|
|
331
|
+
async def DescribeCustomPersonDetail(
|
|
332
|
+
self,
|
|
333
|
+
request: models.DescribeCustomPersonDetailRequest,
|
|
334
|
+
opts: Dict = None,
|
|
335
|
+
) -> models.DescribeCustomPersonDetailResponse:
|
|
336
|
+
"""
|
|
337
|
+
描述自定义人物详细信息,包括人物信息与人物信息
|
|
338
|
+
"""
|
|
339
|
+
|
|
340
|
+
kwargs = {}
|
|
341
|
+
kwargs["action"] = "DescribeCustomPersonDetail"
|
|
342
|
+
kwargs["params"] = request._serialize()
|
|
343
|
+
kwargs["resp_cls"] = models.DescribeCustomPersonDetailResponse
|
|
344
|
+
kwargs["headers"] = request.headers
|
|
345
|
+
kwargs["opts"] = opts or {}
|
|
346
|
+
|
|
347
|
+
return await self.call_and_deserialize(**kwargs)
|
|
348
|
+
|
|
349
|
+
async def DescribeCustomPersons(
|
|
350
|
+
self,
|
|
351
|
+
request: models.DescribeCustomPersonsRequest,
|
|
352
|
+
opts: Dict = None,
|
|
353
|
+
) -> models.DescribeCustomPersonsResponse:
|
|
354
|
+
"""
|
|
355
|
+
批量描述自定义人物
|
|
356
|
+
"""
|
|
357
|
+
|
|
358
|
+
kwargs = {}
|
|
359
|
+
kwargs["action"] = "DescribeCustomPersons"
|
|
360
|
+
kwargs["params"] = request._serialize()
|
|
361
|
+
kwargs["resp_cls"] = models.DescribeCustomPersonsResponse
|
|
362
|
+
kwargs["headers"] = request.headers
|
|
363
|
+
kwargs["opts"] = opts or {}
|
|
364
|
+
|
|
365
|
+
return await self.call_and_deserialize(**kwargs)
|
|
366
|
+
|
|
367
|
+
async def DescribeMedia(
|
|
368
|
+
self,
|
|
369
|
+
request: models.DescribeMediaRequest,
|
|
370
|
+
opts: Dict = None,
|
|
371
|
+
) -> models.DescribeMediaResponse:
|
|
372
|
+
"""
|
|
373
|
+
描述媒资文件信息,包括媒资状态,分辨率,帧率等。
|
|
374
|
+
|
|
375
|
+
如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。
|
|
376
|
+
"""
|
|
377
|
+
|
|
378
|
+
kwargs = {}
|
|
379
|
+
kwargs["action"] = "DescribeMedia"
|
|
380
|
+
kwargs["params"] = request._serialize()
|
|
381
|
+
kwargs["resp_cls"] = models.DescribeMediaResponse
|
|
382
|
+
kwargs["headers"] = request.headers
|
|
383
|
+
kwargs["opts"] = opts or {}
|
|
384
|
+
|
|
385
|
+
return await self.call_and_deserialize(**kwargs)
|
|
386
|
+
|
|
387
|
+
async def DescribeMedias(
|
|
388
|
+
self,
|
|
389
|
+
request: models.DescribeMediasRequest,
|
|
390
|
+
opts: Dict = None,
|
|
391
|
+
) -> models.DescribeMediasResponse:
|
|
392
|
+
"""
|
|
393
|
+
依照输入条件,描述命中的媒资文件信息,包括媒资状态,分辨率,帧率等。
|
|
394
|
+
|
|
395
|
+
请注意,本接口最多支持同时描述**50**个媒资文件
|
|
396
|
+
|
|
397
|
+
如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。
|
|
398
|
+
"""
|
|
399
|
+
|
|
400
|
+
kwargs = {}
|
|
401
|
+
kwargs["action"] = "DescribeMedias"
|
|
402
|
+
kwargs["params"] = request._serialize()
|
|
403
|
+
kwargs["resp_cls"] = models.DescribeMediasResponse
|
|
404
|
+
kwargs["headers"] = request.headers
|
|
405
|
+
kwargs["opts"] = opts or {}
|
|
406
|
+
|
|
407
|
+
return await self.call_and_deserialize(**kwargs)
|
|
408
|
+
|
|
409
|
+
async def DescribeTask(
|
|
410
|
+
self,
|
|
411
|
+
request: models.DescribeTaskRequest,
|
|
412
|
+
opts: Dict = None,
|
|
413
|
+
) -> models.DescribeTaskResponse:
|
|
414
|
+
"""
|
|
415
|
+
描述智能标签任务进度。
|
|
416
|
+
|
|
417
|
+
请注意,**此接口仅返回任务执行状态信息,不返回任务执行结果**
|
|
418
|
+
"""
|
|
419
|
+
|
|
420
|
+
kwargs = {}
|
|
421
|
+
kwargs["action"] = "DescribeTask"
|
|
422
|
+
kwargs["params"] = request._serialize()
|
|
423
|
+
kwargs["resp_cls"] = models.DescribeTaskResponse
|
|
424
|
+
kwargs["headers"] = request.headers
|
|
425
|
+
kwargs["opts"] = opts or {}
|
|
426
|
+
|
|
427
|
+
return await self.call_and_deserialize(**kwargs)
|
|
428
|
+
|
|
429
|
+
async def DescribeTaskDetail(
|
|
430
|
+
self,
|
|
431
|
+
request: models.DescribeTaskDetailRequest,
|
|
432
|
+
opts: Dict = None,
|
|
433
|
+
) -> models.DescribeTaskDetailResponse:
|
|
434
|
+
"""
|
|
435
|
+
描述任务信息,如果任务成功完成,还将返回任务结果
|
|
436
|
+
"""
|
|
437
|
+
|
|
438
|
+
kwargs = {}
|
|
439
|
+
kwargs["action"] = "DescribeTaskDetail"
|
|
440
|
+
kwargs["params"] = request._serialize()
|
|
441
|
+
kwargs["resp_cls"] = models.DescribeTaskDetailResponse
|
|
442
|
+
kwargs["headers"] = request.headers
|
|
443
|
+
kwargs["opts"] = opts or {}
|
|
444
|
+
|
|
445
|
+
return await self.call_and_deserialize(**kwargs)
|
|
446
|
+
|
|
447
|
+
async def DescribeTasks(
|
|
448
|
+
self,
|
|
449
|
+
request: models.DescribeTasksRequest,
|
|
450
|
+
opts: Dict = None,
|
|
451
|
+
) -> models.DescribeTasksResponse:
|
|
452
|
+
"""
|
|
453
|
+
依照输入条件,描述命中的任务信息,包括任务创建时间,处理时间信息等。
|
|
454
|
+
|
|
455
|
+
请注意,本接口最多支持同时描述**50**个任务信息
|
|
456
|
+
"""
|
|
457
|
+
|
|
458
|
+
kwargs = {}
|
|
459
|
+
kwargs["action"] = "DescribeTasks"
|
|
460
|
+
kwargs["params"] = request._serialize()
|
|
461
|
+
kwargs["resp_cls"] = models.DescribeTasksResponse
|
|
462
|
+
kwargs["headers"] = request.headers
|
|
463
|
+
kwargs["opts"] = opts or {}
|
|
464
|
+
|
|
465
|
+
return await self.call_and_deserialize(**kwargs)
|
|
466
|
+
|
|
467
|
+
async def DescribeUsageAmount(
|
|
468
|
+
self,
|
|
469
|
+
request: models.DescribeUsageAmountRequest,
|
|
470
|
+
opts: Dict = None,
|
|
471
|
+
) -> models.DescribeUsageAmountResponse:
|
|
472
|
+
"""
|
|
473
|
+
获取用户资源使用量
|
|
474
|
+
"""
|
|
475
|
+
|
|
476
|
+
kwargs = {}
|
|
477
|
+
kwargs["action"] = "DescribeUsageAmount"
|
|
478
|
+
kwargs["params"] = request._serialize()
|
|
479
|
+
kwargs["resp_cls"] = models.DescribeUsageAmountResponse
|
|
480
|
+
kwargs["headers"] = request.headers
|
|
481
|
+
kwargs["opts"] = opts or {}
|
|
482
|
+
|
|
483
|
+
return await self.call_and_deserialize(**kwargs)
|
|
484
|
+
|
|
485
|
+
async def DescribeVideoSummaryDetail(
|
|
486
|
+
self,
|
|
487
|
+
request: models.DescribeVideoSummaryDetailRequest,
|
|
488
|
+
opts: Dict = None,
|
|
489
|
+
) -> models.DescribeVideoSummaryDetailResponse:
|
|
490
|
+
"""
|
|
491
|
+
描述任务信息,如果任务成功完成,还将返回任务结果
|
|
492
|
+
"""
|
|
493
|
+
|
|
494
|
+
kwargs = {}
|
|
495
|
+
kwargs["action"] = "DescribeVideoSummaryDetail"
|
|
496
|
+
kwargs["params"] = request._serialize()
|
|
497
|
+
kwargs["resp_cls"] = models.DescribeVideoSummaryDetailResponse
|
|
498
|
+
kwargs["headers"] = request.headers
|
|
499
|
+
kwargs["opts"] = opts or {}
|
|
500
|
+
|
|
501
|
+
return await self.call_and_deserialize(**kwargs)
|
|
502
|
+
|
|
503
|
+
async def ImportMedia(
|
|
504
|
+
self,
|
|
505
|
+
request: models.ImportMediaRequest,
|
|
506
|
+
opts: Dict = None,
|
|
507
|
+
) -> models.ImportMediaResponse:
|
|
508
|
+
"""
|
|
509
|
+
将URL指向的媒资视频文件导入系统之中。
|
|
510
|
+
|
|
511
|
+
**请注意,本接口为异步接口**。接口返回MediaId仅代表导入视频任务发起,不代表任务完成,您可调用读接口(DescribeMedia/DescribeMedias)接口查询MediaId
|
|
512
|
+
|
|
513
|
+
URL字段推荐您使用COS地址,其形式为`https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${ObjectKey}`,其中`${Bucket}`为您的COS桶名称,Region为COS桶所在[可用区](https://cloud.tencent.com/document/product/213/6091),`${ObjectKey}`为指向存储在COS桶内的待分析的视频的[ObjectKey](https://cloud.tencent.com/document/product/436/13324)
|
|
514
|
+
|
|
515
|
+
另外,目前产品也支持使用外部URL地址,但是当传入URL为非COS地址时,需要您指定额外的WriteBackCosPath以供产品回写结果数据。
|
|
516
|
+
|
|
517
|
+
分析完成后,本产品将在您的`${Bucket}`桶内创建名为`${ObjectKey}_${task-create-time}`的目录(`task-create-time`形式为1970-01-01T08:08:08)并将分析结果将回传回该目录,也即,结构化分析结果(包括图片,JSON等数据)将会写回`https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${ObjectKey}_${task-create-time}`目录
|
|
518
|
+
"""
|
|
519
|
+
|
|
520
|
+
kwargs = {}
|
|
521
|
+
kwargs["action"] = "ImportMedia"
|
|
522
|
+
kwargs["params"] = request._serialize()
|
|
523
|
+
kwargs["resp_cls"] = models.ImportMediaResponse
|
|
524
|
+
kwargs["headers"] = request.headers
|
|
525
|
+
kwargs["opts"] = opts or {}
|
|
526
|
+
|
|
527
|
+
return await self.call_and_deserialize(**kwargs)
|
|
528
|
+
|
|
529
|
+
async def ModifyCallback(
|
|
530
|
+
self,
|
|
531
|
+
request: models.ModifyCallbackRequest,
|
|
532
|
+
opts: Dict = None,
|
|
533
|
+
) -> models.ModifyCallbackResponse:
|
|
534
|
+
"""
|
|
535
|
+
用户设置对应事件的回调地址
|
|
536
|
+
|
|
537
|
+
### 回调事件消息通知协议
|
|
538
|
+
|
|
539
|
+
#### 网络协议
|
|
540
|
+
- 回调接口协议目前仅支持http/https协议;
|
|
541
|
+
- 请求:HTTP POST 请求,包体内容为 JSON,每一种消息的具体包体内容参见后文。
|
|
542
|
+
- 应答:HTTP STATUS CODE = 200,服务端忽略应答包具体内容,为了协议友好,建议客户应答内容携带 JSON: `{"code":0}`
|
|
543
|
+
|
|
544
|
+
#### 通知可靠性
|
|
545
|
+
|
|
546
|
+
事件通知服务具备重试能力,事件通知失败后会总计重试3次;
|
|
547
|
+
为了避免重试对您的服务器以及网络带宽造成冲击,请保持正常回包。触发重试条件如下:
|
|
548
|
+
- 长时间(5 秒)未回包应答。
|
|
549
|
+
- 应答 HTTP STATUS 不为200。
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
#### 回调接口协议
|
|
553
|
+
|
|
554
|
+
##### 分析任务完成消息回调
|
|
555
|
+
| 参数名称 | 必选 | 类型 | 描述 |
|
|
556
|
+
|---------|---------|---------|---------|
|
|
557
|
+
| EventType | 是 | int | 回调时间类型,1-任务分析完成,2-媒资导入完成 |
|
|
558
|
+
| TaskId | 是 | String | 任务ID |
|
|
559
|
+
| TaskStatus | 是 | [TaskStatus](/document/product/1509/65063#TaskInfo) | 任务执行状态 |
|
|
560
|
+
| FailedReason | 是 | String | 若任务失败,该字段为失败原因 |
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
##### 导入媒资完成消息回调
|
|
564
|
+
| 参数名称 | 必选 | 类型 | 描述 |
|
|
565
|
+
|---------|---------|---------|---------|
|
|
566
|
+
| EventType | 是 | int | 回调时间类型,1-任务分析完成,2-媒资导入完成 |
|
|
567
|
+
| MediaId | 是 | String | 媒资ID |
|
|
568
|
+
| MediaStatus | 是 | [MediaStatus](/document/product/1509/65063#MediaInfo) | 媒资导入状态|
|
|
569
|
+
| FailedReason | 是 | String | 若任务失败,该字段为失败原因 |
|
|
570
|
+
"""
|
|
571
|
+
|
|
572
|
+
kwargs = {}
|
|
573
|
+
kwargs["action"] = "ModifyCallback"
|
|
574
|
+
kwargs["params"] = request._serialize()
|
|
575
|
+
kwargs["resp_cls"] = models.ModifyCallbackResponse
|
|
576
|
+
kwargs["headers"] = request.headers
|
|
577
|
+
kwargs["opts"] = opts or {}
|
|
578
|
+
|
|
579
|
+
return await self.call_and_deserialize(**kwargs)
|
|
580
|
+
|
|
581
|
+
async def QueryCallback(
|
|
582
|
+
self,
|
|
583
|
+
request: models.QueryCallbackRequest,
|
|
584
|
+
opts: Dict = None,
|
|
585
|
+
) -> models.QueryCallbackResponse:
|
|
586
|
+
"""
|
|
587
|
+
查询用户回调设置
|
|
588
|
+
"""
|
|
589
|
+
|
|
590
|
+
kwargs = {}
|
|
591
|
+
kwargs["action"] = "QueryCallback"
|
|
592
|
+
kwargs["params"] = request._serialize()
|
|
593
|
+
kwargs["resp_cls"] = models.QueryCallbackResponse
|
|
594
|
+
kwargs["headers"] = request.headers
|
|
595
|
+
kwargs["opts"] = opts or {}
|
|
596
|
+
|
|
597
|
+
return await self.call_and_deserialize(**kwargs)
|
|
598
|
+
|
|
599
|
+
async def UpdateCustomCategory(
|
|
600
|
+
self,
|
|
601
|
+
request: models.UpdateCustomCategoryRequest,
|
|
602
|
+
opts: Dict = None,
|
|
603
|
+
) -> models.UpdateCustomCategoryResponse:
|
|
604
|
+
"""
|
|
605
|
+
更新自定义人物分类
|
|
606
|
+
|
|
607
|
+
当L2Category为空时,代表更新CategoryId对应的一级自定义人物类型以及所有二级自定义人物类型所从属的一级自定义人物类型;
|
|
608
|
+
当L2Category非空时,仅更新CategoryId对应的二级自定义人物类型
|
|
609
|
+
"""
|
|
610
|
+
|
|
611
|
+
kwargs = {}
|
|
612
|
+
kwargs["action"] = "UpdateCustomCategory"
|
|
613
|
+
kwargs["params"] = request._serialize()
|
|
614
|
+
kwargs["resp_cls"] = models.UpdateCustomCategoryResponse
|
|
615
|
+
kwargs["headers"] = request.headers
|
|
616
|
+
kwargs["opts"] = opts or {}
|
|
617
|
+
|
|
618
|
+
return await self.call_and_deserialize(**kwargs)
|
|
619
|
+
|
|
620
|
+
async def UpdateCustomPerson(
|
|
621
|
+
self,
|
|
622
|
+
request: models.UpdateCustomPersonRequest,
|
|
623
|
+
opts: Dict = None,
|
|
624
|
+
) -> models.UpdateCustomPersonResponse:
|
|
625
|
+
"""
|
|
626
|
+
更新自定义人物信息,包括姓名,简要信息,分类信息等
|
|
627
|
+
"""
|
|
628
|
+
|
|
629
|
+
kwargs = {}
|
|
630
|
+
kwargs["action"] = "UpdateCustomPerson"
|
|
631
|
+
kwargs["params"] = request._serialize()
|
|
632
|
+
kwargs["resp_cls"] = models.UpdateCustomPersonResponse
|
|
633
|
+
kwargs["headers"] = request.headers
|
|
634
|
+
kwargs["opts"] = opts or {}
|
|
635
|
+
|
|
636
|
+
return await self.call_and_deserialize(**kwargs)
|