@alicloud/adb20211201 5.0.0 → 5.0.2

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 (40) hide show
  1. package/dist/client.d.ts +26 -26
  2. package/dist/client.js +38 -26
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApsSlsAdbjobRequest.d.ts +34 -34
  5. package/dist/models/CreateApsSlsAdbjobResponseBody.d.ts +8 -9
  6. package/dist/models/CreateApsSlsAdbjobResponseBody.js.map +1 -1
  7. package/dist/models/CreateApsSlsAdbjobShrinkRequest.d.ts +25 -25
  8. package/dist/models/DescribeAdbMySqlColumnsRequest.d.ts +11 -6
  9. package/dist/models/DescribeAdbMySqlColumnsRequest.js +2 -0
  10. package/dist/models/DescribeAdbMySqlColumnsRequest.js.map +1 -1
  11. package/dist/models/DescribeAdbMySqlColumnsResponseBody.d.ts +12 -14
  12. package/dist/models/DescribeAdbMySqlColumnsResponseBody.js.map +1 -1
  13. package/dist/models/DescribeAdbMySqlSchemasRequest.d.ts +8 -3
  14. package/dist/models/DescribeAdbMySqlSchemasRequest.js +2 -0
  15. package/dist/models/DescribeAdbMySqlSchemasRequest.js.map +1 -1
  16. package/dist/models/DescribeAdbMySqlSchemasResponseBody.d.ts +7 -9
  17. package/dist/models/DescribeAdbMySqlSchemasResponseBody.js.map +1 -1
  18. package/dist/models/DescribeAdbMySqlTablesRequest.d.ts +7 -3
  19. package/dist/models/DescribeAdbMySqlTablesRequest.js +2 -0
  20. package/dist/models/DescribeAdbMySqlTablesRequest.js.map +1 -1
  21. package/dist/models/DescribeAdbMySqlTablesResponseBody.d.ts +5 -9
  22. package/dist/models/DescribeAdbMySqlTablesResponseBody.js.map +1 -1
  23. package/dist/models/DescribeAuditLogRecordsRequest.d.ts +37 -70
  24. package/dist/models/DescribeAuditLogRecordsRequest.js +2 -0
  25. package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
  26. package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +17 -19
  27. package/dist/models/DescribeAuditLogRecordsResponseBody.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client.ts +42 -26
  30. package/src/models/CreateApsSlsAdbjobRequest.ts +34 -34
  31. package/src/models/CreateApsSlsAdbjobResponseBody.ts +8 -9
  32. package/src/models/CreateApsSlsAdbjobShrinkRequest.ts +25 -25
  33. package/src/models/DescribeAdbMySqlColumnsRequest.ts +13 -6
  34. package/src/models/DescribeAdbMySqlColumnsResponseBody.ts +12 -14
  35. package/src/models/DescribeAdbMySqlSchemasRequest.ts +10 -3
  36. package/src/models/DescribeAdbMySqlSchemasResponseBody.ts +7 -9
  37. package/src/models/DescribeAdbMySqlTablesRequest.ts +9 -3
  38. package/src/models/DescribeAdbMySqlTablesResponseBody.ts +5 -9
  39. package/src/models/DescribeAuditLogRecordsRequest.ts +39 -70
  40. package/src/models/DescribeAuditLogRecordsResponseBody.ts +17 -19
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of the cross-account role.
8
+ * The role name for cross-account access.
9
9
  *
10
10
  * @example
11
11
  * test-role
@@ -13,7 +13,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
13
13
  acrossRole?: string;
14
14
  /**
15
15
  * @remarks
16
- * The cross-account UID.
16
+ * The UID for cross-account access.
17
17
  *
18
18
  * @example
19
19
  * 123456
@@ -21,7 +21,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
21
21
  acrossUid?: string;
22
22
  /**
23
23
  * @remarks
24
- * The advanced configurations.
24
+ * The advanced configuration.
25
25
  *
26
26
  * @example
27
27
  * -
@@ -29,7 +29,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
29
29
  advancedConfig?: string;
30
30
  /**
31
31
  * @remarks
32
- * The information about columns.
32
+ * The column information.
33
33
  *
34
34
  * This parameter is required.
35
35
  *
@@ -57,7 +57,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
57
57
  datasourceId?: number;
58
58
  /**
59
59
  * @remarks
60
- * The name of the database.
60
+ * The database name.
61
61
  *
62
62
  * This parameter is required.
63
63
  *
@@ -85,7 +85,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
85
85
  dirtyDataProcessPattern?: string;
86
86
  /**
87
87
  * @remarks
88
- * Specifies whether to enable the consistency check.
88
+ * Specifies whether to enable exactly-once semantics.
89
89
  *
90
90
  * @example
91
91
  * false
@@ -93,7 +93,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
93
93
  exactlyOnce?: string;
94
94
  /**
95
95
  * @remarks
96
- * The number of full AnalyticDB compute units (ACUs).
96
+ * The number of AnalyticDB compute units (ACUs) for full data synchronization.
97
97
  *
98
98
  * @example
99
99
  * 16
@@ -101,7 +101,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
101
101
  fullComputeUnit?: string;
102
102
  /**
103
103
  * @remarks
104
- * The advanced configurations of Hudi.
104
+ * The Hudi advanced configuration.
105
105
  *
106
106
  * @example
107
107
  * -
@@ -109,7 +109,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
109
109
  hudiAdvancedConfig?: string;
110
110
  /**
111
111
  * @remarks
112
- * The number of increment ACUs.
112
+ * The number of AnalyticDB compute units (ACUs) for incremental data synchronization.
113
113
  *
114
114
  * @example
115
115
  * 168
@@ -117,7 +117,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
117
117
  incrementalComputeUnit?: string;
118
118
  /**
119
119
  * @remarks
120
- * The lakehouse ID.
120
+ * lakehosue ID。
121
121
  *
122
122
  * @example
123
123
  * 123
@@ -125,7 +125,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
125
125
  lakehouseId?: number;
126
126
  /**
127
127
  * @remarks
128
- * The latest offset.
128
+ * The maximum offset.
129
129
  *
130
130
  * @example
131
131
  * -
@@ -133,7 +133,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
133
133
  maxOffsetsPerTrigger?: number;
134
134
  /**
135
135
  * @remarks
136
- * The Object Storage Service (OSS) URL.
136
+ * The OSS address.
137
137
  *
138
138
  * @example
139
139
  * oss://test*
@@ -141,7 +141,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
141
141
  ossLocation?: string;
142
142
  /**
143
143
  * @remarks
144
- * The format of the output file.
144
+ * The output format.
145
145
  *
146
146
  * @example
147
147
  * -
@@ -149,7 +149,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
149
149
  outputFormat?: string;
150
150
  /**
151
151
  * @remarks
152
- * The information about partition.
152
+ * The partition information.
153
153
  *
154
154
  * @example
155
155
  * -
@@ -157,7 +157,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
157
157
  partitionSpecsShrink?: string;
158
158
  /**
159
159
  * @remarks
160
- * The password of the database account.
160
+ * The password.
161
161
  *
162
162
  * This parameter is required.
163
163
  *
@@ -167,7 +167,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
167
167
  password?: string;
168
168
  /**
169
169
  * @remarks
170
- * The definition of the primary key.
170
+ * The primary key definition.
171
171
  *
172
172
  * @example
173
173
  * -
@@ -175,7 +175,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
175
175
  primaryKeyDefinition?: string;
176
176
  /**
177
177
  * @remarks
178
- * The name of the SLS project.
178
+ * The project name.
179
179
  *
180
180
  * @example
181
181
  * test
@@ -193,7 +193,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
193
193
  regionId?: string;
194
194
  /**
195
195
  * @remarks
196
- * The name of the resource group.
196
+ * The resource group name.
197
197
  *
198
198
  * @example
199
199
  * test
@@ -209,7 +209,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
209
209
  sourceRegionId?: string;
210
210
  /**
211
211
  * @remarks
212
- * The start offset.
212
+ * The starting offset for delivery.
213
213
  *
214
214
  * This parameter is required.
215
215
  *
@@ -219,7 +219,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
219
219
  startingOffsets?: string;
220
220
  /**
221
221
  * @remarks
222
- * The SLS Logstore.
222
+ * sls Store。
223
223
  *
224
224
  * @example
225
225
  * test
@@ -227,7 +227,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
227
227
  store?: string;
228
228
  /**
229
229
  * @remarks
230
- * The name of the table.
230
+ * The table name.
231
231
  *
232
232
  * This parameter is required.
233
233
  *
@@ -237,7 +237,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
237
237
  tableName?: string;
238
238
  /**
239
239
  * @remarks
240
- * The rules for generating the destination database.
240
+ * The generation rule for the destination.
241
241
  *
242
242
  * @example
243
243
  * -
@@ -253,7 +253,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
253
253
  targetType?: string;
254
254
  /**
255
255
  * @remarks
256
- * The timestamp conversion.
256
+ * The UNIX timestamp conversion configuration.
257
257
  *
258
258
  * @example
259
259
  * -
@@ -261,7 +261,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
261
261
  unixTimestampConvertShrink?: string;
262
262
  /**
263
263
  * @remarks
264
- * The name of the database account.
264
+ * The username.
265
265
  *
266
266
  * This parameter is required.
267
267
  *
@@ -271,7 +271,7 @@ export class CreateApsSlsADBJobShrinkRequest extends $dara.Model {
271
271
  userName?: string;
272
272
  /**
273
273
  * @remarks
274
- * The name of the workload.
274
+ * The workload name.
275
275
  *
276
276
  * This parameter is required.
277
277
  *
@@ -3,11 +3,17 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeAdbMySqlColumnsRequest extends $dara.Model {
6
+ /**
7
+ * **if can be null:**
8
+ * true
9
+ */
10
+ catalog?: string;
6
11
  /**
7
12
  * @remarks
8
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
13
+ * <props="china">The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
14
+ * <props="intl">The ID of the Data Lakehouse Edition cluster.
9
15
  *
10
- * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
16
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the cluster IDs of all clusters in a specified region.
11
17
  *
12
18
  * This parameter is required.
13
19
  *
@@ -18,8 +24,7 @@ export class DescribeAdbMySqlColumnsRequest extends $dara.Model {
18
24
  /**
19
25
  * @remarks
20
26
  * The region ID.
21
- *
22
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the most recent region list.
27
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the region ID of a specified cluster.
23
28
  *
24
29
  * This parameter is required.
25
30
  *
@@ -29,7 +34,7 @@ export class DescribeAdbMySqlColumnsRequest extends $dara.Model {
29
34
  regionId?: string;
30
35
  /**
31
36
  * @remarks
32
- * The name of the database.
37
+ * The database name.
33
38
  *
34
39
  * @example
35
40
  * adb_demo
@@ -37,7 +42,7 @@ export class DescribeAdbMySqlColumnsRequest extends $dara.Model {
37
42
  schema?: string;
38
43
  /**
39
44
  * @remarks
40
- * The name of the table.
45
+ * The table name.
41
46
  *
42
47
  * @example
43
48
  * test
@@ -45,6 +50,7 @@ export class DescribeAdbMySqlColumnsRequest extends $dara.Model {
45
50
  tableName?: string;
46
51
  static names(): { [key: string]: string } {
47
52
  return {
53
+ catalog: 'Catalog',
48
54
  DBClusterId: 'DBClusterId',
49
55
  regionId: 'RegionId',
50
56
  schema: 'Schema',
@@ -54,6 +60,7 @@ export class DescribeAdbMySqlColumnsRequest extends $dara.Model {
54
60
 
55
61
  static types(): { [key: string]: any } {
56
62
  return {
63
+ catalog: 'string',
57
64
  DBClusterId: 'string',
58
65
  regionId: 'string',
59
66
  schema: 'string',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeAdbMySqlColumnsResponseBodyColumns extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The comments of the column.
8
+ * The column comment.
9
9
  *
10
10
  * @example
11
11
  * test
@@ -13,7 +13,7 @@ export class DescribeAdbMySqlColumnsResponseBodyColumns extends $dara.Model {
13
13
  comment?: string;
14
14
  /**
15
15
  * @remarks
16
- * The name of the column.
16
+ * The column name.
17
17
  *
18
18
  * @example
19
19
  * id
@@ -63,15 +63,14 @@ export class DescribeAdbMySqlColumnsResponseBody extends $dara.Model {
63
63
  columnCount?: number;
64
64
  /**
65
65
  * @remarks
66
- * Details of the columns.
66
+ * The column information.
67
67
  */
68
68
  columns?: DescribeAdbMySqlColumnsResponseBodyColumns[];
69
69
  /**
70
70
  * @remarks
71
- * The message returned for the operation. Valid values:
72
- *
73
- * * **Success** is returned if the operation is successful.
74
- * * An error message is returned if the operation fails.
71
+ * The additional information about the call result. Valid values:
72
+ * - If the request was successful, **Success** is returned.
73
+ * - If the request failed, a specific error code is returned.
75
74
  *
76
75
  * @example
77
76
  * Success
@@ -79,7 +78,7 @@ export class DescribeAdbMySqlColumnsResponseBody extends $dara.Model {
79
78
  message?: string;
80
79
  /**
81
80
  * @remarks
82
- * The ID of the request.
81
+ * The request ID.
83
82
  *
84
83
  * @example
85
84
  * A9F013CD-0222-595E-8157-445969B97F03
@@ -87,7 +86,7 @@ export class DescribeAdbMySqlColumnsResponseBody extends $dara.Model {
87
86
  requestId?: string;
88
87
  /**
89
88
  * @remarks
90
- * The name of the database.
89
+ * The database name.
91
90
  *
92
91
  * @example
93
92
  * adb_demo
@@ -95,10 +94,9 @@ export class DescribeAdbMySqlColumnsResponseBody extends $dara.Model {
95
94
  schema?: string;
96
95
  /**
97
96
  * @remarks
98
- * Indicates whether the operation is successful. Valid values:
99
- *
100
- * * **true**: The operation is successful.
101
- * * **false**: The operation fails.
97
+ * Indicates whether the call was successful.
98
+ * - **true**: The call was successful.
99
+ * - **false**: The call failed.
102
100
  *
103
101
  * @example
104
102
  * true
@@ -106,7 +104,7 @@ export class DescribeAdbMySqlColumnsResponseBody extends $dara.Model {
106
104
  success?: boolean;
107
105
  /**
108
106
  * @remarks
109
- * The name of the table.
107
+ * The table name.
110
108
  *
111
109
  * @example
112
110
  * test
@@ -3,9 +3,15 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeAdbMySqlSchemasRequest extends $dara.Model {
6
+ /**
7
+ * **if can be null:**
8
+ * true
9
+ */
10
+ catalog?: string;
6
11
  /**
7
12
  * @remarks
8
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
13
+ * <props="china">The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
14
+ * <props="intl">The ID of the Data Lakehouse Edition cluster.
9
15
  *
10
16
  * This parameter is required.
11
17
  *
@@ -16,8 +22,7 @@ export class DescribeAdbMySqlSchemasRequest extends $dara.Model {
16
22
  /**
17
23
  * @remarks
18
24
  * The region ID.
19
- *
20
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the most recent region list.
25
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the region ID of a specified cluster.
21
26
  *
22
27
  * This parameter is required.
23
28
  *
@@ -27,6 +32,7 @@ export class DescribeAdbMySqlSchemasRequest extends $dara.Model {
27
32
  regionId?: string;
28
33
  static names(): { [key: string]: string } {
29
34
  return {
35
+ catalog: 'Catalog',
30
36
  DBClusterId: 'DBClusterId',
31
37
  regionId: 'RegionId',
32
38
  };
@@ -34,6 +40,7 @@ export class DescribeAdbMySqlSchemasRequest extends $dara.Model {
34
40
 
35
41
  static types(): { [key: string]: any } {
36
42
  return {
43
+ catalog: 'string',
37
44
  DBClusterId: 'string',
38
45
  regionId: 'string',
39
46
  };
@@ -5,10 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeAdbMySqlSchemasResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The returned message.
9
- *
10
- * * If the request was successful, a **success** message is returned.
11
- * * If the request failed, an error message is returned.
8
+ * The additional information about the call result. Valid values:
9
+ * - If the request was successful, **Success** is returned.
10
+ * - If the request failed, a specific error code is returned.
12
11
  *
13
12
  * @example
14
13
  * Success
@@ -24,15 +23,14 @@ export class DescribeAdbMySqlSchemasResponseBody extends $dara.Model {
24
23
  requestId?: string;
25
24
  /**
26
25
  * @remarks
27
- * The queried databases.
26
+ * The list of databases.
28
27
  */
29
28
  schemas?: string[];
30
29
  /**
31
30
  * @remarks
32
- * Indicates whether the request was successful. Valid values:
33
- *
34
- * * **true**
35
- * * **false**
31
+ * Indicates whether the call was successful. Valid values:
32
+ * - **true**: The call was successful.
33
+ * - **false**: The call failed.
36
34
  *
37
35
  * @example
38
36
  * true
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeAdbMySqlTablesRequest extends $dara.Model {
6
+ /**
7
+ * **if can be null:**
8
+ * true
9
+ */
10
+ catalog?: string;
6
11
  /**
7
12
  * @remarks
8
13
  * <props="china">The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
@@ -17,8 +22,7 @@ export class DescribeAdbMySqlTablesRequest extends $dara.Model {
17
22
  /**
18
23
  * @remarks
19
24
  * The region ID.
20
- *
21
- * > Call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the region ID of a cluster.
25
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the region ID of a specified cluster.
22
26
  *
23
27
  * This parameter is required.
24
28
  *
@@ -28,7 +32,7 @@ export class DescribeAdbMySqlTablesRequest extends $dara.Model {
28
32
  regionId?: string;
29
33
  /**
30
34
  * @remarks
31
- * The name of the database.
35
+ * The database name.
32
36
  *
33
37
  * @example
34
38
  * adb_demo
@@ -39,6 +43,7 @@ export class DescribeAdbMySqlTablesRequest extends $dara.Model {
39
43
  schema?: string;
40
44
  static names(): { [key: string]: string } {
41
45
  return {
46
+ catalog: 'Catalog',
42
47
  DBClusterId: 'DBClusterId',
43
48
  regionId: 'RegionId',
44
49
  schema: 'Schema',
@@ -47,6 +52,7 @@ export class DescribeAdbMySqlTablesRequest extends $dara.Model {
47
52
 
48
53
  static types(): { [key: string]: any } {
49
54
  return {
55
+ catalog: 'string',
50
56
  DBClusterId: 'string',
51
57
  regionId: 'string',
52
58
  schema: 'string',
@@ -5,11 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeAdbMySqlTablesResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Additional information about the call. Valid values:
9
- *
10
- * - **Success** is returned if the request is successful.
11
- *
12
- * - A specific error code is returned if the request fails.
8
+ * The additional information about the call result. Valid values:
9
+ * - If the request was successful, **Success** is returned.
10
+ * - If the request failed, a specific error code is returned.
13
11
  *
14
12
  * @example
15
13
  * Success
@@ -25,7 +23,7 @@ export class DescribeAdbMySqlTablesResponseBody extends $dara.Model {
25
23
  requestId?: string;
26
24
  /**
27
25
  * @remarks
28
- * The name of the database.
26
+ * The database name.
29
27
  *
30
28
  * @example
31
29
  * adb_demo
@@ -34,9 +32,7 @@ export class DescribeAdbMySqlTablesResponseBody extends $dara.Model {
34
32
  /**
35
33
  * @remarks
36
34
  * Indicates whether the call was successful. Valid values:
37
- *
38
35
  * - **true**: The call was successful.
39
- *
40
36
  * - **false**: The call failed.
41
37
  *
42
38
  * @example
@@ -45,7 +41,7 @@ export class DescribeAdbMySqlTablesResponseBody extends $dara.Model {
45
41
  success?: boolean;
46
42
  /**
47
43
  * @remarks
48
- * Information about the tables.
44
+ * The table information.
49
45
  */
50
46
  tables?: string[];
51
47
  static names(): { [key: string]: string } {