@alicloud/dms20250414 4.6.0 → 5.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 (153) hide show
  1. package/dist/client.d.ts +18 -33
  2. package/dist/client.js +36 -85
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddUserToDataAgentWorkspaceRequest.d.ts +1 -1
  5. package/dist/models/AddUserToDataAgentWorkspaceResponseBody.d.ts +1 -1
  6. package/dist/models/CreateAirflowRequest.d.ts +31 -10
  7. package/dist/models/CreateAirflowRequest.js +6 -0
  8. package/dist/models/CreateAirflowRequest.js.map +1 -1
  9. package/dist/models/CreateAirflowResponseBody.d.ts +36 -15
  10. package/dist/models/CreateAirflowResponseBody.js +6 -0
  11. package/dist/models/CreateAirflowResponseBody.js.map +1 -1
  12. package/dist/models/CreateAirflowShrinkRequest.d.ts +31 -10
  13. package/dist/models/CreateAirflowShrinkRequest.js +6 -0
  14. package/dist/models/CreateAirflowShrinkRequest.js.map +1 -1
  15. package/dist/models/CreateCustomAgentRequest.d.ts +38 -38
  16. package/dist/models/CreateCustomAgentResponseBody.d.ts +18 -18
  17. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -30
  18. package/dist/models/CreateDataAgentAccuracyTestRequest.d.ts +6 -6
  19. package/dist/models/CreateDataAgentAccuracyTestResponseBody.d.ts +5 -5
  20. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +1 -1
  21. package/dist/models/DataAgentApplication.d.ts +124 -2
  22. package/dist/models/DataAgentApplication.js +45 -1
  23. package/dist/models/DataAgentApplication.js.map +1 -1
  24. package/dist/models/DataAgentApplicationAgreement.d.ts +53 -0
  25. package/dist/models/{BatchCreateDataLakePartitionsShrinkRequest.js → DataAgentApplicationAgreement.js} +13 -19
  26. package/dist/models/DataAgentApplicationAgreement.js.map +1 -0
  27. package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +2 -2
  28. package/dist/models/DescribeCustomAgentResponseBody.d.ts +32 -32
  29. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +38 -37
  30. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  31. package/dist/models/FileUploadCallbackRequest.d.ts +2 -2
  32. package/dist/models/GetAirflowRequest.d.ts +2 -2
  33. package/dist/models/GetAirflowResponseBody.d.ts +37 -17
  34. package/dist/models/GetAirflowResponseBody.js +6 -0
  35. package/dist/models/GetAirflowResponseBody.js.map +1 -1
  36. package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +3 -3
  37. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +10 -2
  38. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js +2 -0
  39. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
  40. package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +3 -3
  41. package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +2 -2
  42. package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +21 -5
  43. package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +4 -0
  44. package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
  45. package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +2 -2
  46. package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +1 -1
  47. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +1 -1
  48. package/dist/models/GetNotebookAndSubmitTaskRequest.d.ts +2 -2
  49. package/dist/models/ListAirflowsRequest.d.ts +5 -5
  50. package/dist/models/ListAirflowsResponseBody.d.ts +43 -23
  51. package/dist/models/ListAirflowsResponseBody.js +6 -0
  52. package/dist/models/ListAirflowsResponseBody.js.map +1 -1
  53. package/dist/models/ListCustomAgentRequest.d.ts +2 -2
  54. package/dist/models/ListCustomAgentResponseBody.d.ts +37 -37
  55. package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +3 -3
  56. package/dist/models/ListDataAgentAccuracyTestTasksResponseBody.d.ts +1 -1
  57. package/dist/models/ListDataAgentWorkspaceMemberResponseBody.d.ts +3 -3
  58. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +1 -1
  59. package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +2 -2
  60. package/dist/models/ModifyCustomAgentRequest.d.ts +40 -40
  61. package/dist/models/ModifyCustomAgentResponseBody.d.ts +17 -17
  62. package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +33 -33
  63. package/dist/models/RedeployAirflowResponseBody.d.ts +1 -1
  64. package/dist/models/ResetAgenticApiKeyResponseBody.d.ts +1 -1
  65. package/dist/models/RetrieveKnowledgeBaseRequest.d.ts +2 -2
  66. package/dist/models/SendChatMessageRequest.d.ts +2 -2
  67. package/dist/models/SetWorkspaceQuotaRequest.d.ts +5 -5
  68. package/dist/models/SetWorkspaceQuotaResponseBody.d.ts +9 -9
  69. package/dist/models/UpdateAirflowRequest.d.ts +26 -5
  70. package/dist/models/UpdateAirflowRequest.js +6 -0
  71. package/dist/models/UpdateAirflowRequest.js.map +1 -1
  72. package/dist/models/UpdateAirflowResponseBody.d.ts +28 -7
  73. package/dist/models/UpdateAirflowResponseBody.js +6 -0
  74. package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
  75. package/dist/models/UpdateAirflowShrinkRequest.d.ts +26 -5
  76. package/dist/models/UpdateAirflowShrinkRequest.js +6 -0
  77. package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
  78. package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +4 -4
  79. package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +4 -4
  80. package/dist/models/UpdateOneMetaSqlTemplateRequest.d.ts +1 -1
  81. package/dist/models/model.d.ts +2 -4
  82. package/dist/models/model.js +20 -24
  83. package/dist/models/model.js.map +1 -1
  84. package/package.json +1 -1
  85. package/src/client.ts +42 -96
  86. package/src/models/AddUserToDataAgentWorkspaceRequest.ts +1 -1
  87. package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +1 -1
  88. package/src/models/CreateAirflowRequest.ts +37 -10
  89. package/src/models/CreateAirflowResponseBody.ts +42 -15
  90. package/src/models/CreateAirflowShrinkRequest.ts +37 -10
  91. package/src/models/CreateCustomAgentRequest.ts +38 -38
  92. package/src/models/CreateCustomAgentResponseBody.ts +18 -18
  93. package/src/models/CreateCustomAgentShrinkRequest.ts +30 -30
  94. package/src/models/CreateDataAgentAccuracyTestRequest.ts +6 -6
  95. package/src/models/CreateDataAgentAccuracyTestResponseBody.ts +5 -5
  96. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +1 -1
  97. package/src/models/DataAgentApplication.ts +159 -2
  98. package/src/models/DataAgentApplicationAgreement.ts +74 -0
  99. package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +2 -2
  100. package/src/models/DescribeCustomAgentResponseBody.ts +32 -32
  101. package/src/models/DescribeDataAgentSessionResponseBody.ts +38 -37
  102. package/src/models/FileUploadCallbackRequest.ts +2 -2
  103. package/src/models/GetAirflowRequest.ts +2 -2
  104. package/src/models/GetAirflowResponseBody.ts +43 -17
  105. package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -3
  106. package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -2
  107. package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +3 -3
  108. package/src/models/GetDataAgentTaskModelUsageRequest.ts +2 -2
  109. package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +25 -5
  110. package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +2 -2
  111. package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +1 -1
  112. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +1 -1
  113. package/src/models/GetNotebookAndSubmitTaskRequest.ts +2 -2
  114. package/src/models/ListAirflowsRequest.ts +5 -5
  115. package/src/models/ListAirflowsResponseBody.ts +49 -23
  116. package/src/models/ListCustomAgentRequest.ts +2 -2
  117. package/src/models/ListCustomAgentResponseBody.ts +37 -37
  118. package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +3 -3
  119. package/src/models/ListDataAgentAccuracyTestTasksResponseBody.ts +1 -1
  120. package/src/models/ListDataAgentWorkspaceMemberResponseBody.ts +3 -3
  121. package/src/models/ListDataAgentWorkspaceResponseBody.ts +1 -1
  122. package/src/models/ListDataCenterDatabaseResponseBody.ts +2 -2
  123. package/src/models/ModifyCustomAgentRequest.ts +40 -40
  124. package/src/models/ModifyCustomAgentResponseBody.ts +17 -17
  125. package/src/models/ModifyCustomAgentShrinkRequest.ts +33 -33
  126. package/src/models/RedeployAirflowResponseBody.ts +1 -1
  127. package/src/models/ResetAgenticApiKeyResponseBody.ts +1 -1
  128. package/src/models/RetrieveKnowledgeBaseRequest.ts +2 -2
  129. package/src/models/SendChatMessageRequest.ts +2 -2
  130. package/src/models/SetWorkspaceQuotaRequest.ts +5 -5
  131. package/src/models/SetWorkspaceQuotaResponseBody.ts +9 -9
  132. package/src/models/UpdateAirflowRequest.ts +32 -5
  133. package/src/models/UpdateAirflowResponseBody.ts +34 -7
  134. package/src/models/UpdateAirflowShrinkRequest.ts +32 -5
  135. package/src/models/UpdateDataAgentAccuracyTestRequest.ts +4 -4
  136. package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +4 -4
  137. package/src/models/UpdateOneMetaSqlTemplateRequest.ts +1 -1
  138. package/src/models/model.ts +2 -4
  139. package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +0 -88
  140. package/dist/models/BatchCreateDataLakePartitionsRequest.js +0 -76
  141. package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +0 -1
  142. package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +0 -19
  143. package/dist/models/BatchCreateDataLakePartitionsResponse.js +0 -69
  144. package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +0 -1
  145. package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +0 -54
  146. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +0 -70
  147. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +0 -1
  148. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +0 -87
  149. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +0 -1
  150. package/src/models/BatchCreateDataLakePartitionsRequest.ts +0 -118
  151. package/src/models/BatchCreateDataLakePartitionsResponse.ts +0 -40
  152. package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +0 -78
  153. package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +0 -114
@@ -1,54 +0,0 @@
1
- import * as $dara from '@darabonba/typescript';
2
- import { DLPartition } from "./Dlpartition";
3
- export declare class BatchCreateDataLakePartitionsResponseBody extends $dara.Model {
4
- /**
5
- * @remarks
6
- * The error code.
7
- *
8
- * @example
9
- * UnknownError
10
- */
11
- errorCode?: string;
12
- /**
13
- * @remarks
14
- * The error message returned when the call fails.
15
- *
16
- * @example
17
- * UnknownError
18
- */
19
- errorMessage?: string;
20
- /**
21
- * @remarks
22
- * The list of created partitions. This field is returned when the **NeedResult** parameter is set to **true**.
23
- */
24
- partitions?: DLPartition[];
25
- /**
26
- * @remarks
27
- * The request ID, which is used to locate logs and troubleshoot issues.
28
- *
29
- * @example
30
- * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52****
31
- */
32
- requestId?: string;
33
- /**
34
- * @remarks
35
- * Indicates whether the request is successful. Valid values:
36
- *
37
- * - **true**: The request is successful.
38
- * - **false**: The request fails.
39
- *
40
- * @example
41
- * true
42
- */
43
- success?: string;
44
- static names(): {
45
- [key: string]: string;
46
- };
47
- static types(): {
48
- [key: string]: any;
49
- };
50
- validate(): void;
51
- constructor(map?: {
52
- [key: string]: any;
53
- });
54
- }
@@ -1,70 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.BatchCreateDataLakePartitionsResponseBody = void 0;
37
- // This file is auto-generated, don't edit it
38
- const $dara = __importStar(require("@darabonba/typescript"));
39
- const Dlpartition_1 = require("./Dlpartition");
40
- class BatchCreateDataLakePartitionsResponseBody extends $dara.Model {
41
- static names() {
42
- return {
43
- errorCode: 'ErrorCode',
44
- errorMessage: 'ErrorMessage',
45
- partitions: 'Partitions',
46
- requestId: 'RequestId',
47
- success: 'Success',
48
- };
49
- }
50
- static types() {
51
- return {
52
- errorCode: 'string',
53
- errorMessage: 'string',
54
- partitions: { 'type': 'array', 'itemType': Dlpartition_1.DLPartition },
55
- requestId: 'string',
56
- success: 'string',
57
- };
58
- }
59
- validate() {
60
- if (Array.isArray(this.partitions)) {
61
- $dara.Model.validateArray(this.partitions);
62
- }
63
- super.validate();
64
- }
65
- constructor(map) {
66
- super(map);
67
- }
68
- }
69
- exports.BatchCreateDataLakePartitionsResponseBody = BatchCreateDataLakePartitionsResponseBody;
70
- //# sourceMappingURL=BatchCreateDataLakePartitionsResponseBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BatchCreateDataLakePartitionsResponseBody.js","sourceRoot":"","sources":["../../src/models/BatchCreateDataLakePartitionsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+CAA4C;AAG5C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAyCxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,yBAAW,EAAE;YACxD,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvED,8FAuEC"}
@@ -1,87 +0,0 @@
1
- import * as $dara from '@darabonba/typescript';
2
- export declare class BatchCreateDataLakePartitionsShrinkRequest extends $dara.Model {
3
- /**
4
- * @remarks
5
- * The name of the data catalog.
6
- *
7
- * This parameter is required.
8
- *
9
- * @example
10
- * hive
11
- */
12
- catalogName?: string;
13
- /**
14
- * @remarks
15
- * The name of the database.
16
- *
17
- * This parameter is required.
18
- *
19
- * @example
20
- * default
21
- */
22
- dbName?: string;
23
- /**
24
- * @remarks
25
- * Specifies whether to ignore the exception if the name of a new partition duplicates an existing partition name. Valid values:
26
- *
27
- * - **true**: The exception is ignored.
28
- *
29
- * - **false**: The exception is not ignored.
30
- *
31
- * @example
32
- * true
33
- */
34
- ifNotExists?: boolean;
35
- /**
36
- * @remarks
37
- * Specifies whether to return partition information. If this parameter is set to **true**, the Partitions field is returned.
38
- *
39
- * @example
40
- * true
41
- */
42
- needResult?: boolean;
43
- /**
44
- * @remarks
45
- * The information about the partitions to be added.
46
- *
47
- * This parameter is required.
48
- */
49
- partitionInputsShrink?: string;
50
- /**
51
- * @remarks
52
- * The name of the table.
53
- *
54
- * This parameter is required.
55
- *
56
- * @example
57
- * test_table
58
- */
59
- tableName?: string;
60
- /**
61
- * @remarks
62
- * The tenant ID.
63
- * > Move the pointer over the profile picture in the upper-right corner of the console to view the tenant ID. For more information, see [View tenant information](https://help.aliyun.com/document_detail/181330.html).
64
- *
65
- * @example
66
- * 3****
67
- */
68
- tid?: number;
69
- /**
70
- * @remarks
71
- * The workspace ID.
72
- *
73
- * @example
74
- * 12****
75
- */
76
- workspaceId?: number;
77
- static names(): {
78
- [key: string]: string;
79
- };
80
- static types(): {
81
- [key: string]: any;
82
- };
83
- validate(): void;
84
- constructor(map?: {
85
- [key: string]: any;
86
- });
87
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"BatchCreateDataLakePartitionsShrinkRequest.js","sourceRoot":"","sources":["../../src/models/BatchCreateDataLakePartitionsShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IA2EzE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,qBAAqB,EAAE,iBAAiB;YACxC,SAAS,EAAE,WAAW;YACtB,GAAG,EAAE,KAAK;YACV,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,SAAS;YACtB,UAAU,EAAE,SAAS;YACrB,qBAAqB,EAAE,QAAQ;YAC/B,SAAS,EAAE,QAAQ;YACnB,GAAG,EAAE,QAAQ;YACb,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5GD,gGA4GC"}
@@ -1,118 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { DLPartitionInput } from "./DlpartitionInput";
4
-
5
-
6
- export class BatchCreateDataLakePartitionsRequest extends $dara.Model {
7
- /**
8
- * @remarks
9
- * The name of the data catalog.
10
- *
11
- * This parameter is required.
12
- *
13
- * @example
14
- * hive
15
- */
16
- catalogName?: string;
17
- /**
18
- * @remarks
19
- * The name of the database.
20
- *
21
- * This parameter is required.
22
- *
23
- * @example
24
- * default
25
- */
26
- dbName?: string;
27
- /**
28
- * @remarks
29
- * Specifies whether to ignore the exception if the name of a new partition duplicates an existing partition name. Valid values:
30
- *
31
- * - **true**: The exception is ignored.
32
- *
33
- * - **false**: The exception is not ignored.
34
- *
35
- * @example
36
- * true
37
- */
38
- ifNotExists?: boolean;
39
- /**
40
- * @remarks
41
- * Specifies whether to return partition information. If this parameter is set to **true**, the Partitions field is returned.
42
- *
43
- * @example
44
- * true
45
- */
46
- needResult?: boolean;
47
- /**
48
- * @remarks
49
- * The information about the partitions to be added.
50
- *
51
- * This parameter is required.
52
- */
53
- partitionInputs?: DLPartitionInput[];
54
- /**
55
- * @remarks
56
- * The name of the table.
57
- *
58
- * This parameter is required.
59
- *
60
- * @example
61
- * test_table
62
- */
63
- tableName?: string;
64
- /**
65
- * @remarks
66
- * The tenant ID.
67
- * > Move the pointer over the profile picture in the upper-right corner of the console to view the tenant ID. For more information, see [View tenant information](https://help.aliyun.com/document_detail/181330.html).
68
- *
69
- * @example
70
- * 3****
71
- */
72
- tid?: number;
73
- /**
74
- * @remarks
75
- * The workspace ID.
76
- *
77
- * @example
78
- * 12****
79
- */
80
- workspaceId?: number;
81
- static names(): { [key: string]: string } {
82
- return {
83
- catalogName: 'CatalogName',
84
- dbName: 'DbName',
85
- ifNotExists: 'IfNotExists',
86
- needResult: 'NeedResult',
87
- partitionInputs: 'PartitionInputs',
88
- tableName: 'TableName',
89
- tid: 'Tid',
90
- workspaceId: 'WorkspaceId',
91
- };
92
- }
93
-
94
- static types(): { [key: string]: any } {
95
- return {
96
- catalogName: 'string',
97
- dbName: 'string',
98
- ifNotExists: 'boolean',
99
- needResult: 'boolean',
100
- partitionInputs: { 'type': 'array', 'itemType': DLPartitionInput },
101
- tableName: 'string',
102
- tid: 'number',
103
- workspaceId: 'number',
104
- };
105
- }
106
-
107
- validate() {
108
- if(Array.isArray(this.partitionInputs)) {
109
- $dara.Model.validateArray(this.partitionInputs);
110
- }
111
- super.validate();
112
- }
113
-
114
- constructor(map?: { [key: string]: any }) {
115
- super(map);
116
- }
117
- }
118
-
@@ -1,40 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { BatchCreateDataLakePartitionsResponseBody } from "./BatchCreateDataLakePartitionsResponseBody";
4
-
5
-
6
- export class BatchCreateDataLakePartitionsResponse extends $dara.Model {
7
- headers?: { [key: string]: string };
8
- statusCode?: number;
9
- body?: BatchCreateDataLakePartitionsResponseBody;
10
- static names(): { [key: string]: string } {
11
- return {
12
- headers: 'headers',
13
- statusCode: 'statusCode',
14
- body: 'body',
15
- };
16
- }
17
-
18
- static types(): { [key: string]: any } {
19
- return {
20
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
- statusCode: 'number',
22
- body: BatchCreateDataLakePartitionsResponseBody,
23
- };
24
- }
25
-
26
- validate() {
27
- if(this.headers) {
28
- $dara.Model.validateMap(this.headers);
29
- }
30
- if(this.body && typeof (this.body as any).validate === 'function') {
31
- (this.body as any).validate();
32
- }
33
- super.validate();
34
- }
35
-
36
- constructor(map?: { [key: string]: any }) {
37
- super(map);
38
- }
39
- }
40
-
@@ -1,78 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { DLPartition } from "./Dlpartition";
4
-
5
-
6
- export class BatchCreateDataLakePartitionsResponseBody extends $dara.Model {
7
- /**
8
- * @remarks
9
- * The error code.
10
- *
11
- * @example
12
- * UnknownError
13
- */
14
- errorCode?: string;
15
- /**
16
- * @remarks
17
- * The error message returned when the call fails.
18
- *
19
- * @example
20
- * UnknownError
21
- */
22
- errorMessage?: string;
23
- /**
24
- * @remarks
25
- * The list of created partitions. This field is returned when the **NeedResult** parameter is set to **true**.
26
- */
27
- partitions?: DLPartition[];
28
- /**
29
- * @remarks
30
- * The request ID, which is used to locate logs and troubleshoot issues.
31
- *
32
- * @example
33
- * 0C1CB646-1DE4-4AD0-B4A4-7D47DD52****
34
- */
35
- requestId?: string;
36
- /**
37
- * @remarks
38
- * Indicates whether the request is successful. Valid values:
39
- *
40
- * - **true**: The request is successful.
41
- * - **false**: The request fails.
42
- *
43
- * @example
44
- * true
45
- */
46
- success?: string;
47
- static names(): { [key: string]: string } {
48
- return {
49
- errorCode: 'ErrorCode',
50
- errorMessage: 'ErrorMessage',
51
- partitions: 'Partitions',
52
- requestId: 'RequestId',
53
- success: 'Success',
54
- };
55
- }
56
-
57
- static types(): { [key: string]: any } {
58
- return {
59
- errorCode: 'string',
60
- errorMessage: 'string',
61
- partitions: { 'type': 'array', 'itemType': DLPartition },
62
- requestId: 'string',
63
- success: 'string',
64
- };
65
- }
66
-
67
- validate() {
68
- if(Array.isArray(this.partitions)) {
69
- $dara.Model.validateArray(this.partitions);
70
- }
71
- super.validate();
72
- }
73
-
74
- constructor(map?: { [key: string]: any }) {
75
- super(map);
76
- }
77
- }
78
-
@@ -1,114 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
-
4
-
5
- export class BatchCreateDataLakePartitionsShrinkRequest extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The name of the data catalog.
9
- *
10
- * This parameter is required.
11
- *
12
- * @example
13
- * hive
14
- */
15
- catalogName?: string;
16
- /**
17
- * @remarks
18
- * The name of the database.
19
- *
20
- * This parameter is required.
21
- *
22
- * @example
23
- * default
24
- */
25
- dbName?: string;
26
- /**
27
- * @remarks
28
- * Specifies whether to ignore the exception if the name of a new partition duplicates an existing partition name. Valid values:
29
- *
30
- * - **true**: The exception is ignored.
31
- *
32
- * - **false**: The exception is not ignored.
33
- *
34
- * @example
35
- * true
36
- */
37
- ifNotExists?: boolean;
38
- /**
39
- * @remarks
40
- * Specifies whether to return partition information. If this parameter is set to **true**, the Partitions field is returned.
41
- *
42
- * @example
43
- * true
44
- */
45
- needResult?: boolean;
46
- /**
47
- * @remarks
48
- * The information about the partitions to be added.
49
- *
50
- * This parameter is required.
51
- */
52
- partitionInputsShrink?: string;
53
- /**
54
- * @remarks
55
- * The name of the table.
56
- *
57
- * This parameter is required.
58
- *
59
- * @example
60
- * test_table
61
- */
62
- tableName?: string;
63
- /**
64
- * @remarks
65
- * The tenant ID.
66
- * > Move the pointer over the profile picture in the upper-right corner of the console to view the tenant ID. For more information, see [View tenant information](https://help.aliyun.com/document_detail/181330.html).
67
- *
68
- * @example
69
- * 3****
70
- */
71
- tid?: number;
72
- /**
73
- * @remarks
74
- * The workspace ID.
75
- *
76
- * @example
77
- * 12****
78
- */
79
- workspaceId?: number;
80
- static names(): { [key: string]: string } {
81
- return {
82
- catalogName: 'CatalogName',
83
- dbName: 'DbName',
84
- ifNotExists: 'IfNotExists',
85
- needResult: 'NeedResult',
86
- partitionInputsShrink: 'PartitionInputs',
87
- tableName: 'TableName',
88
- tid: 'Tid',
89
- workspaceId: 'WorkspaceId',
90
- };
91
- }
92
-
93
- static types(): { [key: string]: any } {
94
- return {
95
- catalogName: 'string',
96
- dbName: 'string',
97
- ifNotExists: 'boolean',
98
- needResult: 'boolean',
99
- partitionInputsShrink: 'string',
100
- tableName: 'string',
101
- tid: 'number',
102
- workspaceId: 'number',
103
- };
104
- }
105
-
106
- validate() {
107
- super.validate();
108
- }
109
-
110
- constructor(map?: { [key: string]: any }) {
111
- super(map);
112
- }
113
- }
114
-