@alicloud/paimodelgallery20250630 1.0.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.
Files changed (131) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +25 -0
  3. package/dist/client.d.ts +243 -0
  4. package/dist/client.js +623 -0
  5. package/dist/client.js.map +1 -0
  6. package/dist/models/CreateJobPlanRequest.d.ts +118 -0
  7. package/dist/models/CreateJobPlanRequest.js +121 -0
  8. package/dist/models/CreateJobPlanRequest.js.map +1 -0
  9. package/dist/models/CreateJobPlanResponse.d.ts +19 -0
  10. package/dist/models/CreateJobPlanResponse.js +69 -0
  11. package/dist/models/CreateJobPlanResponse.js.map +1 -0
  12. package/dist/models/CreateJobPlanResponseBody.d.ts +29 -0
  13. package/dist/models/CreateJobPlanResponseBody.js +60 -0
  14. package/dist/models/CreateJobPlanResponseBody.js.map +1 -0
  15. package/dist/models/DeleteJobPlanRequest.d.ts +13 -0
  16. package/dist/models/DeleteJobPlanRequest.js +54 -0
  17. package/dist/models/DeleteJobPlanRequest.js.map +1 -0
  18. package/dist/models/DeleteJobPlanResponse.d.ts +19 -0
  19. package/dist/models/DeleteJobPlanResponse.js +69 -0
  20. package/dist/models/DeleteJobPlanResponse.js.map +1 -0
  21. package/dist/models/DeleteJobPlanResponseBody.d.ts +21 -0
  22. package/dist/models/DeleteJobPlanResponseBody.js +58 -0
  23. package/dist/models/DeleteJobPlanResponseBody.js.map +1 -0
  24. package/dist/models/DistillationTemplate.d.ts +301 -0
  25. package/dist/models/DistillationTemplate.js +231 -0
  26. package/dist/models/DistillationTemplate.js.map +1 -0
  27. package/dist/models/DistillationTemplateSummary.d.ts +142 -0
  28. package/dist/models/DistillationTemplateSummary.js +135 -0
  29. package/dist/models/DistillationTemplateSummary.js.map +1 -0
  30. package/dist/models/GetDistillationTemplateRequest.d.ts +13 -0
  31. package/dist/models/GetDistillationTemplateRequest.js +54 -0
  32. package/dist/models/GetDistillationTemplateRequest.js.map +1 -0
  33. package/dist/models/GetDistillationTemplateResponse.d.ts +19 -0
  34. package/dist/models/GetDistillationTemplateResponse.js +69 -0
  35. package/dist/models/GetDistillationTemplateResponse.js.map +1 -0
  36. package/dist/models/GetDistillationTemplateResponseBody.d.ts +27 -0
  37. package/dist/models/GetDistillationTemplateResponseBody.js +64 -0
  38. package/dist/models/GetDistillationTemplateResponseBody.js.map +1 -0
  39. package/dist/models/GetJobPlanRequest.d.ts +13 -0
  40. package/dist/models/GetJobPlanRequest.js +54 -0
  41. package/dist/models/GetJobPlanRequest.js.map +1 -0
  42. package/dist/models/GetJobPlanResponse.d.ts +19 -0
  43. package/dist/models/GetJobPlanResponse.js +69 -0
  44. package/dist/models/GetJobPlanResponse.js.map +1 -0
  45. package/dist/models/GetJobPlanResponseBody.d.ts +190 -0
  46. package/dist/models/GetJobPlanResponseBody.js +139 -0
  47. package/dist/models/GetJobPlanResponseBody.js.map +1 -0
  48. package/dist/models/JobPlan.d.ts +72 -0
  49. package/dist/models/JobPlan.js +137 -0
  50. package/dist/models/JobPlan.js.map +1 -0
  51. package/dist/models/ListDistillationTemplatesRequest.d.ts +53 -0
  52. package/dist/models/ListDistillationTemplatesRequest.js +66 -0
  53. package/dist/models/ListDistillationTemplatesRequest.js.map +1 -0
  54. package/dist/models/ListDistillationTemplatesResponse.d.ts +19 -0
  55. package/dist/models/ListDistillationTemplatesResponse.js +69 -0
  56. package/dist/models/ListDistillationTemplatesResponse.js.map +1 -0
  57. package/dist/models/ListDistillationTemplatesResponseBody.d.ts +51 -0
  58. package/dist/models/ListDistillationTemplatesResponseBody.js +70 -0
  59. package/dist/models/ListDistillationTemplatesResponseBody.js.map +1 -0
  60. package/dist/models/ListJobPlansRequest.d.ts +122 -0
  61. package/dist/models/ListJobPlansRequest.js +100 -0
  62. package/dist/models/ListJobPlansRequest.js.map +1 -0
  63. package/dist/models/ListJobPlansResponse.d.ts +19 -0
  64. package/dist/models/ListJobPlansResponse.js +69 -0
  65. package/dist/models/ListJobPlansResponse.js.map +1 -0
  66. package/dist/models/ListJobPlansResponseBody.d.ts +35 -0
  67. package/dist/models/ListJobPlansResponseBody.js +66 -0
  68. package/dist/models/ListJobPlansResponseBody.js.map +1 -0
  69. package/dist/models/ListJobPlansShrinkRequest.d.ts +94 -0
  70. package/dist/models/ListJobPlansShrinkRequest.js +76 -0
  71. package/dist/models/ListJobPlansShrinkRequest.js.map +1 -0
  72. package/dist/models/ListModelGalleryModelsRequest.d.ts +273 -0
  73. package/dist/models/ListModelGalleryModelsRequest.js +160 -0
  74. package/dist/models/ListModelGalleryModelsRequest.js.map +1 -0
  75. package/dist/models/ListModelGalleryModelsResponse.d.ts +19 -0
  76. package/dist/models/ListModelGalleryModelsResponse.js +69 -0
  77. package/dist/models/ListModelGalleryModelsResponse.js.map +1 -0
  78. package/dist/models/ListModelGalleryModelsResponseBody.d.ts +38 -0
  79. package/dist/models/ListModelGalleryModelsResponseBody.js +66 -0
  80. package/dist/models/ListModelGalleryModelsResponseBody.js.map +1 -0
  81. package/dist/models/ListModelGalleryModelsShrinkRequest.d.ts +209 -0
  82. package/dist/models/ListModelGalleryModelsShrinkRequest.js +110 -0
  83. package/dist/models/ListModelGalleryModelsShrinkRequest.js.map +1 -0
  84. package/dist/models/ModelGalleryModel.d.ts +375 -0
  85. package/dist/models/ModelGalleryModel.js +172 -0
  86. package/dist/models/ModelGalleryModel.js.map +1 -0
  87. package/dist/models/UpdateJobPlanRequest.d.ts +54 -0
  88. package/dist/models/UpdateJobPlanRequest.js +84 -0
  89. package/dist/models/UpdateJobPlanRequest.js.map +1 -0
  90. package/dist/models/UpdateJobPlanResponse.d.ts +19 -0
  91. package/dist/models/UpdateJobPlanResponse.js +69 -0
  92. package/dist/models/UpdateJobPlanResponse.js.map +1 -0
  93. package/dist/models/UpdateJobPlanResponseBody.d.ts +21 -0
  94. package/dist/models/UpdateJobPlanResponseBody.js +58 -0
  95. package/dist/models/UpdateJobPlanResponseBody.js.map +1 -0
  96. package/dist/models/model.d.ts +48 -0
  97. package/dist/models/model.js +100 -0
  98. package/dist/models/model.js.map +1 -0
  99. package/package.json +29 -0
  100. package/src/client.ts +658 -0
  101. package/src/models/CreateJobPlanRequest.ts +174 -0
  102. package/src/models/CreateJobPlanResponse.ts +40 -0
  103. package/src/models/CreateJobPlanResponseBody.ts +44 -0
  104. package/src/models/DeleteJobPlanRequest.ts +24 -0
  105. package/src/models/DeleteJobPlanResponse.ts +40 -0
  106. package/src/models/DeleteJobPlanResponseBody.ts +34 -0
  107. package/src/models/DistillationTemplate.ts +440 -0
  108. package/src/models/DistillationTemplateSummary.ts +214 -0
  109. package/src/models/GetDistillationTemplateRequest.ts +24 -0
  110. package/src/models/GetDistillationTemplateResponse.ts +40 -0
  111. package/src/models/GetDistillationTemplateResponseBody.ts +45 -0
  112. package/src/models/GetJobPlanRequest.ts +24 -0
  113. package/src/models/GetJobPlanResponse.ts +40 -0
  114. package/src/models/GetJobPlanResponseBody.ts +264 -0
  115. package/src/models/JobPlan.ts +144 -0
  116. package/src/models/ListDistillationTemplatesRequest.ts +74 -0
  117. package/src/models/ListDistillationTemplatesResponse.ts +40 -0
  118. package/src/models/ListDistillationTemplatesResponseBody.ts +75 -0
  119. package/src/models/ListJobPlansRequest.ts +168 -0
  120. package/src/models/ListJobPlansResponse.ts +40 -0
  121. package/src/models/ListJobPlansResponseBody.ts +55 -0
  122. package/src/models/ListJobPlansShrinkRequest.ts +125 -0
  123. package/src/models/ListModelGalleryModelsRequest.ts +370 -0
  124. package/src/models/ListModelGalleryModelsResponse.ts +40 -0
  125. package/src/models/ListModelGalleryModelsResponseBody.ts +58 -0
  126. package/src/models/ListModelGalleryModelsShrinkRequest.ts +274 -0
  127. package/src/models/ModelGalleryModel.ts +481 -0
  128. package/src/models/UpdateJobPlanRequest.ts +84 -0
  129. package/src/models/UpdateJobPlanResponse.ts +40 -0
  130. package/src/models/UpdateJobPlanResponseBody.ts +34 -0
  131. package/src/models/model.ts +48 -0
package/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ English | [简体中文](README-CN.md)
2
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
3
+
4
+ # Alibaba Cloud PAIModelGallery SDK for NodeJS
5
+
6
+ ## Installation
7
+ If you use `npm` to manage your dependence, you can use the following command:
8
+
9
+ ```sh
10
+ npm install @alicloud/paimodelgallery20250630 -S
11
+ ```
12
+
13
+ ## Issues
14
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
15
+
16
+ ## Usage
17
+ [Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
18
+
19
+ ## References
20
+ * [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
21
+
22
+ ## License
23
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
24
+
25
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
@@ -0,0 +1,243 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import OpenApi from '@alicloud/openapi-core';
3
+ import { $OpenApiUtil } from '@alicloud/openapi-core';
4
+ import * as $_model from './models/model';
5
+ export * from './models/model';
6
+ export default class Client extends OpenApi {
7
+ constructor(config: $OpenApiUtil.Config);
8
+ getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
9
+ [key: string]: string;
10
+ }, endpoint: string): string;
11
+ /**
12
+ * Creates a new job plan that supports task types such as distillation.
13
+ *
14
+ * @remarks
15
+ * ## Operation description
16
+ * - This API operation creates a new node plan. You can specify the workspace ID, node plan type, name, and steps.
17
+ * - If you use a scenario-specific distillation template, provide the `TemplateId` parameter and make sure that `JobPlanSteps` contains distillation configurations that match the template.
18
+ * - The `Tag` parameter follows the Alibaba Cloud label system specification and is used to add additional identity information to the node plan.
19
+ *
20
+ * @param request - CreateJobPlanRequest
21
+ * @param headers - map
22
+ * @param runtime - runtime options for this request RuntimeOptions
23
+ * @returns CreateJobPlanResponse
24
+ */
25
+ createJobPlanWithOptions(request: $_model.CreateJobPlanRequest, headers: {
26
+ [key: string]: string;
27
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateJobPlanResponse>;
28
+ /**
29
+ * Creates a new job plan that supports task types such as distillation.
30
+ *
31
+ * @remarks
32
+ * ## Operation description
33
+ * - This API operation creates a new node plan. You can specify the workspace ID, node plan type, name, and steps.
34
+ * - If you use a scenario-specific distillation template, provide the `TemplateId` parameter and make sure that `JobPlanSteps` contains distillation configurations that match the template.
35
+ * - The `Tag` parameter follows the Alibaba Cloud label system specification and is used to add additional identity information to the node plan.
36
+ *
37
+ * @param request - CreateJobPlanRequest
38
+ * @returns CreateJobPlanResponse
39
+ */
40
+ createJobPlan(request: $_model.CreateJobPlanRequest): Promise<$_model.CreateJobPlanResponse>;
41
+ /**
42
+ * Deletes a specified task plan by task plan ID.
43
+ *
44
+ * @remarks
45
+ * ## Operation description.
46
+ *
47
+ * @param request - DeleteJobPlanRequest
48
+ * @param headers - map
49
+ * @param runtime - runtime options for this request RuntimeOptions
50
+ * @returns DeleteJobPlanResponse
51
+ */
52
+ deleteJobPlanWithOptions(JobPlanId: string, request: $_model.DeleteJobPlanRequest, headers: {
53
+ [key: string]: string;
54
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteJobPlanResponse>;
55
+ /**
56
+ * Deletes a specified task plan by task plan ID.
57
+ *
58
+ * @remarks
59
+ * ## Operation description.
60
+ *
61
+ * @param request - DeleteJobPlanRequest
62
+ * @returns DeleteJobPlanResponse
63
+ */
64
+ deleteJobPlan(JobPlanId: string, request: $_model.DeleteJobPlanRequest): Promise<$_model.DeleteJobPlanResponse>;
65
+ /**
66
+ * Retrieves the details of a specified distillation template, including preset configurations and default YAML.
67
+ *
68
+ * @remarks
69
+ * ## Operation description
70
+ * - This API operation queries the full details of a specific distillation template to facilitate rendering the creation form.
71
+ * - The template ID is a required parameter, obtained from the `ListDistillationTemplates` operation.
72
+ * - The `DefaultConfig` field provides the complete EasyDistill configuration YAML (with comments). All paths in the YAML are relative paths, and callers do not need to perform absolute path conversion or string replacement.
73
+ * - All translatable fields are automatically parsed into the corresponding language version based on the `x-acs-accept-language` request header.
74
+ * - If the `TrainingOptions` field is missing, the template supports only the first stage of processing. Attempts to use such a template to create a task that includes the second stage will fail.
75
+ *
76
+ * @param request - GetDistillationTemplateRequest
77
+ * @param headers - map
78
+ * @param runtime - runtime options for this request RuntimeOptions
79
+ * @returns GetDistillationTemplateResponse
80
+ */
81
+ getDistillationTemplateWithOptions(TemplateId: string, request: $_model.GetDistillationTemplateRequest, headers: {
82
+ [key: string]: string;
83
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetDistillationTemplateResponse>;
84
+ /**
85
+ * Retrieves the details of a specified distillation template, including preset configurations and default YAML.
86
+ *
87
+ * @remarks
88
+ * ## Operation description
89
+ * - This API operation queries the full details of a specific distillation template to facilitate rendering the creation form.
90
+ * - The template ID is a required parameter, obtained from the `ListDistillationTemplates` operation.
91
+ * - The `DefaultConfig` field provides the complete EasyDistill configuration YAML (with comments). All paths in the YAML are relative paths, and callers do not need to perform absolute path conversion or string replacement.
92
+ * - All translatable fields are automatically parsed into the corresponding language version based on the `x-acs-accept-language` request header.
93
+ * - If the `TrainingOptions` field is missing, the template supports only the first stage of processing. Attempts to use such a template to create a task that includes the second stage will fail.
94
+ *
95
+ * @param request - GetDistillationTemplateRequest
96
+ * @returns GetDistillationTemplateResponse
97
+ */
98
+ getDistillationTemplate(TemplateId: string, request: $_model.GetDistillationTemplateRequest): Promise<$_model.GetDistillationTemplateResponse>;
99
+ /**
100
+ * Queries the details of a specified job plan by job plan ID.
101
+ *
102
+ * @remarks
103
+ * ## Description
104
+ * This API operation retrieves the details of a job plan based on the specified job plan ID (`JobPlanId`), including but not limited to the name, type, and current step status of the job plan. Make sure the `JobPlanId` provided in the request is valid and belongs to your workspace.
105
+ *
106
+ * @param request - GetJobPlanRequest
107
+ * @param headers - map
108
+ * @param runtime - runtime options for this request RuntimeOptions
109
+ * @returns GetJobPlanResponse
110
+ */
111
+ getJobPlanWithOptions(JobPlanId: string, request: $_model.GetJobPlanRequest, headers: {
112
+ [key: string]: string;
113
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetJobPlanResponse>;
114
+ /**
115
+ * Queries the details of a specified job plan by job plan ID.
116
+ *
117
+ * @remarks
118
+ * ## Description
119
+ * This API operation retrieves the details of a job plan based on the specified job plan ID (`JobPlanId`), including but not limited to the name, type, and current step status of the job plan. Make sure the `JobPlanId` provided in the request is valid and belongs to your workspace.
120
+ *
121
+ * @param request - GetJobPlanRequest
122
+ * @returns GetJobPlanResponse
123
+ */
124
+ getJobPlan(JobPlanId: string, request: $_model.GetJobPlanRequest): Promise<$_model.GetJobPlanResponse>;
125
+ /**
126
+ * Retrieves summary information of distillation templates for rendering the template card list.
127
+ *
128
+ * @remarks
129
+ * ## Operation description
130
+ * - This operation supports filtered queries by using the TemplateId, Category, and Keyword parameters.
131
+ * - Pagination is controlled by the PageNumber and PageSize parameters, consistent with other paginated operations of the same service.
132
+ * - Templates are public resources that do not belong to any workspace. Therefore, you do not need to specify WorkspaceId.
133
+ * - All translatable fields such as TemplateName and Description are automatically parsed into the corresponding language version based on the x-acs-accept-language request header.
134
+ *
135
+ * @param request - ListDistillationTemplatesRequest
136
+ * @param headers - map
137
+ * @param runtime - runtime options for this request RuntimeOptions
138
+ * @returns ListDistillationTemplatesResponse
139
+ */
140
+ listDistillationTemplatesWithOptions(request: $_model.ListDistillationTemplatesRequest, headers: {
141
+ [key: string]: string;
142
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListDistillationTemplatesResponse>;
143
+ /**
144
+ * Retrieves summary information of distillation templates for rendering the template card list.
145
+ *
146
+ * @remarks
147
+ * ## Operation description
148
+ * - This operation supports filtered queries by using the TemplateId, Category, and Keyword parameters.
149
+ * - Pagination is controlled by the PageNumber and PageSize parameters, consistent with other paginated operations of the same service.
150
+ * - Templates are public resources that do not belong to any workspace. Therefore, you do not need to specify WorkspaceId.
151
+ * - All translatable fields such as TemplateName and Description are automatically parsed into the corresponding language version based on the x-acs-accept-language request header.
152
+ *
153
+ * @param request - ListDistillationTemplatesRequest
154
+ * @returns ListDistillationTemplatesResponse
155
+ */
156
+ listDistillationTemplates(request: $_model.ListDistillationTemplatesRequest): Promise<$_model.ListDistillationTemplatesResponse>;
157
+ /**
158
+ * Retrieves the list of job plans in a specified workspace.
159
+ *
160
+ * @remarks
161
+ * ## Operation description
162
+ * - `WorkspaceId` is a required parameter that specifies the workspace to which the job plans belong.
163
+ * - The `Tag` parameter must be encoded by using `EncodeURI` before being passed.
164
+ * - If both `TemplateId` and `HasTemplate` are specified, the value of `TemplateId` takes precedence for filtering.
165
+ * - `JobPlanName` supports exact match. Enclose the specific name in quotation marks.
166
+ * - By default, results are sorted in descending order by creation time (`GmtCreateTime`). Set the `Order` parameter to `ASC` to change the sort order.
167
+ *
168
+ * @param tmpReq - ListJobPlansRequest
169
+ * @param headers - map
170
+ * @param runtime - runtime options for this request RuntimeOptions
171
+ * @returns ListJobPlansResponse
172
+ */
173
+ listJobPlansWithOptions(tmpReq: $_model.ListJobPlansRequest, headers: {
174
+ [key: string]: string;
175
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListJobPlansResponse>;
176
+ /**
177
+ * Retrieves the list of job plans in a specified workspace.
178
+ *
179
+ * @remarks
180
+ * ## Operation description
181
+ * - `WorkspaceId` is a required parameter that specifies the workspace to which the job plans belong.
182
+ * - The `Tag` parameter must be encoded by using `EncodeURI` before being passed.
183
+ * - If both `TemplateId` and `HasTemplate` are specified, the value of `TemplateId` takes precedence for filtering.
184
+ * - `JobPlanName` supports exact match. Enclose the specific name in quotation marks.
185
+ * - By default, results are sorted in descending order by creation time (`GmtCreateTime`). Set the `Order` parameter to `ASC` to change the sort order.
186
+ *
187
+ * @param request - ListJobPlansRequest
188
+ * @returns ListJobPlansResponse
189
+ */
190
+ listJobPlans(request: $_model.ListJobPlansRequest): Promise<$_model.ListJobPlansResponse>;
191
+ /**
192
+ * Retrieves the list of models from ModelGallery (deprecated, use the 2026-06-03 version instead).
193
+ *
194
+ * @param tmpReq - ListModelGalleryModelsRequest
195
+ * @param headers - map
196
+ * @param runtime - runtime options for this request RuntimeOptions
197
+ * @returns ListModelGalleryModelsResponse
198
+ */
199
+ listModelGalleryModelsWithOptions(tmpReq: $_model.ListModelGalleryModelsRequest, headers: {
200
+ [key: string]: string;
201
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListModelGalleryModelsResponse>;
202
+ /**
203
+ * Retrieves the list of models from ModelGallery (deprecated, use the 2026-06-03 version instead).
204
+ *
205
+ * @param request - ListModelGalleryModelsRequest
206
+ * @returns ListModelGalleryModelsResponse
207
+ */
208
+ listModelGalleryModels(request: $_model.ListModelGalleryModelsRequest): Promise<$_model.ListModelGalleryModelsResponse>;
209
+ /**
210
+ * Updates the current step and tag information of a specified task plan.
211
+ *
212
+ * @remarks
213
+ * ## Request description
214
+ * You can use this API operation to update the current execution step (`JobPlanCurrentStep`) and related tags (`Tag`) of a specific task plan identified by `JobPlanId`. If the request contains tag information, tags are updated or added based on the provided key-value pairs.
215
+ * - **JobPlanId** is a path parameter. You must provide a valid task plan ID.
216
+ * - **JobPlanCurrentStep** is an optional parameter that specifies the new current step of the task.
217
+ * - **Tag** is an optional parameter that specifies a list of key-value pairs used to label the task plan. Each tag consists of a `Key` and a `Value`.
218
+ * Note: Ensure that the `JobPlanId` you provide exists and that you have the permissions to modify it.
219
+ *
220
+ * @param request - UpdateJobPlanRequest
221
+ * @param headers - map
222
+ * @param runtime - runtime options for this request RuntimeOptions
223
+ * @returns UpdateJobPlanResponse
224
+ */
225
+ updateJobPlanWithOptions(JobPlanId: string, request: $_model.UpdateJobPlanRequest, headers: {
226
+ [key: string]: string;
227
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateJobPlanResponse>;
228
+ /**
229
+ * Updates the current step and tag information of a specified task plan.
230
+ *
231
+ * @remarks
232
+ * ## Request description
233
+ * You can use this API operation to update the current execution step (`JobPlanCurrentStep`) and related tags (`Tag`) of a specific task plan identified by `JobPlanId`. If the request contains tag information, tags are updated or added based on the provided key-value pairs.
234
+ * - **JobPlanId** is a path parameter. You must provide a valid task plan ID.
235
+ * - **JobPlanCurrentStep** is an optional parameter that specifies the new current step of the task.
236
+ * - **Tag** is an optional parameter that specifies a list of key-value pairs used to label the task plan. Each tag consists of a `Key` and a `Value`.
237
+ * Note: Ensure that the `JobPlanId` you provide exists and that you have the permissions to modify it.
238
+ *
239
+ * @param request - UpdateJobPlanRequest
240
+ * @returns UpdateJobPlanResponse
241
+ */
242
+ updateJobPlan(JobPlanId: string, request: $_model.UpdateJobPlanRequest): Promise<$_model.UpdateJobPlanResponse>;
243
+ }