Ai
2 Star 9 Fork 6

tencentcloud/tencentcloud-sdk-nodejs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
dlc.v20210125.test.js 38.29 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2025-04-24 04:20 +08:00 . release 4.1.23
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491
const expect = require("chai").expect
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
const client = new tencentcloud.dlc.v20210125.Client({
credential: {
secretId: process.env.secretId,
secretKey: process.env.secretKey,
},
region: "ap-shanghai",
profile: {
signMethod: "TC3-HMAC-SHA256",
httpProfile: {
reqMethod: "POST",
reqTimeout: 30,
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
},
},
})
describe("dlc.v20210125.test.js", function () {
it("dlc.v20210125.CreateTask", async function () {
try {
const data = await client.CreateTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AddUsersToWorkGroup", async function () {
try {
const data = await client.AddUsersToWorkGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AlterDMSTable", async function () {
try {
const data = await client.AlterDMSTable({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeForbiddenTablePro", async function () {
try {
const data = await client.DescribeForbiddenTablePro({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeUserRoles", async function () {
try {
const data = await client.DescribeUserRoles({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ModifyUserType", async function () {
try {
const data = await client.ModifyUserType({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeWorkGroupInfo", async function () {
try {
const data = await client.DescribeWorkGroupInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTaskMonitorInfos", async function () {
try {
const data = await client.DescribeTaskMonitorInfos({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeNotebookSession", async function () {
try {
const data = await client.DescribeNotebookSession({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateNotebookSession", async function () {
try {
const data = await client.CreateNotebookSession({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteWorkGroup", async function () {
try {
const data = await client.DeleteWorkGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.UnlockMetaData", async function () {
try {
const data = await client.UnlockMetaData({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDataEngine", async function () {
try {
const data = await client.DescribeDataEngine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateStoreLocation", async function () {
try {
const data = await client.CreateStoreLocation({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateNotebookSessionStatementSupportBatchSQL", async function () {
try {
const data = await client.CreateNotebookSessionStatementSupportBatchSQL({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.SwitchDataEngine", async function () {
try {
const data = await client.SwitchDataEngine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDataEngines", async function () {
try {
const data = await client.DescribeDataEngines({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDMSPartitions", async function () {
try {
const data = await client.DescribeDMSPartitions({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CancelTask", async function () {
try {
const data = await client.CancelTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDLCCatalogAccess", async function () {
try {
const data = await client.DescribeDLCCatalogAccess({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDMSTables", async function () {
try {
const data = await client.DescribeDMSTables({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeUserType", async function () {
try {
const data = await client.DescribeUserType({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTasks", async function () {
try {
const data = await client.DescribeTasks({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteScript", async function () {
try {
const data = await client.DeleteScript({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.SwitchDataEngineImage", async function () {
try {
const data = await client.SwitchDataEngineImage({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateSparkAppTask", async function () {
try {
const data = await client.CreateSparkAppTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeOtherCHDFSBindingList", async function () {
try {
const data = await client.DescribeOtherCHDFSBindingList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeLakeFsDirSummary", async function () {
try {
const data = await client.DescribeLakeFsDirSummary({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDatabases", async function () {
try {
const data = await client.DescribeDatabases({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeNotebookSessions", async function () {
try {
const data = await client.DescribeNotebookSessions({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeThirdPartyAccessUser", async function () {
try {
const data = await client.DescribeThirdPartyAccessUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.RevokeDLCCatalogAccess", async function () {
try {
const data = await client.RevokeDLCCatalogAccess({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateUser", async function () {
try {
const data = await client.CreateUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTables", async function () {
try {
const data = await client.DescribeTables({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ListTaskJobLogName", async function () {
try {
const data = await client.ListTaskJobLogName({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AlterDMSPartition", async function () {
try {
const data = await client.AlterDMSPartition({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeLakeFsTaskResult", async function () {
try {
const data = await client.DescribeLakeFsTaskResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AddOptimizerEngines", async function () {
try {
const data = await client.AddOptimizerEngines({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.UpdateRowFilter", async function () {
try {
const data = await client.UpdateRowFilter({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeAdvancedStoreLocation", async function () {
try {
const data = await client.DescribeAdvancedStoreLocation({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.LockMetaData", async function () {
try {
const data = await client.LockMetaData({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeSparkAppJobs", async function () {
try {
const data = await client.DescribeSparkAppJobs({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeUsers", async function () {
try {
const data = await client.DescribeUsers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateTasks", async function () {
try {
const data = await client.CreateTasks({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeScripts", async function () {
try {
const data = await client.DescribeScripts({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ModifyWorkGroup", async function () {
try {
const data = await client.ModifyWorkGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTablesName", async function () {
try {
const data = await client.DescribeTablesName({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteCHDFSBindingProduct", async function () {
try {
const data = await client.DeleteCHDFSBindingProduct({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ReportHeartbeatMetaData", async function () {
try {
const data = await client.ReportHeartbeatMetaData({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AssignMangedTableProperties", async function () {
try {
const data = await client.AssignMangedTableProperties({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeUpdatableDataEngines", async function () {
try {
const data = await client.DescribeUpdatableDataEngines({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateInternalTable", async function () {
try {
const data = await client.CreateInternalTable({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.GenerateCreateMangedTableSql", async function () {
try {
const data = await client.GenerateCreateMangedTableSql({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AttachWorkGroupPolicy", async function () {
try {
const data = await client.AttachWorkGroupPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDataEnginesScaleDetail", async function () {
try {
const data = await client.DescribeDataEnginesScaleDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateSparkApp", async function () {
try {
const data = await client.CreateSparkApp({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateDatabase", async function () {
try {
const data = await client.CreateDatabase({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.RollbackDataEngineImage", async function () {
try {
const data = await client.RollbackDataEngineImage({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeSubUserAccessPolicy", async function () {
try {
const data = await client.DescribeSubUserAccessPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateSparkSessionBatchSQL", async function () {
try {
const data = await client.CreateSparkSessionBatchSQL({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeNotebookSessionStatements", async function () {
try {
const data = await client.DescribeNotebookSessionStatements({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.GrantDLCCatalogAccess", async function () {
try {
const data = await client.GrantDLCCatalogAccess({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.SuspendResumeDataEngine", async function () {
try {
const data = await client.SuspendResumeDataEngine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateDMSDatabase", async function () {
try {
const data = await client.CreateDMSDatabase({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AttachUserPolicy", async function () {
try {
const data = await client.AttachUserPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ModifyGovernEventRule", async function () {
try {
const data = await client.ModifyGovernEventRule({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateResultDownload", async function () {
try {
const data = await client.CreateResultDownload({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ModifyAdvancedStoreLocation", async function () {
try {
const data = await client.ModifyAdvancedStoreLocation({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeNotebookSessionStatementSqlResult", async function () {
try {
const data = await client.DescribeNotebookSessionStatementSqlResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateNotebookSessionStatement", async function () {
try {
const data = await client.CreateNotebookSessionStatement({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AlterDMSDatabase", async function () {
try {
const data = await client.AlterDMSDatabase({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeSparkSessionBatchSQL", async function () {
try {
const data = await client.DescribeSparkSessionBatchSQL({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DropDMSDatabase", async function () {
try {
const data = await client.DropDMSDatabase({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.AddDMSPartitions", async function () {
try {
const data = await client.AddDMSPartitions({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.UpdateUserDataEngineConfig", async function () {
try {
const data = await client.UpdateUserDataEngineConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CancelNotebookSessionStatementBatch", async function () {
try {
const data = await client.CancelNotebookSessionStatementBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CheckDataEngineImageCanBeUpgrade", async function () {
try {
const data = await client.CheckDataEngineImageCanBeUpgrade({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteSparkApp", async function () {
try {
const data = await client.DeleteSparkApp({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeNotebookSessionLog", async function () {
try {
const data = await client.DescribeNotebookSessionLog({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTasksCostInfo", async function () {
try {
const data = await client.DescribeTasksCostInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeResultDownload", async function () {
try {
const data = await client.DescribeResultDownload({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDMSTable", async function () {
try {
const data = await client.DescribeDMSTable({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.QueryTaskCostDetail", async function () {
try {
const data = await client.QueryTaskCostDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DropDMSPartitions", async function () {
try {
const data = await client.DropDMSPartitions({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateWorkGroup", async function () {
try {
const data = await client.CreateWorkGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateCHDFSBindingProduct", async function () {
try {
const data = await client.CreateCHDFSBindingProduct({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.QueryInternalTableWarehouse", async function () {
try {
const data = await client.QueryInternalTableWarehouse({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDatasourceConnection", async function () {
try {
const data = await client.DescribeDatasourceConnection({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CheckDataEngineImageCanBeRollback", async function () {
try {
const data = await client.CheckDataEngineImageCanBeRollback({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CancelSparkSessionBatchSQL", async function () {
try {
const data = await client.CancelSparkSessionBatchSQL({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ModifyUser", async function () {
try {
const data = await client.ModifyUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeSparkSessionBatchSqlLog", async function () {
try {
const data = await client.DescribeSparkSessionBatchSqlLog({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTable", async function () {
try {
const data = await client.DescribeTable({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.GetOptimizerPolicy", async function () {
try {
const data = await client.GetOptimizerPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeUserInfo", async function () {
try {
const data = await client.DescribeUserInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.UpdateDataEngine", async function () {
try {
const data = await client.UpdateDataEngine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CheckDataEngineConfigPairsValidity", async function () {
try {
const data = await client.CheckDataEngineConfigPairsValidity({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteDataEngine", async function () {
try {
const data = await client.DeleteDataEngine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteUser", async function () {
try {
const data = await client.DeleteUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteTable", async function () {
try {
const data = await client.DeleteTable({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeEngineUsageInfo", async function () {
try {
const data = await client.DescribeEngineUsageInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTasksOverview", async function () {
try {
const data = await client.DescribeTasksOverview({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.UpdateDataEngineConfig", async function () {
try {
const data = await client.UpdateDataEngineConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateTasksInOrder", async function () {
try {
const data = await client.CreateTasksInOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDataEngineImageVersions", async function () {
try {
const data = await client.DescribeDataEngineImageVersions({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateDMSTable", async function () {
try {
const data = await client.CreateDMSTable({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeSparkSessionBatchSQLCost", async function () {
try {
const data = await client.DescribeSparkSessionBatchSQLCost({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.UpgradeDataEngineImage", async function () {
try {
const data = await client.UpgradeDataEngineImage({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DetachUserPolicy", async function () {
try {
const data = await client.DetachUserPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDataEngineEvents", async function () {
try {
const data = await client.DescribeDataEngineEvents({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DetachWorkGroupPolicy", async function () {
try {
const data = await client.DetachWorkGroupPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DropDMSTable", async function () {
try {
const data = await client.DropDMSTable({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.QueryResult", async function () {
try {
const data = await client.QueryResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CheckLockMetaData", async function () {
try {
const data = await client.CheckLockMetaData({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateImportTask", async function () {
try {
const data = await client.CreateImportTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateTable", async function () {
try {
const data = await client.CreateTable({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTaskResult", async function () {
try {
const data = await client.DescribeTaskResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateExportTask", async function () {
try {
const data = await client.CreateExportTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.RegisterThirdPartyAccessUser", async function () {
try {
const data = await client.RegisterThirdPartyAccessUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTasksAnalysis", async function () {
try {
const data = await client.DescribeTasksAnalysis({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteUsersFromWorkGroup", async function () {
try {
const data = await client.DeleteUsersFromWorkGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateDataEngine", async function () {
try {
const data = await client.CreateDataEngine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.UnbindWorkGroupsFromUser", async function () {
try {
const data = await client.UnbindWorkGroupsFromUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateSparkSubmitTask", async function () {
try {
const data = await client.CreateSparkSubmitTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeWorkGroups", async function () {
try {
const data = await client.DescribeWorkGroups({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CreateScript", async function () {
try {
const data = await client.CreateScript({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.RestartDataEngine", async function () {
try {
const data = await client.RestartDataEngine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeNotebookSessionStatement", async function () {
try {
const data = await client.DescribeNotebookSessionStatement({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeClusterMonitorInfos", async function () {
try {
const data = await client.DescribeClusterMonitorInfos({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.RenewDataEngine", async function () {
try {
const data = await client.RenewDataEngine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ModifySparkApp", async function () {
try {
const data = await client.ModifySparkApp({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeViews", async function () {
try {
const data = await client.DescribeViews({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteThirdPartyAccessUser", async function () {
try {
const data = await client.DeleteThirdPartyAccessUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ModifySparkAppBatch", async function () {
try {
const data = await client.ModifySparkAppBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDMSDatabase", async function () {
try {
const data = await client.DescribeDMSDatabase({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.BindWorkGroupsToUser", async function () {
try {
const data = await client.BindWorkGroupsToUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeUserDataEngineConfig", async function () {
try {
const data = await client.DescribeUserDataEngineConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeTaskLog", async function () {
try {
const data = await client.DescribeTaskLog({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ModifyDataEngineDescription", async function () {
try {
const data = await client.ModifyDataEngineDescription({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DeleteNotebookSession", async function () {
try {
const data = await client.DeleteNotebookSession({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.CancelNotebookSessionStatement", async function () {
try {
const data = await client.CancelNotebookSessionStatement({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeStoreLocation", async function () {
try {
const data = await client.DescribeStoreLocation({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeSparkAppJob", async function () {
try {
const data = await client.DescribeSparkAppJob({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeSparkAppTasks", async function () {
try {
const data = await client.DescribeSparkAppTasks({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeDataEnginePythonSparkImages", async function () {
try {
const data = await client.DescribeDataEnginePythonSparkImages({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.ListTaskJobLogDetail", async function () {
try {
const data = await client.ListTaskJobLogDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dlc.v20210125.DescribeLakeFsInfo", async function () {
try {
const data = await client.DescribeLakeFsInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs.git
git@gitee.com:tencentcloud/tencentcloud-sdk-nodejs.git
tencentcloud
tencentcloud-sdk-nodejs
tencentcloud-sdk-nodejs
4.1.43

搜索帮助