@alicloud/dms20250414 4.4.0 → 4.5.0

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/dist/client.d.ts CHANGED
@@ -662,6 +662,21 @@ export default class Client extends OpenApi {
662
662
  * @returns DescribeDataAgentSessionResponse
663
663
  */
664
664
  describeDataAgentSession(request: $_model.DescribeDataAgentSessionRequest): Promise<$_model.DescribeDataAgentSessionResponse>;
665
+ /**
666
+ * Retrieves the download link for a DataAgent skill.
667
+ *
668
+ * @param request - DescribeDataAgentSkillDownloadRequest
669
+ * @param runtime - runtime options for this request RuntimeOptions
670
+ * @returns DescribeDataAgentSkillDownloadResponse
671
+ */
672
+ describeDataAgentSkillDownloadWithOptions(request: $_model.DescribeDataAgentSkillDownloadRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDataAgentSkillDownloadResponse>;
673
+ /**
674
+ * Retrieves the download link for a DataAgent skill.
675
+ *
676
+ * @param request - DescribeDataAgentSkillDownloadRequest
677
+ * @returns DescribeDataAgentSkillDownloadResponse
678
+ */
679
+ describeDataAgentSkillDownload(request: $_model.DescribeDataAgentSkillDownloadRequest): Promise<$_model.DescribeDataAgentSkillDownloadResponse>;
665
680
  /**
666
681
  * Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
667
682
  *
package/dist/client.js CHANGED
@@ -2224,6 +2224,48 @@ class Client extends openapi_core_1.default {
2224
2224
  let runtime = new $dara.RuntimeOptions({});
2225
2225
  return await this.describeDataAgentSessionWithOptions(request, runtime);
2226
2226
  }
2227
+ /**
2228
+ * Retrieves the download link for a DataAgent skill.
2229
+ *
2230
+ * @param request - DescribeDataAgentSkillDownloadRequest
2231
+ * @param runtime - runtime options for this request RuntimeOptions
2232
+ * @returns DescribeDataAgentSkillDownloadResponse
2233
+ */
2234
+ async describeDataAgentSkillDownloadWithOptions(request, runtime) {
2235
+ request.validate();
2236
+ let query = {};
2237
+ if (!$dara.isNull(request.skillId)) {
2238
+ query["SkillId"] = request.skillId;
2239
+ }
2240
+ if (!$dara.isNull(request.workspaceId)) {
2241
+ query["WorkspaceId"] = request.workspaceId;
2242
+ }
2243
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2244
+ query: openapi_core_2.OpenApiUtil.query(query),
2245
+ });
2246
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2247
+ action: "DescribeDataAgentSkillDownload",
2248
+ version: "2025-04-14",
2249
+ protocol: "HTTPS",
2250
+ pathname: "/",
2251
+ method: "POST",
2252
+ authType: "AK",
2253
+ style: "RPC",
2254
+ reqBodyType: "formData",
2255
+ bodyType: "json",
2256
+ });
2257
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDataAgentSkillDownloadResponse({}));
2258
+ }
2259
+ /**
2260
+ * Retrieves the download link for a DataAgent skill.
2261
+ *
2262
+ * @param request - DescribeDataAgentSkillDownloadRequest
2263
+ * @returns DescribeDataAgentSkillDownloadResponse
2264
+ */
2265
+ async describeDataAgentSkillDownload(request) {
2266
+ let runtime = new $dara.RuntimeOptions({});
2267
+ return await this.describeDataAgentSkillDownloadWithOptions(request, runtime);
2268
+ }
2227
2269
  /**
2228
2270
  * Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
2229
2271
  *