tencentcloud-sdk-nodejs 4.0.671 → 4.0.673
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.
- package/CHANGELOG.md +696 -0
- package/SERVICE_CHANGELOG.md +1041 -122
- package/package.json +5 -3
- package/products.md +26 -26
- package/src/common/http/http_connection.ts +4 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/common/sign.ts +4 -1
- package/src/services/aa/v20200224/aa_models.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +11 -11
- package/src/services/ape/v20200513/ape_models.ts +2 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +1 -1
- package/src/services/apm/v20210622/apm_models.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +3 -1
- package/src/services/batch/v20170312/batch_client.ts +1 -0
- package/src/services/batch/v20170312/batch_models.ts +17 -1
- package/src/services/bda/v20200324/bda_models.ts +3 -3
- package/src/services/billing/v20180709/billing_models.ts +3 -3
- package/src/services/bm/v20180423/bm_models.ts +8 -8
- package/src/services/bma/v20210624/bma_models.ts +1 -1
- package/src/services/bmeip/v20180625/bmeip_models.ts +2 -2
- package/src/services/bmlb/v20180625/bmlb_models.ts +9 -9
- package/src/services/bmvpc/v20180625/bmvpc_models.ts +3 -3
- package/src/services/bpaas/v20181217/bpaas_models.ts +1 -1
- package/src/services/cam/v20190116/cam_models.ts +3 -3
- package/src/services/captcha/v20190722/captcha_models.ts +13 -13
- package/src/services/cat/v20180409/cat_models.ts +4 -4
- package/src/services/cbs/v20170312/cbs_models.ts +4 -4
- package/src/services/ccc/v20200210/ccc_models.ts +13 -13
- package/src/services/cdb/v20170320/cdb_models.ts +34 -34
- package/src/services/cdc/v20201214/cdc_models.ts +4 -4
- package/src/services/cdn/v20180606/cdn_models.ts +7 -7
- package/src/services/cfg/v20210820/cfg_models.ts +2 -2
- package/src/services/cfw/v20190904/cfw_models.ts +4 -4
- package/src/services/chdfs/v20190718/chdfs_models.ts +2 -2
- package/src/services/chdfs/v20201112/chdfs_models.ts +2 -2
- package/src/services/cim/v20190318/cim_models.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +13 -13
- package/src/services/clb/v20180317/clb_models.ts +2 -2
- package/src/services/cls/v20201016/cls_client.ts +12 -0
- package/src/services/cls/v20201016/cls_models.ts +68 -1
- package/src/services/cme/v20191029/cme_models.ts +1 -1
- package/src/services/cms/v20190321/cms_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +4 -4
- package/src/services/cwp/v20180228/cwp_models.ts +50 -50
- package/src/services/cws/v20180312/cws_models.ts +6 -6
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +7 -7
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +41 -41
- package/src/services/dasb/v20191018/dasb_models.ts +46 -46
- package/src/services/dayu/v20180709/dayu_models.ts +8 -8
- package/src/services/dbbrain/v20191016/dbbrain_models.ts +12 -12
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +21 -21
- package/src/services/dbdc/v20201029/dbdc_models.ts +6 -6
- package/src/services/dcdb/v20180411/dcdb_models.ts +9 -9
- package/src/services/dlc/v20210125/dlc_models.ts +3 -3
- package/src/services/dnspod/v20210323/dnspod_models.ts +4 -4
- package/src/services/domain/v20180808/domain_models.ts +2 -2
- package/src/services/dsgc/v20190723/dsgc_client.ts +1900 -7
- package/src/services/dsgc/v20190723/dsgc_models.ts +9111 -34
- package/src/services/dtf/v20200506/dtf_models.ts +1 -1
- package/src/services/ecc/v20181213/ecc_models.ts +2 -2
- package/src/services/ecdn/v20191012/ecdn_models.ts +2 -2
- package/src/services/ecm/v20190719/ecm_models.ts +4 -4
- package/src/services/emr/v20190103/emr_models.ts +5 -5
- package/src/services/es/v20180416/es_models.ts +3 -3
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +40 -16
- package/src/services/essbasic/v20210526/essbasic_models.ts +5 -5
- package/src/services/faceid/v20180301/faceid_models.ts +2 -2
- package/src/services/gaap/v20180529/gaap_models.ts +12 -12
- package/src/services/gme/v20180711/gme_models.ts +20 -2
- package/src/services/gse/v20191112/gse_models.ts +1 -1
- package/src/services/hasim/v20210716/hasim_models.ts +6 -6
- package/src/services/iai/v20180301/iai_models.ts +2 -2
- package/src/services/iai/v20200303/iai_models.ts +2 -2
- package/src/services/ie/v20200304/ie_models.ts +2 -2
- package/src/services/iecp/v20210914/iecp_models.ts +9 -9
- package/src/services/iot/v20180123/iot_models.ts +1 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +18 -18
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +1 -1
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +1 -1
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +13 -13
- package/src/services/iss/v20230517/iss_client.ts +29 -15
- package/src/services/iss/v20230517/iss_models.ts +163 -72
- package/src/services/ivld/v20210903/ivld_models.ts +5 -5
- package/src/services/keewidb/v20220308/keewidb_models.ts +8 -8
- package/src/services/lcic/v20220817/lcic_models.ts +7 -7
- package/src/services/live/v20180801/live_models.ts +40 -41
- package/src/services/lp/v20200224/lp_models.ts +1 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +5 -5
- package/src/services/memcached/v20190318/memcached_models.ts +1 -1
- package/src/services/mgobe/v20201014/mgobe_models.ts +1 -1
- package/src/services/mongodb/v20180408/mongodb_models.ts +2 -2
- package/src/services/mongodb/v20190725/mongodb_models.ts +38 -14
- package/src/services/monitor/v20180724/monitor_models.ts +45 -45
- package/src/services/mps/v20190612/mps_models.ts +26 -26
- package/src/services/mrs/v20200910/mrs_models.ts +28 -28
- package/src/services/ms/v20180408/ms_models.ts +2 -2
- package/src/services/oceanus/v20190422/oceanus_models.ts +3 -3
- package/src/services/ocr/v20181119/ocr_models.ts +10 -10
- package/src/services/organization/v20181225/organization_models.ts +3 -3
- package/src/services/organization/v20210331/organization_models.ts +12 -12
- package/src/services/postgres/v20170312/postgres_models.ts +9 -13
- package/src/services/privatedns/v20201028/privatedns_models.ts +2 -2
- package/src/services/pts/v20210728/pts_models.ts +3 -3
- package/src/services/rce/v20201103/rce_models.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +16 -16
- package/src/services/rp/v20200224/rp_models.ts +1 -1
- package/src/services/rum/v20210622/rum_models.ts +6 -6
- package/src/services/sms/v20190711/sms_models.ts +2 -2
- package/src/services/sms/v20210111/sms_models.ts +2 -2
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +13 -13
- package/src/services/ssl/v20191205/ssl_models.ts +1 -1
- package/src/services/taf/v20200210/taf_models.ts +1 -1
- package/src/services/tat/v20201028/tat_client.ts +175 -88
- package/src/services/tat/v20201028/tat_models.ts +580 -208
- package/src/services/tcb/v20180608/tcb_models.ts +8 -8
- package/src/services/tcss/v20201101/tcss_models.ts +36 -36
- package/src/services/tdmq/v20200217/tdmq_models.ts +71 -63
- package/src/services/tem/v20201221/tem_models.ts +1 -1
- package/src/services/tem/v20210701/tem_models.ts +2 -2
- package/src/services/teo/v20220901/teo_models.ts +16 -16
- package/src/services/ticm/v20181127/ticm_models.ts +2 -2
- package/src/services/tiw/v20190919/tiw_models.ts +5 -5
- package/src/services/tke/v20180525/tke_models.ts +4 -4
- package/src/services/tkgdq/v20190411/tkgdq_models.ts +2 -2
- package/src/services/trdp/v20220726/trdp_models.ts +1 -1
- package/src/services/trro/v20220325/trro_models.ts +11 -11
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/tse/v20201207/tse_client.ts +24 -5
- package/src/services/tse/v20201207/tse_models.ts +335 -50
- package/src/services/vod/v20180717/vod_client.ts +2 -0
- package/src/services/vod/v20180717/vod_models.ts +80 -37
- package/src/services/vpc/v20170312/vpc_models.ts +6 -6
- package/src/services/waf/v20180125/waf_client.ts +352 -34
- package/src/services/waf/v20180125/waf_models.ts +1376 -271
- package/src/services/wav/v20210129/wav_models.ts +4 -4
- package/src/services/wedata/v20210820/wedata_models.ts +29 -24
- package/src/services/youmall/v20180228/youmall_models.ts +1 -1
- package/src/services/yunjing/v20180228/yunjing_models.ts +26 -26
- package/src/services/zj/v20190121/zj_models.ts +12 -12
- package/tencentcloud/common/http/http_connection.js +3 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/common/sign.js +3 -1
- package/tencentcloud/services/aa/v20200224/aa_models.d.ts +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +11 -11
- package/tencentcloud/services/ape/v20200513/ape_models.d.ts +2 -2
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +1 -1
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +3 -1
- package/tencentcloud/services/as/v20180419/as_client.js +3 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +16 -1
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +3 -3
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +3 -3
- package/tencentcloud/services/bm/v20180423/bm_models.d.ts +8 -8
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +1 -1
- package/tencentcloud/services/bmeip/v20180625/bmeip_models.d.ts +2 -2
- package/tencentcloud/services/bmlb/v20180625/bmlb_models.d.ts +9 -9
- package/tencentcloud/services/bmvpc/v20180625/bmvpc_models.d.ts +3 -3
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +1 -1
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +3 -3
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +13 -13
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +4 -4
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -4
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +13 -13
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +34 -34
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +4 -4
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +7 -7
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +2 -2
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +4 -4
- package/tencentcloud/services/chdfs/v20190718/chdfs_models.d.ts +2 -2
- package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +2 -2
- package/tencentcloud/services/cim/v20190318/cim_models.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +13 -13
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -2
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +6 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +66 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +1 -1
- package/tencentcloud/services/cms/v20190321/cms_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -4
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +50 -50
- package/tencentcloud/services/cws/v20180312/cws_models.d.ts +6 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +7 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +41 -41
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +46 -46
- package/tencentcloud/services/dayu/v20180709/dayu_models.d.ts +8 -8
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +12 -12
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +21 -21
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +6 -6
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +9 -9
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +3 -3
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -4
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +2 -2
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +623 -1
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +912 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +8710 -34
- package/tencentcloud/services/dtf/v20200506/dtf_models.d.ts +1 -1
- package/tencentcloud/services/ecc/v20181213/ecc_models.d.ts +2 -2
- package/tencentcloud/services/ecdn/v20191012/ecdn_models.d.ts +2 -2
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +4 -4
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +5 -5
- package/tencentcloud/services/es/v20180416/es_models.d.ts +3 -3
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +40 -16
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -5
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2 -2
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +12 -12
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +20 -2
- package/tencentcloud/services/gse/v20191112/gse_models.d.ts +1 -1
- package/tencentcloud/services/hasim/v20210716/hasim_models.d.ts +6 -6
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +2 -2
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +2 -2
- package/tencentcloud/services/ie/v20200304/ie_models.d.ts +2 -2
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +9 -9
- package/tencentcloud/services/iot/v20180123/iot_models.d.ts +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +18 -18
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +1 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +1 -1
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +13 -13
- package/tencentcloud/services/iss/v20230517/iss_client.d.ts +9 -5
- package/tencentcloud/services/iss/v20230517/iss_client.js +12 -6
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +159 -72
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +5 -5
- package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +8 -8
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +7 -7
- package/tencentcloud/services/live/v20180801/live_models.d.ts +40 -41
- package/tencentcloud/services/lp/v20200224/lp_models.d.ts +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +5 -5
- package/tencentcloud/services/memcached/v20190318/memcached_models.d.ts +1 -1
- package/tencentcloud/services/mgobe/v20201014/mgobe_models.d.ts +1 -1
- package/tencentcloud/services/mongodb/v20180408/mongodb_models.d.ts +2 -2
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +38 -14
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +45 -45
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +26 -26
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +28 -28
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +2 -2
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +3 -3
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +10 -10
- package/tencentcloud/services/organization/v20181225/organization_models.d.ts +3 -3
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +12 -12
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +9 -13
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +2 -2
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +3 -3
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +16 -16
- package/tencentcloud/services/rp/v20200224/rp_models.d.ts +1 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +6 -6
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +2 -2
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +2 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +13 -13
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
- package/tencentcloud/services/taf/v20200210/taf_models.d.ts +1 -1
- package/tencentcloud/services/tat/v20201028/tat_client.d.ts +65 -37
- package/tencentcloud/services/tat/v20201028/tat_client.js +90 -48
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +551 -196
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +8 -8
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +36 -36
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +71 -63
- package/tencentcloud/services/tem/v20201221/tem_models.d.ts +1 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +16 -16
- package/tencentcloud/services/ticm/v20181127/ticm_models.d.ts +2 -2
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +5 -5
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
- package/tencentcloud/services/tkgdq/v20190411/tkgdq_models.d.ts +2 -2
- package/tencentcloud/services/trdp/v20220726/trdp_models.d.ts +1 -1
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +11 -11
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +325 -49
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +78 -37
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -6
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +112 -7
- package/tencentcloud/services/waf/v20180125/waf_client.js +164 -9
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1305 -263
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +4 -4
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +29 -24
- package/tencentcloud/services/youmall/v20180228/youmall_models.d.ts +1 -1
- package/tencentcloud/services/yunjing/v20180228/yunjing_models.d.ts +26 -26
- package/tencentcloud/services/zj/v20190121/zj_models.d.ts +12 -12
- package/test/cls.v20201016.test.js +10 -0
- package/test/dsgc.v20190723.test.js +1451 -1
- package/test/iss.v20230517.test.js +14 -4
- package/test/tat.v20201028.test.js +94 -24
- package/test/tse.v20201207.test.js +10 -0
- package/test/waf.v20180125.test.js +256 -6
|
@@ -58,6 +58,16 @@ it("iss.v20230517.ListRecordRetrieveTasks", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("iss.v20230517.UpdateRecordBackupTemplate", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.UpdateRecordBackupTemplate({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("iss.v20230517.DeleteUserDevice", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.DeleteUserDevice({})
|
|
@@ -728,9 +738,9 @@ it("iss.v20230517.DeleteGateway", async function () {
|
|
|
728
738
|
}
|
|
729
739
|
})
|
|
730
740
|
|
|
731
|
-
it("iss.v20230517.
|
|
741
|
+
it("iss.v20230517.ListGatewayDevices", async function () {
|
|
732
742
|
try {
|
|
733
|
-
const data = await client.
|
|
743
|
+
const data = await client.ListGatewayDevices({})
|
|
734
744
|
expect(data).to.be.ok
|
|
735
745
|
} catch(error) {
|
|
736
746
|
expect(error.requestId).to.be.ok
|
|
@@ -748,9 +758,9 @@ it("iss.v20230517.DeleteDomain", async function () {
|
|
|
748
758
|
}
|
|
749
759
|
})
|
|
750
760
|
|
|
751
|
-
it("iss.v20230517.
|
|
761
|
+
it("iss.v20230517.PlayRecord", async function () {
|
|
752
762
|
try {
|
|
753
|
-
const data = await client.
|
|
763
|
+
const data = await client.PlayRecord({})
|
|
754
764
|
expect(data).to.be.ok
|
|
755
765
|
} catch(error) {
|
|
756
766
|
expect(error.requestId).to.be.ok
|
|
@@ -18,6 +18,56 @@ const client = new tencentcloud.tat.v20201028.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tat.v20201028.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tat.v20201028.CancelInvocation", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CancelInvocation({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("tat.v20201028.ModifyRegisterInstance", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ModifyRegisterInstance({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("tat.v20201028.CreateInvoker", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.CreateInvoker({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("tat.v20201028.DeleteCommand", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DeleteCommand({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it("tat.v20201028.CreateRegisterCode", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.CreateRegisterCode({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
21
71
|
it("tat.v20201028.EnableInvoker", async function () {
|
|
22
72
|
try {
|
|
23
73
|
const data = await client.EnableInvoker({})
|
|
@@ -58,9 +108,9 @@ it("tat.v20201028.DescribeInvocations", async function () {
|
|
|
58
108
|
}
|
|
59
109
|
})
|
|
60
110
|
|
|
61
|
-
it("tat.v20201028.
|
|
111
|
+
it("tat.v20201028.DescribeInvocationTasks", async function () {
|
|
62
112
|
try {
|
|
63
|
-
const data = await client.
|
|
113
|
+
const data = await client.DescribeInvocationTasks({})
|
|
64
114
|
expect(data).to.be.ok
|
|
65
115
|
} catch(error) {
|
|
66
116
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +118,9 @@ it("tat.v20201028.CancelInvocation", async function () {
|
|
|
68
118
|
}
|
|
69
119
|
})
|
|
70
120
|
|
|
71
|
-
it("tat.v20201028.
|
|
121
|
+
it("tat.v20201028.PreviewReplacedCommandContent", async function () {
|
|
72
122
|
try {
|
|
73
|
-
const data = await client.
|
|
123
|
+
const data = await client.PreviewReplacedCommandContent({})
|
|
74
124
|
expect(data).to.be.ok
|
|
75
125
|
} catch(error) {
|
|
76
126
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +128,9 @@ it("tat.v20201028.DescribeInvocationTasks", async function () {
|
|
|
78
128
|
}
|
|
79
129
|
})
|
|
80
130
|
|
|
81
|
-
it("tat.v20201028.
|
|
131
|
+
it("tat.v20201028.DisableInvoker", async function () {
|
|
82
132
|
try {
|
|
83
|
-
const data = await client.
|
|
133
|
+
const data = await client.DisableInvoker({})
|
|
84
134
|
expect(data).to.be.ok
|
|
85
135
|
} catch(error) {
|
|
86
136
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +138,9 @@ it("tat.v20201028.CreateInvoker", async function () {
|
|
|
88
138
|
}
|
|
89
139
|
})
|
|
90
140
|
|
|
91
|
-
it("tat.v20201028.
|
|
141
|
+
it("tat.v20201028.DeleteRegisterInstance", async function () {
|
|
92
142
|
try {
|
|
93
|
-
const data = await client.
|
|
143
|
+
const data = await client.DeleteRegisterInstance({})
|
|
94
144
|
expect(data).to.be.ok
|
|
95
145
|
} catch(error) {
|
|
96
146
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +148,9 @@ it("tat.v20201028.DescribeInvokerRecords", async function () {
|
|
|
98
148
|
}
|
|
99
149
|
})
|
|
100
150
|
|
|
101
|
-
it("tat.v20201028.
|
|
151
|
+
it("tat.v20201028.ModifyCommand", async function () {
|
|
102
152
|
try {
|
|
103
|
-
const data = await client.
|
|
153
|
+
const data = await client.ModifyCommand({})
|
|
104
154
|
expect(data).to.be.ok
|
|
105
155
|
} catch(error) {
|
|
106
156
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +158,9 @@ it("tat.v20201028.DescribeRegions", async function () {
|
|
|
108
158
|
}
|
|
109
159
|
})
|
|
110
160
|
|
|
111
|
-
it("tat.v20201028.
|
|
161
|
+
it("tat.v20201028.InvokeCommand", async function () {
|
|
112
162
|
try {
|
|
113
|
-
const data = await client.
|
|
163
|
+
const data = await client.InvokeCommand({})
|
|
114
164
|
expect(data).to.be.ok
|
|
115
165
|
} catch(error) {
|
|
116
166
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +168,19 @@ it("tat.v20201028.DisableInvoker", async function () {
|
|
|
118
168
|
}
|
|
119
169
|
})
|
|
120
170
|
|
|
121
|
-
it("tat.v20201028.
|
|
171
|
+
it("tat.v20201028.DescribeRegisterInstances", async function () {
|
|
122
172
|
try {
|
|
123
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeRegisterInstances({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("tat.v20201028.DescribeRegions", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeRegions({})
|
|
124
184
|
expect(data).to.be.ok
|
|
125
185
|
} catch(error) {
|
|
126
186
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +198,9 @@ it("tat.v20201028.CreateCommand", async function () {
|
|
|
138
198
|
}
|
|
139
199
|
})
|
|
140
200
|
|
|
141
|
-
it("tat.v20201028.
|
|
201
|
+
it("tat.v20201028.DeleteRegisterCodes", async function () {
|
|
142
202
|
try {
|
|
143
|
-
const data = await client.
|
|
203
|
+
const data = await client.DeleteRegisterCodes({})
|
|
144
204
|
expect(data).to.be.ok
|
|
145
205
|
} catch(error) {
|
|
146
206
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +208,9 @@ it("tat.v20201028.DeleteCommand", async function () {
|
|
|
148
208
|
}
|
|
149
209
|
})
|
|
150
210
|
|
|
151
|
-
it("tat.v20201028.
|
|
211
|
+
it("tat.v20201028.DescribeRegisterCodes", async function () {
|
|
152
212
|
try {
|
|
153
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeRegisterCodes({})
|
|
154
214
|
expect(data).to.be.ok
|
|
155
215
|
} catch(error) {
|
|
156
216
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +228,9 @@ it("tat.v20201028.DescribeAutomationAgentStatus", async function () {
|
|
|
168
228
|
}
|
|
169
229
|
})
|
|
170
230
|
|
|
171
|
-
it("tat.v20201028.
|
|
231
|
+
it("tat.v20201028.DisableRegisterCodes", async function () {
|
|
172
232
|
try {
|
|
173
|
-
const data = await client.
|
|
233
|
+
const data = await client.DisableRegisterCodes({})
|
|
174
234
|
expect(data).to.be.ok
|
|
175
235
|
} catch(error) {
|
|
176
236
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +238,19 @@ it("tat.v20201028.PreviewReplacedCommandContent", async function () {
|
|
|
178
238
|
}
|
|
179
239
|
})
|
|
180
240
|
|
|
181
|
-
it("tat.v20201028.
|
|
241
|
+
it("tat.v20201028.DescribeInvokerRecords", async function () {
|
|
182
242
|
try {
|
|
183
|
-
const data = await client.
|
|
243
|
+
const data = await client.DescribeInvokerRecords({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
it("tat.v20201028.ModifyInvoker", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.ModifyInvoker({})
|
|
184
254
|
expect(data).to.be.ok
|
|
185
255
|
} catch(error) {
|
|
186
256
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +268,9 @@ it("tat.v20201028.DescribeInvokers", async function () {
|
|
|
198
268
|
}
|
|
199
269
|
})
|
|
200
270
|
|
|
201
|
-
it("tat.v20201028.
|
|
271
|
+
it("tat.v20201028.RunCommand", async function () {
|
|
202
272
|
try {
|
|
203
|
-
const data = await client.
|
|
273
|
+
const data = await client.RunCommand({})
|
|
204
274
|
expect(data).to.be.ok
|
|
205
275
|
} catch(error) {
|
|
206
276
|
expect(error.requestId).to.be.ok
|
|
@@ -388,6 +388,16 @@ it("tse.v20201207.CreateCloudNativeAPIGatewayRouteRateLimit", async function ()
|
|
|
388
388
|
}
|
|
389
389
|
})
|
|
390
390
|
|
|
391
|
+
it("tse.v20201207.DescribeNativeGatewayServerGroups", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.DescribeNativeGatewayServerGroups({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
391
401
|
it("tse.v20201207.ModifyCloudNativeAPIGatewayRoute", async function () {
|
|
392
402
|
try {
|
|
393
403
|
const data = await client.ModifyCloudNativeAPIGatewayRoute({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.waf.v20180125.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("waf.v20180125.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("waf.v20180125.ModifyHost", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyHost({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("waf.v20180125.DescribeAccessExports", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeAccessExports({})
|
|
@@ -28,6 +38,16 @@ it("waf.v20180125.DescribeAccessExports", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
41
|
+
it("waf.v20180125.DescribeFindDomainList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeFindDomainList({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
31
51
|
it("waf.v20180125.DescribePeakPoints", async function () {
|
|
32
52
|
try {
|
|
33
53
|
const data = await client.DescribePeakPoints({})
|
|
@@ -38,6 +58,36 @@ it("waf.v20180125.DescribePeakPoints", async function () {
|
|
|
38
58
|
}
|
|
39
59
|
})
|
|
40
60
|
|
|
61
|
+
it("waf.v20180125.ModifyBotStatus", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ModifyBotStatus({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("waf.v20180125.ModifyProtectionStatus", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyProtectionStatus({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
it("waf.v20180125.DescribeHostLimit", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeHostLimit({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
41
91
|
it("waf.v20180125.DeleteAccessExport", async function () {
|
|
42
92
|
try {
|
|
43
93
|
const data = await client.DeleteAccessExport({})
|
|
@@ -48,6 +98,16 @@ it("waf.v20180125.DeleteAccessExport", async function () {
|
|
|
48
98
|
}
|
|
49
99
|
})
|
|
50
100
|
|
|
101
|
+
it("waf.v20180125.DescribeDomainDetailsClb", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeDomainDetailsClb({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
51
111
|
it("waf.v20180125.DeleteDomainWhiteRules", async function () {
|
|
52
112
|
try {
|
|
53
113
|
const data = await client.DeleteDomainWhiteRules({})
|
|
@@ -68,6 +128,16 @@ it("waf.v20180125.ModifyAreaBanStatus", async function () {
|
|
|
68
128
|
}
|
|
69
129
|
})
|
|
70
130
|
|
|
131
|
+
it("waf.v20180125.SwitchDomainRules", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.SwitchDomainRules({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
71
141
|
it("waf.v20180125.DescribeDomains", async function () {
|
|
72
142
|
try {
|
|
73
143
|
const data = await client.DescribeDomains({})
|
|
@@ -98,6 +168,16 @@ it("waf.v20180125.DescribeAccessIndex", async function () {
|
|
|
98
168
|
}
|
|
99
169
|
})
|
|
100
170
|
|
|
171
|
+
it("waf.v20180125.ModifyHostFlowMode", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyHostFlowMode({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
101
181
|
it("waf.v20180125.CreateAccessExport", async function () {
|
|
102
182
|
try {
|
|
103
183
|
const data = await client.CreateAccessExport({})
|
|
@@ -148,6 +228,16 @@ it("waf.v20180125.DescribeInstances", async function () {
|
|
|
148
228
|
}
|
|
149
229
|
})
|
|
150
230
|
|
|
231
|
+
it("waf.v20180125.ModifySpartaProtectionMode", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifySpartaProtectionMode({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
151
241
|
it("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
152
242
|
try {
|
|
153
243
|
const data = await client.DeleteIpAccessControl({})
|
|
@@ -158,6 +248,16 @@ it("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
|
158
248
|
}
|
|
159
249
|
})
|
|
160
250
|
|
|
251
|
+
it("waf.v20180125.ModifyAccessPeriod", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.ModifyAccessPeriod({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
161
261
|
it("waf.v20180125.GetAttackHistogram", async function () {
|
|
162
262
|
try {
|
|
163
263
|
const data = await client.GetAttackHistogram({})
|
|
@@ -178,9 +278,49 @@ it("waf.v20180125.ModifyWafAutoDenyStatus", async function () {
|
|
|
178
278
|
}
|
|
179
279
|
})
|
|
180
280
|
|
|
181
|
-
it("waf.v20180125.
|
|
281
|
+
it("waf.v20180125.DescribeTlsVersion", async function () {
|
|
182
282
|
try {
|
|
183
|
-
const data = await client.
|
|
283
|
+
const data = await client.DescribeTlsVersion({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("waf.v20180125.ModifyHostStatus", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.ModifyHostStatus({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
301
|
+
it("waf.v20180125.DescribeCiphersDetail", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.DescribeCiphersDetail({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("waf.v20180125.AddSpartaProtectionsAuto", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.AddSpartaProtectionsAuto({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
it("waf.v20180125.ModifyDomainsCLSStatus", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.ModifyDomainsCLSStatus({})
|
|
184
324
|
expect(data).to.be.ok
|
|
185
325
|
} catch(error) {
|
|
186
326
|
expect(error.requestId).to.be.ok
|
|
@@ -208,6 +348,16 @@ it("waf.v20180125.DescribeVipInfo", async function () {
|
|
|
208
348
|
}
|
|
209
349
|
})
|
|
210
350
|
|
|
351
|
+
it("waf.v20180125.DescribeUserDomainInfo", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DescribeUserDomainInfo({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
211
361
|
it("waf.v20180125.DescribeUserCdcClbWafRegions", async function () {
|
|
212
362
|
try {
|
|
213
363
|
const data = await client.DescribeUserCdcClbWafRegions({})
|
|
@@ -218,6 +368,16 @@ it("waf.v20180125.DescribeUserCdcClbWafRegions", async function () {
|
|
|
218
368
|
}
|
|
219
369
|
})
|
|
220
370
|
|
|
371
|
+
it("waf.v20180125.DeleteHost", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DeleteHost({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
221
381
|
it("waf.v20180125.ModifyDomainWhiteRule", async function () {
|
|
222
382
|
try {
|
|
223
383
|
const data = await client.ModifyDomainWhiteRule({})
|
|
@@ -338,6 +498,26 @@ it("waf.v20180125.ModifyCustomRuleStatus", async function () {
|
|
|
338
498
|
}
|
|
339
499
|
})
|
|
340
500
|
|
|
501
|
+
it("waf.v20180125.DescribeDomainCountInfo", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.DescribeDomainCountInfo({})
|
|
504
|
+
expect(data).to.be.ok
|
|
505
|
+
} catch(error) {
|
|
506
|
+
expect(error.requestId).to.be.ok
|
|
507
|
+
expect(error.code).to.be.ok
|
|
508
|
+
}
|
|
509
|
+
})
|
|
510
|
+
|
|
511
|
+
it("waf.v20180125.DeleteSpartaProtection", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.DeleteSpartaProtection({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
341
521
|
it("waf.v20180125.DescribePeakValue", async function () {
|
|
342
522
|
try {
|
|
343
523
|
const data = await client.DescribePeakValue({})
|
|
@@ -358,6 +538,16 @@ it("waf.v20180125.ModifyWafThreatenIntelligence", async function () {
|
|
|
358
538
|
}
|
|
359
539
|
})
|
|
360
540
|
|
|
541
|
+
it("waf.v20180125.ModifyHostMode", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.ModifyHostMode({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
361
551
|
it("waf.v20180125.ModifySpartaProtection", async function () {
|
|
362
552
|
try {
|
|
363
553
|
const data = await client.ModifySpartaProtection({})
|
|
@@ -378,6 +568,16 @@ it("waf.v20180125.AddCustomWhiteRule", async function () {
|
|
|
378
568
|
}
|
|
379
569
|
})
|
|
380
570
|
|
|
571
|
+
it("waf.v20180125.ModifyApiAnalyzeStatus", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.ModifyApiAnalyzeStatus({})
|
|
574
|
+
expect(data).to.be.ok
|
|
575
|
+
} catch(error) {
|
|
576
|
+
expect(error.requestId).to.be.ok
|
|
577
|
+
expect(error.code).to.be.ok
|
|
578
|
+
}
|
|
579
|
+
})
|
|
580
|
+
|
|
381
581
|
it("waf.v20180125.ModifyWafAutoDenyRules", async function () {
|
|
382
582
|
try {
|
|
383
583
|
const data = await client.ModifyWafAutoDenyRules({})
|
|
@@ -458,9 +658,9 @@ it("waf.v20180125.DeleteSession", async function () {
|
|
|
458
658
|
}
|
|
459
659
|
})
|
|
460
660
|
|
|
461
|
-
it("waf.v20180125.
|
|
661
|
+
it("waf.v20180125.AddSpartaProtectionAuto", async function () {
|
|
462
662
|
try {
|
|
463
|
-
const data = await client.
|
|
663
|
+
const data = await client.AddSpartaProtectionAuto({})
|
|
464
664
|
expect(data).to.be.ok
|
|
465
665
|
} catch(error) {
|
|
466
666
|
expect(error.requestId).to.be.ok
|
|
@@ -478,6 +678,16 @@ it("waf.v20180125.DescribeRuleLimit", async function () {
|
|
|
478
678
|
}
|
|
479
679
|
})
|
|
480
680
|
|
|
681
|
+
it("waf.v20180125.DescribeHosts", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.DescribeHosts({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
481
691
|
it("waf.v20180125.AddSpartaProtection", async function () {
|
|
482
692
|
try {
|
|
483
693
|
const data = await client.AddSpartaProtection({})
|
|
@@ -498,6 +708,16 @@ it("waf.v20180125.DescribeWafThreatenIntelligence", async function () {
|
|
|
498
708
|
}
|
|
499
709
|
})
|
|
500
710
|
|
|
711
|
+
it("waf.v20180125.DescribeWafInfo", async function () {
|
|
712
|
+
try {
|
|
713
|
+
const data = await client.DescribeWafInfo({})
|
|
714
|
+
expect(data).to.be.ok
|
|
715
|
+
} catch(error) {
|
|
716
|
+
expect(error.requestId).to.be.ok
|
|
717
|
+
expect(error.code).to.be.ok
|
|
718
|
+
}
|
|
719
|
+
})
|
|
720
|
+
|
|
501
721
|
it("waf.v20180125.DescribePolicyStatus", async function () {
|
|
502
722
|
try {
|
|
503
723
|
const data = await client.DescribePolicyStatus({})
|
|
@@ -508,6 +728,16 @@ it("waf.v20180125.DescribePolicyStatus", async function () {
|
|
|
508
728
|
}
|
|
509
729
|
})
|
|
510
730
|
|
|
731
|
+
it("waf.v20180125.RefreshAccessCheckResult", async function () {
|
|
732
|
+
try {
|
|
733
|
+
const data = await client.RefreshAccessCheckResult({})
|
|
734
|
+
expect(data).to.be.ok
|
|
735
|
+
} catch(error) {
|
|
736
|
+
expect(error.requestId).to.be.ok
|
|
737
|
+
expect(error.code).to.be.ok
|
|
738
|
+
}
|
|
739
|
+
})
|
|
740
|
+
|
|
511
741
|
it("waf.v20180125.DescribeIpHitItems", async function () {
|
|
512
742
|
try {
|
|
513
743
|
const data = await client.DescribeIpHitItems({})
|
|
@@ -528,9 +758,19 @@ it("waf.v20180125.AddDomainWhiteRule", async function () {
|
|
|
528
758
|
}
|
|
529
759
|
})
|
|
530
760
|
|
|
531
|
-
it("waf.v20180125.
|
|
761
|
+
it("waf.v20180125.ModifyDomainIpv6Status", async function () {
|
|
532
762
|
try {
|
|
533
|
-
const data = await client.
|
|
763
|
+
const data = await client.ModifyDomainIpv6Status({})
|
|
764
|
+
expect(data).to.be.ok
|
|
765
|
+
} catch(error) {
|
|
766
|
+
expect(error.requestId).to.be.ok
|
|
767
|
+
expect(error.code).to.be.ok
|
|
768
|
+
}
|
|
769
|
+
})
|
|
770
|
+
|
|
771
|
+
it("waf.v20180125.DescribeDomainWhiteRules", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.DescribeDomainWhiteRules({})
|
|
534
774
|
expect(data).to.be.ok
|
|
535
775
|
} catch(error) {
|
|
536
776
|
expect(error.requestId).to.be.ok
|
|
@@ -548,6 +788,16 @@ it("waf.v20180125.DescribeCustomWhiteRule", async function () {
|
|
|
548
788
|
}
|
|
549
789
|
})
|
|
550
790
|
|
|
791
|
+
it("waf.v20180125.DescribeHost", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.DescribeHost({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
551
801
|
it("waf.v20180125.UpsertIpAccessControl", async function () {
|
|
552
802
|
try {
|
|
553
803
|
const data = await client.UpsertIpAccessControl({})
|