tencentcloud-sdk-nodejs 4.0.1020 → 4.0.1022
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/package.json +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cfw/v20190904/cfw_client.ts +0 -14
- package/src/services/cfw/v20190904/cfw_models.ts +0 -24
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -1
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
- package/src/services/teo/v20220901/teo_client.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -7
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +0 -8
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +0 -22
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.js +2 -2
- package/CHANGELOG.md +0 -209443
- package/SERVICE_CHANGELOG.md +0 -187708
- package/examples/cbs/v20170312/describe_disks.js +0 -32
- package/examples/cbs/v20170312/describe_disks.ts +0 -32
- package/examples/cls/v20201016/cls.proto +0 -34
- package/examples/cls/v20201016/upload_log.js +0 -69
- package/examples/common/common_client.js +0 -47
- package/examples/common/common_client.ts +0 -47
- package/examples/cvm/v20170312/describe_instances.js +0 -44
- package/examples/cvm/v20170312/describe_instances.ts +0 -43
- package/examples/cvm/v20170312/describe_zones.js +0 -22
- package/examples/cvm/v20170312/describe_zones.ts +0 -33
- package/examples/cvm/v20170312/inquiry_price_run_instances.ts +0 -73
- package/examples/cvm/v20170312/run_instances.js +0 -73
- package/examples/cvm/v20170312/run_instances.ts +0 -73
- package/examples/cvm_role.js +0 -27
- package/examples/cvm_role.ts +0 -28
- package/examples/ecc/v20181213/ecc_correct.js +0 -37
- package/examples/ecc/v20181213/ecc_correct.ts +0 -37
- package/examples/ecc/v20181213/ecc_ocr.js +0 -39
- package/examples/ecc/v20181213/ecc_ocr.ts +0 -39
- package/examples/hcm/v20181106/hcm_ocr.js +0 -42
- package/examples/hcm/v20181106/hcm_ocr.ts +0 -39
- package/examples/hunyuan/v20230901/chat_completions.js +0 -59
- package/examples/hunyuan/v20230901/chat_completions.ts +0 -61
- package/examples/soe/v20180903/init_oral_process.js +0 -41
- package/examples/soe/v20180903/init_oral_process.ts +0 -41
- package/examples/soe/v20180903/transmit_oral_process.js +0 -43
- package/examples/soe/v20180903/transmit_oral_process.ts +0 -43
- package/products.md +0 -264
- package/test/aa.v20200224.test.js +0 -31
- package/test/aai.v20180522.test.js +0 -61
- package/test/aca.v20210323.test.js +0 -101
- package/test/acp.v20220105.test.js +0 -101
- package/test/advisor.v20200721.test.js +0 -41
- package/test/af.v20200226.test.js +0 -51
- package/test/afc.v20200226.test.js +0 -51
- package/test/aiart.v20221229.test.js +0 -191
- package/test/ame.v20190916.test.js +0 -331
- package/test/ams.v20200608.test.js +0 -91
- package/test/ams.v20201229.test.js +0 -71
- package/test/anicloud.v20220923.test.js +0 -51
- package/test/antiddos.v20200309.test.js +0 -981
- package/test/apcas.v20201127.test.js +0 -91
- package/test/ape.v20200513.test.js +0 -101
- package/test/api.v20201106.test.js +0 -51
- package/test/apigateway.v20180808.test.js +0 -1011
- package/test/apm.v20210622.test.js +0 -141
- package/test/as.v20180419.test.js +0 -591
- package/test/asr.v20190614.test.js +0 -341
- package/test/asw.v20200722.test.js +0 -111
- package/test/ba.v20200720.test.js +0 -51
- package/test/batch.v20170312.test.js +0 -331
- package/test/bda.v20200324.test.js +0 -201
- package/test/bh.v20230418.test.js +0 -641
- package/test/bi.v20220105.test.js +0 -261
- package/test/billing.v20180709.test.js +0 -481
- package/test/bizlive.v20190313.test.js +0 -81
- package/test/bm.v20180423.test.js +0 -551
- package/test/bma.v20210624.test.js +0 -301
- package/test/bma.v20221115.test.js +0 -131
- package/test/bmeip.v20180625.test.js +0 -221
- package/test/bmlb.v20180625.test.js +0 -511
- package/test/bmvpc.v20180625.test.js +0 -631
- package/test/bpaas.v20181217.test.js +0 -41
- package/test/bri.v20190328.test.js +0 -31
- package/test/bsca.v20210811.test.js +0 -91
- package/test/btoe.v20210303.test.js +0 -141
- package/test/btoe.v20210514.test.js +0 -151
- package/test/ca.v20230228.test.js +0 -51
- package/test/cam.v20190116.test.js +0 -931
- package/test/captcha.v20190722.test.js +0 -201
- package/test/car.v20220110.test.js +0 -81
- package/test/cat.v20180409.test.js +0 -141
- package/test/cbs.v20170312.test.js +0 -441
- package/test/ccc.v20200210.test.js +0 -661
- package/test/cdb.v20170320.test.js +0 -1741
- package/test/cdc.v20201214.test.js +0 -231
- package/test/cdn.v20180606.test.js +0 -831
- package/test/cds.v20180420.test.js +0 -71
- package/test/cdwch.v20200915.test.js +0 -301
- package/test/cdwdoris.v20211228.test.js +0 -621
- package/test/cdwpg.v20201230.test.js +0 -101
- package/test/cdz.v20221123.test.js +0 -41
- package/test/cfg.v20210820.test.js +0 -191
- package/test/cfs.v20190719.test.js +0 -461
- package/test/cfw.v20190904.test.js +0 -1161
- package/test/chdfs.v20190718.test.js +0 -281
- package/test/chdfs.v20201112.test.js +0 -311
- package/test/ciam.v20220331.test.js +0 -251
- package/test/cii.v20201210.test.js +0 -51
- package/test/cii.v20210408.test.js +0 -151
- package/test/cim.v20190318.test.js +0 -31
- package/test/cis.v20180408.test.js +0 -91
- package/test/ckafka.v20190819.test.js +0 -871
- package/test/clb.v20180317.test.js +0 -881
- package/test/cloudapp.v20220530.test.js +0 -31
- package/test/cloudaudit.v20190319.test.js +0 -211
- package/test/cloudhsm.v20191112.test.js +0 -161
- package/test/cloudstudio.v20230508.test.js +0 -111
- package/test/cls.v20201016.test.js +0 -1151
- package/test/cme.v20191029.test.js +0 -521
- package/test/cmq.v20190304.test.js +0 -41
- package/test/cms.v20190321.test.js +0 -81
- package/test/config.v20220802.test.js +0 -91
- package/test/controlcenter.v20230110.test.js +0 -31
- package/test/cpdp.v20190820.test.js +0 -2211
- package/test/csip.v20221121.test.js +0 -501
- package/test/csxg.v20230303.test.js +0 -71
- package/test/cvm.v20170312.test.js +0 -991
- package/test/cwp.v20180228.test.js +0 -5191
- package/test/cws.v20180312.test.js +0 -211
- package/test/cynosdb.v20190107.test.js +0 -1571
- package/test/dasb.v20191018.test.js +0 -651
- package/test/dataintegration.v20220613.test.js +0 -31
- package/test/dayu.v20180709.test.js +0 -1141
- package/test/dbbrain.v20191016.test.js +0 -291
- package/test/dbbrain.v20210527.test.js +0 -661
- package/test/dbdc.v20201029.test.js +0 -81
- package/test/dc.v20180410.test.js +0 -241
- package/test/dcdb.v20180411.test.js +0 -791
- package/test/dlc.v20210125.test.js +0 -1461
- package/test/dnspod.v20210323.test.js +0 -861
- package/test/domain.v20180808.test.js +0 -571
- package/test/drm.v20181115.test.js +0 -131
- package/test/ds.v20180523.test.js +0 -141
- package/test/dsgc.v20190723.test.js +0 -1501
- package/test/dtf.v20200506.test.js +0 -31
- package/test/dts.v20180330.test.js +0 -241
- package/test/dts.v20211206.test.js +0 -731
- package/test/eb.v20210416.test.js +0 -341
- package/test/ecc.v20181213.test.js +0 -61
- package/test/ecdn.v20191012.test.js +0 -181
- package/test/ecm.v20190719.test.js +0 -1411
- package/test/eiam.v20210420.test.js +0 -441
- package/test/eis.v20200715.test.js +0 -51
- package/test/eis.v20210601.test.js +0 -71
- package/test/emr.v20190103.test.js +0 -781
- package/test/es.v20180416.test.js +0 -631
- package/test/ess.v20201111.test.js +0 -981
- package/test/essbasic.v20201222.test.js +0 -551
- package/test/essbasic.v20210526.test.js +0 -881
- package/test/facefusion.v20181201.test.js +0 -51
- package/test/facefusion.v20220927.test.js +0 -51
- package/test/faceid.v20180301.test.js +0 -391
- package/test/fmu.v20191213.test.js +0 -121
- package/test/ft.v20200304.test.js +0 -81
- package/test/gaap.v20180529.test.js +0 -1071
- package/test/gme.v20180711.test.js +0 -301
- package/test/goosefs.v20220519.test.js +0 -221
- package/test/gpm.v20200820.test.js +0 -201
- package/test/gs.v20191118.test.js +0 -111
- package/test/gse.v20191112.test.js +0 -761
- package/test/gwlb.v20240906.test.js +0 -201
- package/test/habo.v20181203.test.js +0 -41
- package/test/hai.v20230812.test.js +0 -151
- package/test/hasim.v20210716.test.js +0 -241
- package/test/hcm.v20181106.test.js +0 -31
- package/test/hunyuan.v20230901.test.js +0 -211
- package/test/iai.v20180301.test.js +0 -351
- package/test/iai.v20200303.test.js +0 -381
- package/test/iap.v20240713.test.js +0 -81
- package/test/ic.v20190307.test.js +0 -111
- package/test/icr.v20211014.test.js +0 -31
- package/test/ie.v20200304.test.js +0 -121
- package/test/iecp.v20210914.test.js +0 -841
- package/test/ig.v20210518.test.js +0 -31
- package/test/iir.v20200417.test.js +0 -31
- package/test/ims.v20200713.test.js +0 -31
- package/test/ims.v20201229.test.js +0 -41
- package/test/ioa.v20220601.test.js +0 -71
- package/test/iot.v20180123.test.js +0 -471
- package/test/iotcloud.v20180614.test.js +0 -711
- package/test/iotcloud.v20210408.test.js +0 -751
- package/test/iotexplorer.v20190423.test.js +0 -1601
- package/test/iottid.v20190411.test.js +0 -111
- package/test/iotvideo.v20191126.test.js +0 -701
- package/test/iotvideo.v20201215.test.js +0 -811
- package/test/iotvideo.v20211125.test.js +0 -1071
- package/test/iotvideoindustry.v20201201.test.js +0 -1061
- package/test/irp.v20220324.test.js +0 -61
- package/test/irp.v20220805.test.js +0 -91
- package/test/iss.v20230517.test.js +0 -861
- package/test/ivld.v20210903.test.js +0 -301
- package/test/keewidb.v20220308.test.js +0 -401
- package/test/kms.v20190118.test.js +0 -551
- package/test/lcic.v20220817.test.js +0 -691
- package/test/lighthouse.v20200324.test.js +0 -1111
- package/test/live.v20180801.test.js +0 -1971
- package/test/lke.v20231130.test.js +0 -1001
- package/test/lkeap.v20240522.test.js +0 -271
- package/test/lowcode.v20210108.test.js +0 -31
- package/test/lp.v20200224.test.js +0 -31
- package/test/mall.v20230518.test.js +0 -31
- package/test/mariadb.v20170312.test.js +0 -791
- package/test/market.v20191010.test.js +0 -41
- package/test/memcached.v20190318.test.js +0 -31
- package/test/mgobe.v20190929.test.js +0 -31
- package/test/mgobe.v20201014.test.js +0 -91
- package/test/mmps.v20200710.test.js +0 -171
- package/test/mna.v20210119.test.js +0 -431
- package/test/mongodb.v20180408.test.js +0 -151
- package/test/mongodb.v20190725.test.js +0 -511
- package/test/monitor.v20180724.test.js +0 -1601
- package/test/mps.v20190612.test.js +0 -1211
- package/test/mqtt.v20240516.test.js +0 -271
- package/test/mrs.v20200910.test.js +0 -131
- package/test/ms.v20180408.test.js +0 -251
- package/test/msp.v20180319.test.js +0 -91
- package/test/mvj.v20190926.test.js +0 -31
- package/test/nlp.v20190408.test.js +0 -141
- package/test/npp.v20190823.test.js +0 -101
- package/test/oceanus.v20190422.test.js +0 -411
- package/test/ocr.v20181119.test.js +0 -901
- package/test/omics.v20221128.test.js +0 -221
- package/test/organization.v20181225.test.js +0 -221
- package/test/organization.v20210331.test.js +0 -1261
- package/test/partners.v20180321.test.js +0 -221
- package/test/pds.v20210701.test.js +0 -41
- package/test/postgres.v20170312.test.js +0 -1051
- package/test/privatedns.v20201028.test.js +0 -261
- package/test/pts.v20210728.test.js +0 -501
- package/test/rce.v20201103.test.js +0 -131
- package/test/redis.v20180412.test.js +0 -1111
- package/test/region.v20220627.test.js +0 -51
- package/test/rkp.v20191209.test.js +0 -51
- package/test/rp.v20200224.test.js +0 -31
- package/test/rum.v20210622.test.js +0 -561
- package/test/scf.v20180416.test.js +0 -541
- package/test/ses.v20201002.test.js +0 -331
- package/test/smh.v20210712.test.js +0 -171
- package/test/smop.v20201203.test.js +0 -31
- package/test/smpn.v20190822.test.js +0 -41
- package/test/sms.v20190711.test.js +0 -181
- package/test/sms.v20210111.test.js +0 -201
- package/test/soe.v20180724.test.js +0 -61
- package/test/solar.v20181011.test.js +0 -191
- package/test/sqlserver.v20180328.test.js +0 -1501
- package/test/ssa.v20180608.test.js +0 -251
- package/test/ssl.v20191205.test.js +0 -631
- package/test/sslpod.v20190605.test.js +0 -121
- package/test/ssm.v20190923.test.js +0 -261
- package/test/sts.v20180813.test.js +0 -81
- package/test/svp.v20240125.test.js +0 -61
- package/test/taf.v20200210.test.js +0 -61
- package/test/tag.v20180813.test.js +0 -331
- package/test/tan.v20220420.test.js +0 -31
- package/test/tat.v20201028.test.js +0 -311
- package/test/tav.v20190118.test.js +0 -61
- package/test/tbaas.v20180416.test.js +0 -271
- package/test/tbm.v20180129.test.js +0 -111
- package/test/tbp.v20190311.test.js +0 -61
- package/test/tbp.v20190627.test.js +0 -41
- package/test/tcaplusdb.v20190823.test.js +0 -551
- package/test/tcb.v20180608.test.js +0 -911
- package/test/tcbr.v20220217.test.js +0 -121
- package/test/tccatalog.v20241024.test.js +0 -61
- package/test/tcex.v20200727.test.js +0 -41
- package/test/tchd.v20230306.test.js +0 -31
- package/test/tci.v20190318.test.js +0 -431
- package/test/tcm.v20210413.test.js +0 -141
- package/test/tcr.v20190924.test.js +0 -1121
- package/test/tcss.v20201101.test.js +0 -3401
- package/test/tdcpg.v20211118.test.js +0 -271
- package/test/tdid.v20210519.test.js +0 -201
- package/test/tdmq.v20200217.test.js +0 -1521
- package/test/tds.v20220801.test.js +0 -61
- package/test/tem.v20201221.test.js +0 -191
- package/test/tem.v20210701.test.js +0 -521
- package/test/teo.v20220106.test.js +0 -71
- package/test/teo.v20220901.test.js +0 -1421
- package/test/thpc.v20211109.test.js +0 -61
- package/test/thpc.v20220401.test.js +0 -181
- package/test/thpc.v20230321.test.js +0 -251
- package/test/tia.v20180226.test.js +0 -121
- package/test/tic.v20201117.test.js +0 -151
- package/test/ticm.v20181127.test.js +0 -51
- package/test/tics.v20181115.test.js +0 -61
- package/test/tiems.v20190416.test.js +0 -271
- package/test/tiia.v20190529.test.js +0 -241
- package/test/tione.v20191022.test.js +0 -241
- package/test/tione.v20211111.test.js +0 -411
- package/test/tiw.v20190919.test.js +0 -621
- package/test/tke.v20180525.test.js +0 -2301
- package/test/tke.v20220501.test.js +0 -161
- package/test/tkgdq.v20190411.test.js +0 -51
- package/test/tms.v20200713.test.js +0 -61
- package/test/tms.v20201229.test.js +0 -31
- package/test/tmt.v20180321.test.js +0 -91
- package/test/tourism.v20230215.test.js +0 -31
- package/test/trdp.v20220726.test.js +0 -31
- package/test/trocket.v20230308.test.js +0 -571
- package/test/trp.v20210515.test.js +0 -561
- package/test/trro.v20220325.test.js +0 -251
- package/test/trtc.v20190722.test.js +0 -591
- package/test/tse.v20201207.test.js +0 -1211
- package/test/tsf.v20180326.test.js +0 -2241
- package/test/tsi.v20210325.test.js +0 -51
- package/test/tsw.v20200924.test.js +0 -31
- package/test/tsw.v20210412.test.js +0 -51
- package/test/tts.v20190823.test.js +0 -51
- package/test/ump.v20200918.test.js +0 -191
- package/test/vcg.v20240404.test.js +0 -41
- package/test/vclm.v20240523.test.js +0 -121
- package/test/vcube.v20220410.test.js +0 -361
- package/test/vdb.v20230616.test.js +0 -81
- package/test/vm.v20200709.test.js +0 -71
- package/test/vm.v20201229.test.js +0 -61
- package/test/vm.v20210922.test.js +0 -61
- package/test/vms.v20200902.test.js +0 -41
- package/test/vod.v20180717.test.js +0 -1831
- package/test/vod.v20240718.test.js +0 -31
- package/test/vpc.v20170312.test.js +0 -3901
- package/test/vrs.v20200824.test.js +0 -101
- package/test/vtc.v20240223.test.js +0 -51
- package/test/waf.v20180125.test.js +0 -1511
- package/test/wav.v20210129.test.js +0 -281
- package/test/wedata.v20210820.test.js +0 -2421
- package/test/weilingwith.v20230427.test.js +0 -661
- package/test/wss.v20180426.test.js +0 -51
- package/test/yinsuda.v20220527.test.js +0 -221
- package/test/youmall.v20180228.test.js +0 -331
- package/test/yunjing.v20180228.test.js +0 -1021
- package/test/yunsou.v20180504.test.js +0 -41
- package/test/yunsou.v20191115.test.js +0 -41
|
@@ -1,551 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
const expect = require("chai").expect
|
|
3
|
-
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
-
const client = new tencentcloud.kms.v20190118.Client({
|
|
5
|
-
credential: {
|
|
6
|
-
secretId: process.env.secretId,
|
|
7
|
-
secretKey: process.env.secretKey,
|
|
8
|
-
},
|
|
9
|
-
region: "ap-shanghai",
|
|
10
|
-
profile: {
|
|
11
|
-
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
-
httpProfile: {
|
|
13
|
-
reqMethod: "POST",
|
|
14
|
-
reqTimeout: 30,
|
|
15
|
-
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
})
|
|
19
|
-
describe("kms.v20190118.test.js", function () {
|
|
20
|
-
|
|
21
|
-
it("kms.v20190118.PostQuantumCryptoVerify", async function () {
|
|
22
|
-
try {
|
|
23
|
-
const data = await client.PostQuantumCryptoVerify({})
|
|
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("kms.v20190118.Encrypt", async function () {
|
|
32
|
-
try {
|
|
33
|
-
const data = await client.Encrypt({})
|
|
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("kms.v20190118.Decrypt", async function () {
|
|
42
|
-
try {
|
|
43
|
-
const data = await client.Decrypt({})
|
|
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("kms.v20190118.UpdateAlias", async function () {
|
|
52
|
-
try {
|
|
53
|
-
const data = await client.UpdateAlias({})
|
|
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("kms.v20190118.DeleteWhiteBoxKey", async function () {
|
|
62
|
-
try {
|
|
63
|
-
const data = await client.DeleteWhiteBoxKey({})
|
|
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("kms.v20190118.ImportKeyMaterial", async function () {
|
|
72
|
-
try {
|
|
73
|
-
const data = await client.ImportKeyMaterial({})
|
|
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("kms.v20190118.GetPublicKey", async function () {
|
|
82
|
-
try {
|
|
83
|
-
const data = await client.GetPublicKey({})
|
|
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
|
-
|
|
91
|
-
it("kms.v20190118.DisableKey", async function () {
|
|
92
|
-
try {
|
|
93
|
-
const data = await client.DisableKey({})
|
|
94
|
-
expect(data).to.be.ok
|
|
95
|
-
} catch(error) {
|
|
96
|
-
expect(error.requestId).to.be.ok
|
|
97
|
-
expect(error.code).to.be.ok
|
|
98
|
-
}
|
|
99
|
-
})
|
|
100
|
-
|
|
101
|
-
it("kms.v20190118.GenerateDataKey", async function () {
|
|
102
|
-
try {
|
|
103
|
-
const data = await client.GenerateDataKey({})
|
|
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
|
-
|
|
111
|
-
it("kms.v20190118.GetServiceStatus", async function () {
|
|
112
|
-
try {
|
|
113
|
-
const data = await client.GetServiceStatus({})
|
|
114
|
-
expect(data).to.be.ok
|
|
115
|
-
} catch(error) {
|
|
116
|
-
expect(error.requestId).to.be.ok
|
|
117
|
-
expect(error.code).to.be.ok
|
|
118
|
-
}
|
|
119
|
-
})
|
|
120
|
-
|
|
121
|
-
it("kms.v20190118.AsymmetricSm2Decrypt", async function () {
|
|
122
|
-
try {
|
|
123
|
-
const data = await client.AsymmetricSm2Decrypt({})
|
|
124
|
-
expect(data).to.be.ok
|
|
125
|
-
} catch(error) {
|
|
126
|
-
expect(error.requestId).to.be.ok
|
|
127
|
-
expect(error.code).to.be.ok
|
|
128
|
-
}
|
|
129
|
-
})
|
|
130
|
-
|
|
131
|
-
it("kms.v20190118.SignByAsymmetricKey", async function () {
|
|
132
|
-
try {
|
|
133
|
-
const data = await client.SignByAsymmetricKey({})
|
|
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
|
-
|
|
141
|
-
it("kms.v20190118.CancelKeyDeletion", async function () {
|
|
142
|
-
try {
|
|
143
|
-
const data = await client.CancelKeyDeletion({})
|
|
144
|
-
expect(data).to.be.ok
|
|
145
|
-
} catch(error) {
|
|
146
|
-
expect(error.requestId).to.be.ok
|
|
147
|
-
expect(error.code).to.be.ok
|
|
148
|
-
}
|
|
149
|
-
})
|
|
150
|
-
|
|
151
|
-
it("kms.v20190118.GetKeyRotationStatus", async function () {
|
|
152
|
-
try {
|
|
153
|
-
const data = await client.GetKeyRotationStatus({})
|
|
154
|
-
expect(data).to.be.ok
|
|
155
|
-
} catch(error) {
|
|
156
|
-
expect(error.requestId).to.be.ok
|
|
157
|
-
expect(error.code).to.be.ok
|
|
158
|
-
}
|
|
159
|
-
})
|
|
160
|
-
|
|
161
|
-
it("kms.v20190118.DescribeWhiteBoxKeyDetails", async function () {
|
|
162
|
-
try {
|
|
163
|
-
const data = await client.DescribeWhiteBoxKeyDetails({})
|
|
164
|
-
expect(data).to.be.ok
|
|
165
|
-
} catch(error) {
|
|
166
|
-
expect(error.requestId).to.be.ok
|
|
167
|
-
expect(error.code).to.be.ok
|
|
168
|
-
}
|
|
169
|
-
})
|
|
170
|
-
|
|
171
|
-
it("kms.v20190118.BindCloudResource", async function () {
|
|
172
|
-
try {
|
|
173
|
-
const data = await client.BindCloudResource({})
|
|
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("kms.v20190118.ArchiveKey", async function () {
|
|
182
|
-
try {
|
|
183
|
-
const data = await client.ArchiveKey({})
|
|
184
|
-
expect(data).to.be.ok
|
|
185
|
-
} catch(error) {
|
|
186
|
-
expect(error.requestId).to.be.ok
|
|
187
|
-
expect(error.code).to.be.ok
|
|
188
|
-
}
|
|
189
|
-
})
|
|
190
|
-
|
|
191
|
-
it("kms.v20190118.CancelKeyArchive", async function () {
|
|
192
|
-
try {
|
|
193
|
-
const data = await client.CancelKeyArchive({})
|
|
194
|
-
expect(data).to.be.ok
|
|
195
|
-
} catch(error) {
|
|
196
|
-
expect(error.requestId).to.be.ok
|
|
197
|
-
expect(error.code).to.be.ok
|
|
198
|
-
}
|
|
199
|
-
})
|
|
200
|
-
|
|
201
|
-
it("kms.v20190118.ReEncrypt", async function () {
|
|
202
|
-
try {
|
|
203
|
-
const data = await client.ReEncrypt({})
|
|
204
|
-
expect(data).to.be.ok
|
|
205
|
-
} catch(error) {
|
|
206
|
-
expect(error.requestId).to.be.ok
|
|
207
|
-
expect(error.code).to.be.ok
|
|
208
|
-
}
|
|
209
|
-
})
|
|
210
|
-
|
|
211
|
-
it("kms.v20190118.EnableWhiteBoxKeys", async function () {
|
|
212
|
-
try {
|
|
213
|
-
const data = await client.EnableWhiteBoxKeys({})
|
|
214
|
-
expect(data).to.be.ok
|
|
215
|
-
} catch(error) {
|
|
216
|
-
expect(error.requestId).to.be.ok
|
|
217
|
-
expect(error.code).to.be.ok
|
|
218
|
-
}
|
|
219
|
-
})
|
|
220
|
-
|
|
221
|
-
it("kms.v20190118.ListAlgorithms", async function () {
|
|
222
|
-
try {
|
|
223
|
-
const data = await client.ListAlgorithms({})
|
|
224
|
-
expect(data).to.be.ok
|
|
225
|
-
} catch(error) {
|
|
226
|
-
expect(error.requestId).to.be.ok
|
|
227
|
-
expect(error.code).to.be.ok
|
|
228
|
-
}
|
|
229
|
-
})
|
|
230
|
-
|
|
231
|
-
it("kms.v20190118.DescribeKey", async function () {
|
|
232
|
-
try {
|
|
233
|
-
const data = await client.DescribeKey({})
|
|
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
|
-
|
|
241
|
-
it("kms.v20190118.ListKeys", async function () {
|
|
242
|
-
try {
|
|
243
|
-
const data = await client.ListKeys({})
|
|
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("kms.v20190118.GenerateRandom", async function () {
|
|
252
|
-
try {
|
|
253
|
-
const data = await client.GenerateRandom({})
|
|
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
|
-
|
|
261
|
-
it("kms.v20190118.PostQuantumCryptoDecrypt", async function () {
|
|
262
|
-
try {
|
|
263
|
-
const data = await client.PostQuantumCryptoDecrypt({})
|
|
264
|
-
expect(data).to.be.ok
|
|
265
|
-
} catch(error) {
|
|
266
|
-
expect(error.requestId).to.be.ok
|
|
267
|
-
expect(error.code).to.be.ok
|
|
268
|
-
}
|
|
269
|
-
})
|
|
270
|
-
|
|
271
|
-
it("kms.v20190118.OverwriteWhiteBoxDeviceFingerprints", async function () {
|
|
272
|
-
try {
|
|
273
|
-
const data = await client.OverwriteWhiteBoxDeviceFingerprints({})
|
|
274
|
-
expect(data).to.be.ok
|
|
275
|
-
} catch(error) {
|
|
276
|
-
expect(error.requestId).to.be.ok
|
|
277
|
-
expect(error.code).to.be.ok
|
|
278
|
-
}
|
|
279
|
-
})
|
|
280
|
-
|
|
281
|
-
it("kms.v20190118.CreateKey", async function () {
|
|
282
|
-
try {
|
|
283
|
-
const data = await client.CreateKey({})
|
|
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("kms.v20190118.DescribeWhiteBoxKey", async function () {
|
|
292
|
-
try {
|
|
293
|
-
const data = await client.DescribeWhiteBoxKey({})
|
|
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("kms.v20190118.EncryptByWhiteBox", async function () {
|
|
302
|
-
try {
|
|
303
|
-
const data = await client.EncryptByWhiteBox({})
|
|
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("kms.v20190118.GetParametersForImport", async function () {
|
|
312
|
-
try {
|
|
313
|
-
const data = await client.GetParametersForImport({})
|
|
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("kms.v20190118.DisableWhiteBoxKeys", async function () {
|
|
322
|
-
try {
|
|
323
|
-
const data = await client.DisableWhiteBoxKeys({})
|
|
324
|
-
expect(data).to.be.ok
|
|
325
|
-
} catch(error) {
|
|
326
|
-
expect(error.requestId).to.be.ok
|
|
327
|
-
expect(error.code).to.be.ok
|
|
328
|
-
}
|
|
329
|
-
})
|
|
330
|
-
|
|
331
|
-
it("kms.v20190118.ListKeyDetail", async function () {
|
|
332
|
-
try {
|
|
333
|
-
const data = await client.ListKeyDetail({})
|
|
334
|
-
expect(data).to.be.ok
|
|
335
|
-
} catch(error) {
|
|
336
|
-
expect(error.requestId).to.be.ok
|
|
337
|
-
expect(error.code).to.be.ok
|
|
338
|
-
}
|
|
339
|
-
})
|
|
340
|
-
|
|
341
|
-
it("kms.v20190118.DisableKeyRotation", async function () {
|
|
342
|
-
try {
|
|
343
|
-
const data = await client.DisableKeyRotation({})
|
|
344
|
-
expect(data).to.be.ok
|
|
345
|
-
} catch(error) {
|
|
346
|
-
expect(error.requestId).to.be.ok
|
|
347
|
-
expect(error.code).to.be.ok
|
|
348
|
-
}
|
|
349
|
-
})
|
|
350
|
-
|
|
351
|
-
it("kms.v20190118.DisableWhiteBoxKey", async function () {
|
|
352
|
-
try {
|
|
353
|
-
const data = await client.DisableWhiteBoxKey({})
|
|
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
|
-
|
|
361
|
-
it("kms.v20190118.EnableKeys", async function () {
|
|
362
|
-
try {
|
|
363
|
-
const data = await client.EnableKeys({})
|
|
364
|
-
expect(data).to.be.ok
|
|
365
|
-
} catch(error) {
|
|
366
|
-
expect(error.requestId).to.be.ok
|
|
367
|
-
expect(error.code).to.be.ok
|
|
368
|
-
}
|
|
369
|
-
})
|
|
370
|
-
|
|
371
|
-
it("kms.v20190118.ScheduleKeyDeletion", async function () {
|
|
372
|
-
try {
|
|
373
|
-
const data = await client.ScheduleKeyDeletion({})
|
|
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
|
-
|
|
381
|
-
it("kms.v20190118.DescribeWhiteBoxDeviceFingerprints", async function () {
|
|
382
|
-
try {
|
|
383
|
-
const data = await client.DescribeWhiteBoxDeviceFingerprints({})
|
|
384
|
-
expect(data).to.be.ok
|
|
385
|
-
} catch(error) {
|
|
386
|
-
expect(error.requestId).to.be.ok
|
|
387
|
-
expect(error.code).to.be.ok
|
|
388
|
-
}
|
|
389
|
-
})
|
|
390
|
-
|
|
391
|
-
it("kms.v20190118.AsymmetricRsaDecrypt", async function () {
|
|
392
|
-
try {
|
|
393
|
-
const data = await client.AsymmetricRsaDecrypt({})
|
|
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
|
-
|
|
401
|
-
it("kms.v20190118.UnbindCloudResource", async function () {
|
|
402
|
-
try {
|
|
403
|
-
const data = await client.UnbindCloudResource({})
|
|
404
|
-
expect(data).to.be.ok
|
|
405
|
-
} catch(error) {
|
|
406
|
-
expect(error.requestId).to.be.ok
|
|
407
|
-
expect(error.code).to.be.ok
|
|
408
|
-
}
|
|
409
|
-
})
|
|
410
|
-
|
|
411
|
-
it("kms.v20190118.EnableKeyRotation", async function () {
|
|
412
|
-
try {
|
|
413
|
-
const data = await client.EnableKeyRotation({})
|
|
414
|
-
expect(data).to.be.ok
|
|
415
|
-
} catch(error) {
|
|
416
|
-
expect(error.requestId).to.be.ok
|
|
417
|
-
expect(error.code).to.be.ok
|
|
418
|
-
}
|
|
419
|
-
})
|
|
420
|
-
|
|
421
|
-
it("kms.v20190118.CreateWhiteBoxKey", async function () {
|
|
422
|
-
try {
|
|
423
|
-
const data = await client.CreateWhiteBoxKey({})
|
|
424
|
-
expect(data).to.be.ok
|
|
425
|
-
} catch(error) {
|
|
426
|
-
expect(error.requestId).to.be.ok
|
|
427
|
-
expect(error.code).to.be.ok
|
|
428
|
-
}
|
|
429
|
-
})
|
|
430
|
-
|
|
431
|
-
it("kms.v20190118.PostQuantumCryptoEncrypt", async function () {
|
|
432
|
-
try {
|
|
433
|
-
const data = await client.PostQuantumCryptoEncrypt({})
|
|
434
|
-
expect(data).to.be.ok
|
|
435
|
-
} catch(error) {
|
|
436
|
-
expect(error.requestId).to.be.ok
|
|
437
|
-
expect(error.code).to.be.ok
|
|
438
|
-
}
|
|
439
|
-
})
|
|
440
|
-
|
|
441
|
-
it("kms.v20190118.EnableWhiteBoxKey", async function () {
|
|
442
|
-
try {
|
|
443
|
-
const data = await client.EnableWhiteBoxKey({})
|
|
444
|
-
expect(data).to.be.ok
|
|
445
|
-
} catch(error) {
|
|
446
|
-
expect(error.requestId).to.be.ok
|
|
447
|
-
expect(error.code).to.be.ok
|
|
448
|
-
}
|
|
449
|
-
})
|
|
450
|
-
|
|
451
|
-
it("kms.v20190118.EnableKey", async function () {
|
|
452
|
-
try {
|
|
453
|
-
const data = await client.EnableKey({})
|
|
454
|
-
expect(data).to.be.ok
|
|
455
|
-
} catch(error) {
|
|
456
|
-
expect(error.requestId).to.be.ok
|
|
457
|
-
expect(error.code).to.be.ok
|
|
458
|
-
}
|
|
459
|
-
})
|
|
460
|
-
|
|
461
|
-
it("kms.v20190118.DeleteImportedKeyMaterial", async function () {
|
|
462
|
-
try {
|
|
463
|
-
const data = await client.DeleteImportedKeyMaterial({})
|
|
464
|
-
expect(data).to.be.ok
|
|
465
|
-
} catch(error) {
|
|
466
|
-
expect(error.requestId).to.be.ok
|
|
467
|
-
expect(error.code).to.be.ok
|
|
468
|
-
}
|
|
469
|
-
})
|
|
470
|
-
|
|
471
|
-
it("kms.v20190118.DescribeKeys", async function () {
|
|
472
|
-
try {
|
|
473
|
-
const data = await client.DescribeKeys({})
|
|
474
|
-
expect(data).to.be.ok
|
|
475
|
-
} catch(error) {
|
|
476
|
-
expect(error.requestId).to.be.ok
|
|
477
|
-
expect(error.code).to.be.ok
|
|
478
|
-
}
|
|
479
|
-
})
|
|
480
|
-
|
|
481
|
-
it("kms.v20190118.DescribeWhiteBoxServiceStatus", async function () {
|
|
482
|
-
try {
|
|
483
|
-
const data = await client.DescribeWhiteBoxServiceStatus({})
|
|
484
|
-
expect(data).to.be.ok
|
|
485
|
-
} catch(error) {
|
|
486
|
-
expect(error.requestId).to.be.ok
|
|
487
|
-
expect(error.code).to.be.ok
|
|
488
|
-
}
|
|
489
|
-
})
|
|
490
|
-
|
|
491
|
-
it("kms.v20190118.UpdateKeyDescription", async function () {
|
|
492
|
-
try {
|
|
493
|
-
const data = await client.UpdateKeyDescription({})
|
|
494
|
-
expect(data).to.be.ok
|
|
495
|
-
} catch(error) {
|
|
496
|
-
expect(error.requestId).to.be.ok
|
|
497
|
-
expect(error.code).to.be.ok
|
|
498
|
-
}
|
|
499
|
-
})
|
|
500
|
-
|
|
501
|
-
it("kms.v20190118.DisableKeys", async function () {
|
|
502
|
-
try {
|
|
503
|
-
const data = await client.DisableKeys({})
|
|
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("kms.v20190118.DescribeWhiteBoxDecryptKey", async function () {
|
|
512
|
-
try {
|
|
513
|
-
const data = await client.DescribeWhiteBoxDecryptKey({})
|
|
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
|
-
|
|
521
|
-
it("kms.v20190118.PostQuantumCryptoSign", async function () {
|
|
522
|
-
try {
|
|
523
|
-
const data = await client.PostQuantumCryptoSign({})
|
|
524
|
-
expect(data).to.be.ok
|
|
525
|
-
} catch(error) {
|
|
526
|
-
expect(error.requestId).to.be.ok
|
|
527
|
-
expect(error.code).to.be.ok
|
|
528
|
-
}
|
|
529
|
-
})
|
|
530
|
-
|
|
531
|
-
it("kms.v20190118.GetRegions", async function () {
|
|
532
|
-
try {
|
|
533
|
-
const data = await client.GetRegions({})
|
|
534
|
-
expect(data).to.be.ok
|
|
535
|
-
} catch(error) {
|
|
536
|
-
expect(error.requestId).to.be.ok
|
|
537
|
-
expect(error.code).to.be.ok
|
|
538
|
-
}
|
|
539
|
-
})
|
|
540
|
-
|
|
541
|
-
it("kms.v20190118.VerifyByAsymmetricKey", async function () {
|
|
542
|
-
try {
|
|
543
|
-
const data = await client.VerifyByAsymmetricKey({})
|
|
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
|
-
|
|
551
|
-
})
|