tencentcloud-sdk-nodejs-dlc 4.0.371 → 4.0.374

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.
@@ -12,6 +12,15 @@ export interface DescribeTaskResultResponse {
12
12
  */
13
13
  RequestId?: string;
14
14
  }
15
+ /**
16
+ * AlterDMSTable返回参数结构体
17
+ */
18
+ export interface AlterDMSTableResponse {
19
+ /**
20
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
21
+ */
22
+ RequestId?: string;
23
+ }
15
24
  /**
16
25
  * DescribeDatabases请求参数结构体
17
26
  */
@@ -76,6 +85,30 @@ export interface DeleteUserRequest {
76
85
  */
77
86
  UserIds: Array<string>;
78
87
  }
88
+ /**
89
+ * ListTaskJobLogDetail返回参数结构体
90
+ */
91
+ export interface ListTaskJobLogDetailResponse {
92
+ /**
93
+ * 下一次分页参数
94
+ 注意:此字段可能返回 null,表示取不到有效值。
95
+ */
96
+ Context: string;
97
+ /**
98
+ * 是否获取完结
99
+ 注意:此字段可能返回 null,表示取不到有效值。
100
+ */
101
+ ListOver: boolean;
102
+ /**
103
+ * 日志详情
104
+ 注意:此字段可能返回 null,表示取不到有效值。
105
+ */
106
+ Results: Array<JobLogResult>;
107
+ /**
108
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
109
+ */
110
+ RequestId?: string;
111
+ }
79
112
  /**
80
113
  * DescribeSparkAppJob请求参数结构体
81
114
  */
@@ -89,6 +122,15 @@ export interface DescribeSparkAppJobRequest {
89
122
  */
90
123
  JobName?: string;
91
124
  }
125
+ /**
126
+ * CreateDMSDatabase返回参数结构体
127
+ */
128
+ export interface CreateDMSDatabaseResponse {
129
+ /**
130
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
131
+ */
132
+ RequestId?: string;
133
+ }
92
134
  /**
93
135
  * CreateStoreLocation返回参数结构体
94
136
  */
@@ -98,6 +140,19 @@ export interface CreateStoreLocationResponse {
98
140
  */
99
141
  RequestId?: string;
100
142
  }
143
+ /**
144
+ * DescribeDMSDatabase返回参数结构体
145
+ */
146
+ export interface DescribeDMSDatabaseResponse {
147
+ /**
148
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
149
+ */
150
+ RequestId?: string;
151
+ }
152
+ /**
153
+ * DropDMSDatabase请求参数结构体
154
+ */
155
+ export declare type DropDMSDatabaseRequest = null;
101
156
  /**
102
157
  * CreateScript返回参数结构体
103
158
  */
@@ -384,6 +439,134 @@ export interface DescribeTasksResponse {
384
439
  */
385
440
  RequestId?: string;
386
441
  }
442
+ /**
443
+ * DescribeDMSTable返回参数结构体
444
+ */
445
+ export interface DescribeDMSTableResponse {
446
+ /**
447
+ * 基础对象
448
+ 注意:此字段可能返回 null,表示取不到有效值。
449
+ */
450
+ Asset: Asset;
451
+ /**
452
+ * 视图文本
453
+ 注意:此字段可能返回 null,表示取不到有效值。
454
+ */
455
+ ViewOriginalText: string;
456
+ /**
457
+ * 视图文本
458
+ 注意:此字段可能返回 null,表示取不到有效值。
459
+ */
460
+ ViewExpandedText: string;
461
+ /**
462
+ * hive维护版本
463
+ 注意:此字段可能返回 null,表示取不到有效值。
464
+ */
465
+ Retention: number;
466
+ /**
467
+ * 存储对象
468
+ 注意:此字段可能返回 null,表示取不到有效值。
469
+ */
470
+ Sds: DMSSds;
471
+ /**
472
+ * 分区列
473
+ 注意:此字段可能返回 null,表示取不到有效值。
474
+ */
475
+ PartitionKeys: Array<DMSColumn>;
476
+ /**
477
+ * 分区
478
+ 注意:此字段可能返回 null,表示取不到有效值。
479
+ */
480
+ Partitions: Array<DMSPartition>;
481
+ /**
482
+ * 表类型
483
+ 注意:此字段可能返回 null,表示取不到有效值。
484
+ */
485
+ Type: string;
486
+ /**
487
+ * 数据库名称
488
+ 注意:此字段可能返回 null,表示取不到有效值。
489
+ */
490
+ DbName: string;
491
+ /**
492
+ * Schame名称
493
+ 注意:此字段可能返回 null,表示取不到有效值。
494
+ */
495
+ SchemaName: string;
496
+ /**
497
+ * 存储大小
498
+ 注意:此字段可能返回 null,表示取不到有效值。
499
+ */
500
+ StorageSize: number;
501
+ /**
502
+ * 记录数量
503
+ 注意:此字段可能返回 null,表示取不到有效值。
504
+ */
505
+ RecordCount: number;
506
+ /**
507
+ * 生命周期
508
+ 注意:此字段可能返回 null,表示取不到有效值。
509
+ */
510
+ LifeTime: number;
511
+ /**
512
+ * 最后访问时间
513
+ 注意:此字段可能返回 null,表示取不到有效值。
514
+ */
515
+ LastAccessTime: string;
516
+ /**
517
+ * 数据更新时间
518
+ 注意:此字段可能返回 null,表示取不到有效值。
519
+ */
520
+ DataUpdateTime: string;
521
+ /**
522
+ * 结构更新时间
523
+ 注意:此字段可能返回 null,表示取不到有效值。
524
+ */
525
+ StructUpdateTime: string;
526
+ /**
527
+ * 列
528
+ 注意:此字段可能返回 null,表示取不到有效值。
529
+ */
530
+ Columns: Array<DMSColumn>;
531
+ /**
532
+ * 表名称
533
+ 注意:此字段可能返回 null,表示取不到有效值。
534
+ */
535
+ Name: string;
536
+ /**
537
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
538
+ */
539
+ RequestId?: string;
540
+ }
541
+ /**
542
+ * DropDMSPartitions请求参数结构体
543
+ */
544
+ export interface DropDMSPartitionsRequest {
545
+ /**
546
+ * 数据库名称
547
+ */
548
+ DatabaseName?: string;
549
+ /**
550
+ * 数据库Schema名称
551
+ */
552
+ SchemaName?: string;
553
+ /**
554
+ * 数据表名称
555
+ */
556
+ TableName?: string;
557
+ /**
558
+ * 分区名称
559
+ */
560
+ Name?: string;
561
+ /**
562
+ * 单个分区名称
563
+ */
564
+ Values?: Array<string>;
565
+ /**
566
+ * 是否删除分区数据
567
+ */
568
+ DeleteData?: boolean;
569
+ }
387
570
  /**
388
571
  * CreateTasksInOrder请求参数结构体
389
572
  */
@@ -401,6 +584,23 @@ export interface CreateTasksInOrderRequest {
401
584
  */
402
585
  DatasourceConnectionName?: string;
403
586
  }
587
+ /**
588
+ * AddDMSPartitions返回参数结构体
589
+ */
590
+ export interface AddDMSPartitionsResponse {
591
+ /**
592
+ * 成功数量
593
+ */
594
+ Total: number;
595
+ /**
596
+ * 分区值
597
+ */
598
+ Partitions: Array<DMSPartition>;
599
+ /**
600
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
601
+ */
602
+ RequestId?: string;
603
+ }
404
604
  /**
405
605
  * DetachWorkGroupPolicy返回参数结构体
406
606
  */
@@ -520,6 +720,55 @@ export interface ModifySparkAppRequest {
520
720
  */
521
721
  DataSource?: string;
522
722
  }
723
+ /**
724
+ * spark流任务统计信息
725
+ */
726
+ export interface StreamingStatistics {
727
+ /**
728
+ * 任务开始时间
729
+ */
730
+ StartTime: string;
731
+ /**
732
+ * 数据接收器数
733
+ */
734
+ Receivers: number;
735
+ /**
736
+ * 运行中的接收器数
737
+ */
738
+ NumActiveReceivers: number;
739
+ /**
740
+ * 不活跃的接收器数
741
+ */
742
+ NumInactiveReceivers: number;
743
+ /**
744
+ * 运行中的批数
745
+ */
746
+ NumActiveBatches: number;
747
+ /**
748
+ * 待处理的批数
749
+ */
750
+ NumRetainedCompletedBatches: number;
751
+ /**
752
+ * 已完成的批数
753
+ */
754
+ NumTotalCompletedBatches: number;
755
+ /**
756
+ * 平均输入速率
757
+ */
758
+ AverageInputRate: number;
759
+ /**
760
+ * 平均等待时长
761
+ */
762
+ AverageSchedulingDelay: number;
763
+ /**
764
+ * 平均处理时长
765
+ */
766
+ AverageProcessingTime: number;
767
+ /**
768
+ * 平均延时
769
+ */
770
+ AverageTotalDelay: number;
771
+ }
523
772
  /**
524
773
  * CreateDatabase请求参数结构体
525
774
  */
@@ -533,6 +782,25 @@ export interface CreateDatabaseRequest {
533
782
  */
534
783
  DatasourceConnectionName?: string;
535
784
  }
785
+ /**
786
+ * DescribeDMSTables返回参数结构体
787
+ */
788
+ export interface DescribeDMSTablesResponse {
789
+ /**
790
+ * DMS元数据列表信息
791
+ 注意:此字段可能返回 null,表示取不到有效值。
792
+ */
793
+ TableList: Array<DMSTableInfo>;
794
+ /**
795
+ * 统计值
796
+ 注意:此字段可能返回 null,表示取不到有效值。
797
+ */
798
+ TotalCount: number;
799
+ /**
800
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
801
+ */
802
+ RequestId?: string;
803
+ }
536
804
  /**
537
805
  * 绑定到同一个工作组的用户Id的集合
538
806
  */
@@ -546,6 +814,27 @@ export interface UserIdSetOfWorkGroupId {
546
814
  */
547
815
  UserIds: Array<string>;
548
816
  }
817
+ /**
818
+ * AlterDMSPartition请求参数结构体
819
+ */
820
+ export interface AlterDMSPartitionRequest {
821
+ /**
822
+ * 当前名称,变更前db名称
823
+ */
824
+ CurrentDbName: string;
825
+ /**
826
+ * 当前名称,变更前table名称
827
+ */
828
+ CurrentTableName: string;
829
+ /**
830
+ * 当前名称,变更前Part名称
831
+ */
832
+ CurrentValues: string;
833
+ /**
834
+ * 分区
835
+ */
836
+ Partition?: DMSPartition;
837
+ }
549
838
  /**
550
839
  * 视图基本配置信息
551
840
  */
@@ -559,6 +848,31 @@ export interface ViewBaseInfo {
559
848
  */
560
849
  ViewName: string;
561
850
  }
851
+ /**
852
+ * CheckLockMetaData请求参数结构体
853
+ */
854
+ export interface CheckLockMetaDataRequest {
855
+ /**
856
+ * 锁ID
857
+ */
858
+ LockId: number;
859
+ /**
860
+ * 数据源名称
861
+ */
862
+ DatasourceConnectionName?: string;
863
+ /**
864
+ * 事务ID
865
+ */
866
+ TxnId?: number;
867
+ /**
868
+ * 过期时间ms
869
+ */
870
+ ElapsedMs?: number;
871
+ }
872
+ /**
873
+ * 元数据基本对象
874
+ */
875
+ export declare type Asset = null;
562
876
  /**
563
877
  * CreateDatabase返回参数结构体
564
878
  */
@@ -684,6 +998,19 @@ export interface TableBaseInfo {
684
998
  */
685
999
  TableFormat?: string;
686
1000
  }
1001
+ /**
1002
+ * UnlockMetaData请求参数结构体
1003
+ */
1004
+ export interface UnlockMetaDataRequest {
1005
+ /**
1006
+ * 锁ID
1007
+ */
1008
+ LockId: number;
1009
+ /**
1010
+ * 数据源名称
1011
+ */
1012
+ DatasourceConnectionName?: string;
1013
+ }
687
1014
  /**
688
1015
  * AttachUserPolicy请求参数结构体
689
1016
  */
@@ -788,40 +1115,135 @@ export interface CreateStoreLocationRequest {
788
1115
  StoreLocation: string;
789
1116
  }
790
1117
  /**
791
- * DescribeSparkAppJobs请求参数结构体
1118
+ * 元数据加锁内容
792
1119
  */
793
- export interface DescribeSparkAppJobsRequest {
1120
+ export interface LockComponentInfo {
794
1121
  /**
795
- * 返回结果按照该字段排序
1122
+ * 数据库名称
796
1123
  */
797
- SortBy?: string;
1124
+ DbName: string;
798
1125
  /**
799
- * 正序或者倒序,例如:desc
1126
+ * 表名称
800
1127
  */
801
- Sorting?: string;
1128
+ TableName?: string;
802
1129
  /**
803
- * 按照该参数过滤
1130
+ * 分区
804
1131
  */
805
- Filters?: Array<Filter>;
1132
+ Partition?: string;
806
1133
  /**
807
- * 更新时间起始点
1134
+ * 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVE
808
1135
  */
809
- StartTime?: string;
1136
+ LockType?: string;
810
1137
  /**
811
- * 更新时间截止点
1138
+ * 锁级别:DB、TABLE、PARTITION
812
1139
  */
813
- EndTime?: string;
1140
+ LockLevel?: string;
814
1141
  /**
815
- * 查询列表偏移量
1142
+ * 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXN
816
1143
  */
817
- Offset?: number;
1144
+ DataOperationType?: string;
818
1145
  /**
819
- * 查询列表限制数量
1146
+ * 是否保持Acid
820
1147
  */
821
- Limit?: number;
1148
+ IsAcid?: boolean;
1149
+ /**
1150
+ * 是否动态分区写
1151
+ */
1152
+ IsDynamicPartitionWrite?: boolean;
822
1153
  }
823
1154
  /**
824
- * 数据表分块信息。
1155
+ * DescribeDMSPartitions请求参数结构体
1156
+ */
1157
+ export interface DescribeDMSPartitionsRequest {
1158
+ /**
1159
+ * 数据库名
1160
+ */
1161
+ DatabaseName: string;
1162
+ /**
1163
+ * 表名称
1164
+ */
1165
+ TableName: string;
1166
+ /**
1167
+ * schema名称
1168
+ */
1169
+ SchemaName?: string;
1170
+ /**
1171
+ * 名称
1172
+ */
1173
+ Name?: string;
1174
+ /**
1175
+ * 单个分区名称,精准匹配
1176
+ */
1177
+ Values?: Array<string>;
1178
+ /**
1179
+ * 多个分区名称,精准匹配
1180
+ */
1181
+ PartitionNames?: Array<string>;
1182
+ /**
1183
+ * 多个分区字段的匹配,模糊匹配
1184
+ */
1185
+ PartValues?: Array<string>;
1186
+ /**
1187
+ * 过滤SQL
1188
+ */
1189
+ Filter?: string;
1190
+ /**
1191
+ * 最大分区数量
1192
+ */
1193
+ MaxParts?: number;
1194
+ /**
1195
+ * 翻页跳过数量
1196
+ */
1197
+ Offset?: number;
1198
+ /**
1199
+ * 页面数量
1200
+ */
1201
+ Limit?: number;
1202
+ }
1203
+ /**
1204
+ * DescribeSparkAppJobs请求参数结构体
1205
+ */
1206
+ export interface DescribeSparkAppJobsRequest {
1207
+ /**
1208
+ * 返回结果按照该字段排序
1209
+ */
1210
+ SortBy?: string;
1211
+ /**
1212
+ * 正序或者倒序,例如:desc
1213
+ */
1214
+ Sorting?: string;
1215
+ /**
1216
+ * 按照该参数过滤
1217
+ */
1218
+ Filters?: Array<Filter>;
1219
+ /**
1220
+ * 更新时间起始点
1221
+ */
1222
+ StartTime?: string;
1223
+ /**
1224
+ * 更新时间截止点
1225
+ */
1226
+ EndTime?: string;
1227
+ /**
1228
+ * 查询列表偏移量
1229
+ */
1230
+ Offset?: number;
1231
+ /**
1232
+ * 查询列表限制数量
1233
+ */
1234
+ Limit?: number;
1235
+ }
1236
+ /**
1237
+ * CreateDMSTable返回参数结构体
1238
+ */
1239
+ export interface CreateDMSTableResponse {
1240
+ /**
1241
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1242
+ */
1243
+ RequestId?: string;
1244
+ }
1245
+ /**
1246
+ * 数据表分块信息。
825
1247
  */
826
1248
  export interface Partition {
827
1249
  /**
@@ -932,33 +1354,25 @@ export interface DescribeWorkGroupsResponse {
932
1354
  RequestId?: string;
933
1355
  }
934
1356
  /**
935
- * DescribeUsers请求参数结构体
1357
+ * CreateImportTask请求参数结构体
936
1358
  */
937
- export interface DescribeUsersRequest {
938
- /**
939
- * 指定查询的子用户uin,用户需要通过CreateUser接口创建。
940
- */
941
- UserId?: string;
942
- /**
943
- * 偏移量,默认为0
944
- */
945
- Offset?: number;
1359
+ export interface CreateImportTaskRequest {
946
1360
  /**
947
- * 返回数量,默认20,最大值100
1361
+ * 数据来源,cos
948
1362
  */
949
- Limit?: number;
1363
+ InputType: string;
950
1364
  /**
951
- * 排序字段,支持如下字段类型,create-time
1365
+ * 输入配置
952
1366
  */
953
- SortBy?: string;
1367
+ InputConf: Array<KVPair>;
954
1368
  /**
955
- * 排序方式,desc表示正序,asc表示反序, 默认为asc
1369
+ * 输出配置
956
1370
  */
957
- Sorting?: string;
1371
+ OutputConf: Array<KVPair>;
958
1372
  /**
959
- * 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。user-keyword:根据用户名称过滤
1373
+ * 目标数据源的类型,目前支持导入到托管存储,即lakefsStorage
960
1374
  */
961
- Filters?: Array<Filter>;
1375
+ OutputType?: string;
962
1376
  }
963
1377
  /**
964
1378
  * DescribeScripts请求参数结构体
@@ -1028,47 +1442,13 @@ export interface AddUsersToWorkGroupRequest {
1028
1442
  */
1029
1443
  export declare type DescribeStoreLocationRequest = null;
1030
1444
  /**
1031
- * DescribeViews请求参数结构体
1445
+ * AddUsersToWorkGroup返回参数结构体
1032
1446
  */
1033
- export interface DescribeViewsRequest {
1034
- /**
1035
- * 列出该数据库下所属数据表。
1036
- */
1037
- DatabaseName: string;
1038
- /**
1039
- * 返回数量,默认为10,最大值为100。
1040
- */
1041
- Limit?: number;
1042
- /**
1043
- * 数据偏移量,从0开始,默认为0。
1044
- */
1045
- Offset?: number;
1046
- /**
1047
- * 过滤条件,如下支持的过滤类型,传参Name应为其一
1048
- view-name - String - (过滤条件)数据表名称,形如:view-001。
1049
- view-id - String - (过滤条件)view id形如:12342。
1050
- */
1051
- Filters?: Array<Filter>;
1052
- /**
1053
- * 数据库所属的数据源名称
1054
- */
1055
- DatasourceConnectionName?: string;
1056
- /**
1057
- * 排序字段
1058
- */
1059
- Sort?: string;
1060
- /**
1061
- * 排序规则,true:升序;false:降序
1062
- */
1063
- Asc?: boolean;
1064
- /**
1065
- * 按视图更新时间筛选,开始时间,如2021-11-11 00:00:00
1066
- */
1067
- StartTime?: string;
1447
+ export interface AddUsersToWorkGroupResponse {
1068
1448
  /**
1069
- * 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00
1449
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1070
1450
  */
1071
- EndTime?: string;
1451
+ RequestId?: string;
1072
1452
  }
1073
1453
  /**
1074
1454
  * 授权用户信息
@@ -1138,6 +1518,186 @@ export interface CreateExportTaskRequest {
1138
1518
  */
1139
1519
  OutputType?: string;
1140
1520
  }
1521
+ /**
1522
+ * CreateDMSTable请求参数结构体
1523
+ */
1524
+ export interface CreateDMSTableRequest {
1525
+ /**
1526
+ * 基础对象
1527
+ */
1528
+ Asset?: Asset;
1529
+ /**
1530
+ * 表类型
1531
+ */
1532
+ Type?: string;
1533
+ /**
1534
+ * 数据库名称
1535
+ */
1536
+ DbName?: string;
1537
+ /**
1538
+ * 存储大小
1539
+ */
1540
+ StorageSize?: number;
1541
+ /**
1542
+ * 记录数量
1543
+ */
1544
+ RecordCount?: number;
1545
+ /**
1546
+ * 生命周期
1547
+ */
1548
+ LifeTime?: number;
1549
+ /**
1550
+ * 数据更新时间
1551
+ */
1552
+ DataUpdateTime?: string;
1553
+ /**
1554
+ * 结构更新时间
1555
+ */
1556
+ StructUpdateTime?: string;
1557
+ /**
1558
+ * 最后访问时间
1559
+ */
1560
+ LastAccessTime?: string;
1561
+ /**
1562
+ * 存储对象
1563
+ */
1564
+ Sds?: DMSSds;
1565
+ /**
1566
+ * 列
1567
+ */
1568
+ Columns?: Array<DMSColumn>;
1569
+ /**
1570
+ * 分区键值
1571
+ */
1572
+ PartitionKeys?: Array<DMSColumn>;
1573
+ /**
1574
+ * 视图文本
1575
+ */
1576
+ ViewOriginalText?: string;
1577
+ /**
1578
+ * 视图文本
1579
+ */
1580
+ ViewExpandedText?: string;
1581
+ /**
1582
+ * 分区
1583
+ */
1584
+ Partitions?: Array<DMSPartition>;
1585
+ /**
1586
+ * 表名称
1587
+ */
1588
+ Name?: string;
1589
+ }
1590
+ /**
1591
+ * DropDMSTable请求参数结构体
1592
+ */
1593
+ export interface DropDMSTableRequest {
1594
+ /**
1595
+ * 数据库名称
1596
+ */
1597
+ DbName?: string;
1598
+ /**
1599
+ * 表名称
1600
+ */
1601
+ Name?: string;
1602
+ /**
1603
+ * 是否删除数据
1604
+ */
1605
+ DeleteData?: boolean;
1606
+ /**
1607
+ * 环境属性
1608
+ */
1609
+ EnvProps?: KVPair;
1610
+ }
1611
+ /**
1612
+ * DMSTable基本信息
1613
+ */
1614
+ export interface DMSTable {
1615
+ /**
1616
+ * 视图文本
1617
+ 注意:此字段可能返回 null,表示取不到有效值。
1618
+ */
1619
+ ViewOriginalText?: string;
1620
+ /**
1621
+ * 视图文本
1622
+ 注意:此字段可能返回 null,表示取不到有效值。
1623
+ */
1624
+ ViewExpandedText?: string;
1625
+ /**
1626
+ * hive维护版本
1627
+ 注意:此字段可能返回 null,表示取不到有效值。
1628
+ */
1629
+ Retention?: number;
1630
+ /**
1631
+ * 存储对象
1632
+ 注意:此字段可能返回 null,表示取不到有效值。
1633
+ */
1634
+ Sds?: DMSSds;
1635
+ /**
1636
+ * 分区列
1637
+ 注意:此字段可能返回 null,表示取不到有效值。
1638
+ */
1639
+ PartitionKeys?: Array<DMSColumn>;
1640
+ /**
1641
+ * 分区
1642
+ 注意:此字段可能返回 null,表示取不到有效值。
1643
+ */
1644
+ Partitions?: Array<DMSPartition>;
1645
+ /**
1646
+ * 表类型
1647
+ 注意:此字段可能返回 null,表示取不到有效值。
1648
+ */
1649
+ Type?: string;
1650
+ /**
1651
+ * 数据库名称
1652
+ 注意:此字段可能返回 null,表示取不到有效值。
1653
+ */
1654
+ DbName?: string;
1655
+ /**
1656
+ * Schema名称
1657
+ 注意:此字段可能返回 null,表示取不到有效值。
1658
+ */
1659
+ SchemaName?: string;
1660
+ /**
1661
+ * 存储大小
1662
+ 注意:此字段可能返回 null,表示取不到有效值。
1663
+ */
1664
+ StorageSize?: number;
1665
+ /**
1666
+ * 记录数量
1667
+ 注意:此字段可能返回 null,表示取不到有效值。
1668
+ */
1669
+ RecordCount?: number;
1670
+ /**
1671
+ * 生命周期
1672
+ 注意:此字段可能返回 null,表示取不到有效值。
1673
+ */
1674
+ LifeTime?: number;
1675
+ /**
1676
+ * 最后访问时间
1677
+ 注意:此字段可能返回 null,表示取不到有效值。
1678
+ */
1679
+ LastAccessTime?: string;
1680
+ /**
1681
+ * 数据更新时间
1682
+ 注意:此字段可能返回 null,表示取不到有效值。
1683
+ */
1684
+ DataUpdateTime?: string;
1685
+ /**
1686
+ * 结构更新时间
1687
+ 注意:此字段可能返回 null,表示取不到有效值。
1688
+ */
1689
+ StructUpdateTime?: string;
1690
+ /**
1691
+ * 列
1692
+ 注意:此字段可能返回 null,表示取不到有效值。
1693
+ */
1694
+ Columns?: Array<DMSColumn>;
1695
+ /**
1696
+ * 表名
1697
+ 注意:此字段可能返回 null,表示取不到有效值。
1698
+ */
1699
+ Name?: string;
1700
+ }
1141
1701
  /**
1142
1702
  * AttachWorkGroupPolicy返回参数结构体
1143
1703
  */
@@ -1157,66 +1717,149 @@ export interface ModifyWorkGroupResponse {
1157
1717
  RequestId?: string;
1158
1718
  }
1159
1719
  /**
1160
- * ModifyUser请求参数结构体
1720
+ * DescribeDMSTables请求参数结构体
1161
1721
  */
1162
- export interface ModifyUserRequest {
1722
+ export interface DescribeDMSTablesRequest {
1163
1723
  /**
1164
- * 用户Id,和CAM侧Uin匹配
1724
+ * 数据库名称
1165
1725
  */
1166
- UserId: string;
1726
+ DbName?: string;
1167
1727
  /**
1168
- * 用户描述
1728
+ * 数据库schema名称
1169
1729
  */
1170
- UserDescription: string;
1171
- }
1172
- /**
1173
- * spark流任务统计信息
1174
- */
1175
- export interface StreamingStatistics {
1730
+ SchemaName?: string;
1176
1731
  /**
1177
- * 任务开始时间
1732
+ * 表名称
1178
1733
  */
1179
- StartTime: string;
1734
+ Name?: string;
1180
1735
  /**
1181
- * 数据接收器数
1736
+ * 数据目录
1182
1737
  */
1183
- Receivers: number;
1738
+ Catalog?: string;
1184
1739
  /**
1185
- * 运行中的接收器数
1740
+ * 查询关键词
1186
1741
  */
1187
- NumActiveReceivers: number;
1742
+ Keyword?: string;
1188
1743
  /**
1189
- * 不活跃的接收器数
1744
+ * 查询模式
1190
1745
  */
1191
- NumInactiveReceivers: number;
1746
+ Pattern?: string;
1192
1747
  /**
1193
- * 运行中的批数
1748
+ * 表类型
1194
1749
  */
1195
- NumActiveBatches: number;
1750
+ Type?: string;
1196
1751
  /**
1197
- * 待处理的批数
1752
+ * 筛选参数:更新开始时间
1198
1753
  */
1199
- NumRetainedCompletedBatches: number;
1754
+ StartTime?: string;
1200
1755
  /**
1201
- * 已完成的批数
1756
+ * 筛选参数:更新结束时间
1202
1757
  */
1203
- NumTotalCompletedBatches: number;
1758
+ EndTime?: string;
1204
1759
  /**
1205
- * 平均输入速率
1760
+ * 分页参数
1206
1761
  */
1207
- AverageInputRate: number;
1762
+ Limit?: number;
1208
1763
  /**
1209
- * 平均等待时长
1764
+ * 分页参数
1210
1765
  */
1211
- AverageSchedulingDelay: number;
1766
+ Offset?: number;
1212
1767
  /**
1213
- * 平均处理时长
1768
+ * 排序字段:create_time:创建时间
1214
1769
  */
1215
- AverageProcessingTime: number;
1770
+ Sort?: string;
1216
1771
  /**
1217
- * 平均延时
1772
+ * 排序字段:true:升序(默认),false:降序
1218
1773
  */
1219
- AverageTotalDelay: number;
1774
+ Asc?: boolean;
1775
+ }
1776
+ /**
1777
+ * ModifyUser请求参数结构体
1778
+ */
1779
+ export interface ModifyUserRequest {
1780
+ /**
1781
+ * 用户Id,和CAM侧Uin匹配
1782
+ */
1783
+ UserId: string;
1784
+ /**
1785
+ * 用户描述
1786
+ */
1787
+ UserDescription: string;
1788
+ }
1789
+ /**
1790
+ * 元数据存储描述属性
1791
+ */
1792
+ export interface DMSSds {
1793
+ /**
1794
+ * 存储地址
1795
+ 注意:此字段可能返回 null,表示取不到有效值。
1796
+ */
1797
+ Location?: string;
1798
+ /**
1799
+ * 输入格式
1800
+ 注意:此字段可能返回 null,表示取不到有效值。
1801
+ */
1802
+ InputFormat?: string;
1803
+ /**
1804
+ * 输出格式
1805
+ 注意:此字段可能返回 null,表示取不到有效值。
1806
+ */
1807
+ OutputFormat?: string;
1808
+ /**
1809
+ * bucket数量
1810
+ 注意:此字段可能返回 null,表示取不到有效值。
1811
+ */
1812
+ NumBuckets?: number;
1813
+ /**
1814
+ * 是是否压缩
1815
+ 注意:此字段可能返回 null,表示取不到有效值。
1816
+ */
1817
+ Compressed?: boolean;
1818
+ /**
1819
+ * 是否有子目录
1820
+ 注意:此字段可能返回 null,表示取不到有效值。
1821
+ */
1822
+ StoredAsSubDirectories?: boolean;
1823
+ /**
1824
+ * 序列化lib
1825
+ 注意:此字段可能返回 null,表示取不到有效值。
1826
+ */
1827
+ SerdeLib?: string;
1828
+ /**
1829
+ * 序列化名称
1830
+ 注意:此字段可能返回 null,表示取不到有效值。
1831
+ */
1832
+ SerdeName?: string;
1833
+ /**
1834
+ * 桶名称
1835
+ 注意:此字段可能返回 null,表示取不到有效值。
1836
+ */
1837
+ BucketCols?: Array<string>;
1838
+ /**
1839
+ * 序列化参数
1840
+ 注意:此字段可能返回 null,表示取不到有效值。
1841
+ */
1842
+ SerdeParams?: Array<KVPair>;
1843
+ /**
1844
+ * 附加参数
1845
+ 注意:此字段可能返回 null,表示取不到有效值。
1846
+ */
1847
+ Params?: Array<KVPair>;
1848
+ /**
1849
+ * 列排序(Expired)
1850
+ 注意:此字段可能返回 null,表示取不到有效值。
1851
+ */
1852
+ SortCols?: DMSColumnOrder;
1853
+ /**
1854
+ * 列
1855
+ 注意:此字段可能返回 null,表示取不到有效值。
1856
+ */
1857
+ Cols?: Array<DMSColumn>;
1858
+ /**
1859
+ * 列排序字段
1860
+ 注意:此字段可能返回 null,表示取不到有效值。
1861
+ */
1862
+ SortColumns?: Array<DMSColumnOrder>;
1220
1863
  }
1221
1864
  /**
1222
1865
  * CreateSparkAppTask返回参数结构体
@@ -1430,6 +2073,15 @@ export interface DeleteScriptRequest {
1430
2073
  */
1431
2074
  ScriptIds: Array<string>;
1432
2075
  }
2076
+ /**
2077
+ * AddDMSPartitions请求参数结构体
2078
+ */
2079
+ export interface AddDMSPartitionsRequest {
2080
+ /**
2081
+ * 分区
2082
+ */
2083
+ Partitions?: Array<DMSPartition>;
2084
+ }
1433
2085
  /**
1434
2086
  * script实例。
1435
2087
  */
@@ -1465,6 +2117,79 @@ export interface Script {
1465
2117
  */
1466
2118
  UpdateTime: number;
1467
2119
  }
2120
+ /**
2121
+ * AlterDMSTable请求参数结构体
2122
+ */
2123
+ export interface AlterDMSTableRequest {
2124
+ /**
2125
+ * 当前名称
2126
+ */
2127
+ CurrentName: string;
2128
+ /**
2129
+ * 当前数据库名称
2130
+ */
2131
+ CurrentDbName: string;
2132
+ /**
2133
+ * 基础对象
2134
+ */
2135
+ Asset?: Asset;
2136
+ /**
2137
+ * 表类型
2138
+ */
2139
+ Type?: string;
2140
+ /**
2141
+ * 数据库名称
2142
+ */
2143
+ DbName?: string;
2144
+ /**
2145
+ * 存储大小
2146
+ */
2147
+ StorageSize?: number;
2148
+ /**
2149
+ * 记录数量
2150
+ */
2151
+ RecordCount?: number;
2152
+ /**
2153
+ * 生命周期
2154
+ */
2155
+ LifeTime?: number;
2156
+ /**
2157
+ * 数据更新时间
2158
+ */
2159
+ DataUpdateTime?: string;
2160
+ /**
2161
+ * 结构更新时间
2162
+ */
2163
+ StructUpdateTime?: string;
2164
+ /**
2165
+ * 最后访问时间
2166
+ */
2167
+ LastAccessTime?: string;
2168
+ /**
2169
+ * 存储对象
2170
+ */
2171
+ Sds?: DMSSds;
2172
+ /**
2173
+ * 列
2174
+ */
2175
+ Columns?: Array<DMSColumn>;
2176
+ /**
2177
+ * 分区键值
2178
+ */
2179
+ PartitionKeys?: Array<DMSColumn>;
2180
+ /**
2181
+ * 视图文本
2182
+ */
2183
+ ViewOriginalText?: string;
2184
+ /**
2185
+ * 视图文本
2186
+ */
2187
+ ViewExpandedText?: string;
2188
+ /**
2189
+ * 分区
2190
+ */
2191
+ Partitions?: Array<DMSPartition>;
2192
+ }
1468
2193
  /**
1469
2194
  * CreateImportTask返回参数结构体
1470
2195
  */
@@ -1767,6 +2492,15 @@ export interface CancelTaskResponse {
1767
2492
  */
1768
2493
  RequestId?: string;
1769
2494
  }
2495
+ /**
2496
+ * UnlockMetaData返回参数结构体
2497
+ */
2498
+ export interface UnlockMetaDataResponse {
2499
+ /**
2500
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2501
+ */
2502
+ RequestId?: string;
2503
+ }
1770
2504
  /**
1771
2505
  * DeleteWorkGroup返回参数结构体
1772
2506
  */
@@ -1776,6 +2510,15 @@ export interface DeleteWorkGroupResponse {
1776
2510
  */
1777
2511
  RequestId?: string;
1778
2512
  }
2513
+ /**
2514
+ * DropDMSTable返回参数结构体
2515
+ */
2516
+ export interface DropDMSTableResponse {
2517
+ /**
2518
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2519
+ */
2520
+ RequestId?: string;
2521
+ }
1779
2522
  /**
1780
2523
  * 同一个用户绑定的工作组集合
1781
2524
  */
@@ -1951,6 +2694,78 @@ export interface DescribeDatabasesResponse {
1951
2694
  */
1952
2695
  RequestId?: string;
1953
2696
  }
2697
+ /**
2698
+ * DMSTable信息
2699
+ */
2700
+ export interface DMSTableInfo {
2701
+ /**
2702
+ * DMS表信息
2703
+ 注意:此字段可能返回 null,表示取不到有效值。
2704
+ */
2705
+ Table: DMSTable;
2706
+ /**
2707
+ * 基础对象信息
2708
+ 注意:此字段可能返回 null,表示取不到有效值。
2709
+ */
2710
+ Asset: Asset;
2711
+ }
2712
+ /**
2713
+ * 迁移元数据分区对象
2714
+ */
2715
+ export interface DMSPartition {
2716
+ /**
2717
+ * 数据库名称
2718
+ */
2719
+ DatabaseName?: string;
2720
+ /**
2721
+ * 数据目录名称
2722
+ */
2723
+ SchemaName?: string;
2724
+ /**
2725
+ * 表名称
2726
+ */
2727
+ TableName?: string;
2728
+ /**
2729
+ * 数据版本
2730
+ */
2731
+ DataVersion?: number;
2732
+ /**
2733
+ * 分区名称
2734
+ */
2735
+ Name?: string;
2736
+ /**
2737
+ * 值列表
2738
+ */
2739
+ Values?: Array<string>;
2740
+ /**
2741
+ * 存储大小
2742
+ */
2743
+ StorageSize?: number;
2744
+ /**
2745
+ * 记录数量
2746
+ */
2747
+ RecordCount?: number;
2748
+ /**
2749
+ * 创建时间
2750
+ */
2751
+ CreateTime?: string;
2752
+ /**
2753
+ * 修改时间
2754
+ */
2755
+ ModifiedTime?: string;
2756
+ /**
2757
+ * 最后访问时间
2758
+ */
2759
+ LastAccessTime?: string;
2760
+ /**
2761
+ * 附件属性
2762
+ */
2763
+ Params?: Array<KVPair>;
2764
+ /**
2765
+ * 存储对象
2766
+ */
2767
+ Sds?: DMSSds;
2768
+ }
1954
2769
  /**
1955
2770
  * 数据库对象
1956
2771
  */
@@ -1976,25 +2791,21 @@ export interface DatabaseInfo {
1976
2791
  Location?: string;
1977
2792
  }
1978
2793
  /**
1979
- * CreateImportTask请求参数结构体
2794
+ * DescribeDMSPartitions返回参数结构体
1980
2795
  */
1981
- export interface CreateImportTaskRequest {
1982
- /**
1983
- * 数据来源,cos
1984
- */
1985
- InputType: string;
2796
+ export interface DescribeDMSPartitionsResponse {
1986
2797
  /**
1987
- * 输入配置
2798
+ * 分区信息
1988
2799
  */
1989
- InputConf: Array<KVPair>;
2800
+ Partitions: Array<DMSPartition>;
1990
2801
  /**
1991
- * 输出配置
2802
+ * 总数
1992
2803
  */
1993
- OutputConf: Array<KVPair>;
2804
+ Total: number;
1994
2805
  /**
1995
- * 目标数据源的类型,目前支持导入到托管存储,即lakefsStorage
2806
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1996
2807
  */
1997
- OutputType?: string;
2808
+ RequestId?: string;
1998
2809
  }
1999
2810
  /**
2000
2811
  * CreateExportTask返回参数结构体
@@ -2018,6 +2829,10 @@ export interface UnbindWorkGroupsFromUserRequest {
2018
2829
  */
2019
2830
  AddInfo: WorkGroupIdSetOfUserId;
2020
2831
  }
2832
+ /**
2833
+ * DescribeDMSDatabase请求参数结构体
2834
+ */
2835
+ export declare type DescribeDMSDatabaseRequest = null;
2021
2836
  /**
2022
2837
  * DescribeTable请求参数结构体
2023
2838
  */
@@ -2028,55 +2843,12 @@ export interface DescribeTableRequest {
2028
2843
  TableName: string;
2029
2844
  /**
2030
2845
  * 查询表所在的数据库名称。
2031
- */
2032
- DatabaseName: string;
2033
- /**
2034
- * 查询表所在的数据源名称
2035
- */
2036
- DatasourceConnectionName?: string;
2037
- }
2038
- /**
2039
- * 日志详情
2040
- */
2041
- export interface JobLogResult {
2042
- /**
2043
- * 日志时间戳,毫秒
2044
- 注意:此字段可能返回 null,表示取不到有效值。
2045
- */
2046
- Time: number;
2047
- /**
2048
- * 日志topic id
2049
- 注意:此字段可能返回 null,表示取不到有效值。
2050
- */
2051
- TopicId: string;
2052
- /**
2053
- * 日志topic name
2054
- 注意:此字段可能返回 null,表示取不到有效值。
2055
- */
2056
- TopicName: string;
2057
- /**
2058
- * 日志内容,json字符串
2059
- 注意:此字段可能返回 null,表示取不到有效值。
2060
- */
2061
- LogJson: string;
2062
- }
2063
- /**
2064
- * 数据格式其它类型。
2065
- */
2066
- export interface Other {
2067
- /**
2068
- * 枚举类型,默认值为Json,可选值为[Json, Parquet, ORC, AVRD]之一。
2069
- */
2070
- Format: string;
2071
- }
2072
- /**
2073
- * DeleteUsersFromWorkGroup请求参数结构体
2074
- */
2075
- export interface DeleteUsersFromWorkGroupRequest {
2846
+ */
2847
+ DatabaseName: string;
2076
2848
  /**
2077
- * 要删除的用户信息
2849
+ * 查询表所在的数据源名称
2078
2850
  */
2079
- AddInfo: UserIdSetOfWorkGroupId;
2851
+ DatasourceConnectionName?: string;
2080
2852
  }
2081
2853
  /**
2082
2854
  * 权限对象
@@ -2158,6 +2930,102 @@ export interface Policy {
2158
2930
  */
2159
2931
  SourceName?: string;
2160
2932
  }
2933
+ /**
2934
+ * 日志详情
2935
+ */
2936
+ export interface JobLogResult {
2937
+ /**
2938
+ * 日志时间戳,毫秒
2939
+ 注意:此字段可能返回 null,表示取不到有效值。
2940
+ */
2941
+ Time: number;
2942
+ /**
2943
+ * 日志topic id
2944
+ 注意:此字段可能返回 null,表示取不到有效值。
2945
+ */
2946
+ TopicId: string;
2947
+ /**
2948
+ * 日志topic name
2949
+ 注意:此字段可能返回 null,表示取不到有效值。
2950
+ */
2951
+ TopicName: string;
2952
+ /**
2953
+ * 日志内容,json字符串
2954
+ 注意:此字段可能返回 null,表示取不到有效值。
2955
+ */
2956
+ LogJson: string;
2957
+ }
2958
+ /**
2959
+ * 数据格式其它类型。
2960
+ */
2961
+ export interface Other {
2962
+ /**
2963
+ * 枚举类型,默认值为Json,可选值为[Json, Parquet, ORC, AVRD]之一。
2964
+ */
2965
+ Format: string;
2966
+ }
2967
+ /**
2968
+ * DropDMSDatabase返回参数结构体
2969
+ */
2970
+ export interface DropDMSDatabaseResponse {
2971
+ /**
2972
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2973
+ */
2974
+ RequestId?: string;
2975
+ }
2976
+ /**
2977
+ * DescribeUsers请求参数结构体
2978
+ */
2979
+ export interface DescribeUsersRequest {
2980
+ /**
2981
+ * 指定查询的子用户uin,用户需要通过CreateUser接口创建。
2982
+ */
2983
+ UserId?: string;
2984
+ /**
2985
+ * 偏移量,默认为0
2986
+ */
2987
+ Offset?: number;
2988
+ /**
2989
+ * 返回数量,默认20,最大值100
2990
+ */
2991
+ Limit?: number;
2992
+ /**
2993
+ * 排序字段,支持如下字段类型,create-time
2994
+ */
2995
+ SortBy?: string;
2996
+ /**
2997
+ * 排序方式,desc表示正序,asc表示反序, 默认为asc
2998
+ */
2999
+ Sorting?: string;
3000
+ /**
3001
+ * 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。user-keyword:根据用户名称过滤
3002
+ */
3003
+ Filters?: Array<Filter>;
3004
+ }
3005
+ /**
3006
+ * DeleteUsersFromWorkGroup请求参数结构体
3007
+ */
3008
+ export interface DeleteUsersFromWorkGroupRequest {
3009
+ /**
3010
+ * 要删除的用户信息
3011
+ */
3012
+ AddInfo: UserIdSetOfWorkGroupId;
3013
+ }
3014
+ /**
3015
+ * 列排序对象
3016
+ */
3017
+ export interface DMSColumnOrder {
3018
+ /**
3019
+ * 列名
3020
+ 注意:此字段可能返回 null,表示取不到有效值。
3021
+ */
3022
+ Col?: string;
3023
+ /**
3024
+ * 排序
3025
+ 注意:此字段可能返回 null,表示取不到有效值。
3026
+ */
3027
+ Order?: number;
3028
+ }
2161
3029
  /**
2162
3030
  * CreateSparkApp返回参数结构体
2163
3031
  */
@@ -2190,6 +3058,15 @@ export interface DeleteSparkAppResponse {
2190
3058
  */
2191
3059
  RequestId?: string;
2192
3060
  }
3061
+ /**
3062
+ * AlterDMSPartition返回参数结构体
3063
+ */
3064
+ export interface AlterDMSPartitionResponse {
3065
+ /**
3066
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3067
+ */
3068
+ RequestId?: string;
3069
+ }
2193
3070
  /**
2194
3071
  * CreateTasks请求参数结构体
2195
3072
  */
@@ -2296,13 +3173,72 @@ export interface TableResponseInfo {
2296
3173
  RecordCount: number;
2297
3174
  }
2298
3175
  /**
2299
- * AddUsersToWorkGroup返回参数结构体
3176
+ * DescribeViews请求参数结构体
2300
3177
  */
2301
- export interface AddUsersToWorkGroupResponse {
3178
+ export interface DescribeViewsRequest {
2302
3179
  /**
2303
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3180
+ * 列出该数据库下所属数据表。
2304
3181
  */
2305
- RequestId?: string;
3182
+ DatabaseName: string;
3183
+ /**
3184
+ * 返回数量,默认为10,最大值为100。
3185
+ */
3186
+ Limit?: number;
3187
+ /**
3188
+ * 数据偏移量,从0开始,默认为0。
3189
+ */
3190
+ Offset?: number;
3191
+ /**
3192
+ * 过滤条件,如下支持的过滤类型,传参Name应为其一
3193
+ view-name - String - (过滤条件)数据表名称,形如:view-001。
3194
+ view-id - String - (过滤条件)view id形如:12342。
3195
+ */
3196
+ Filters?: Array<Filter>;
3197
+ /**
3198
+ * 数据库所属的数据源名称
3199
+ */
3200
+ DatasourceConnectionName?: string;
3201
+ /**
3202
+ * 排序字段
3203
+ */
3204
+ Sort?: string;
3205
+ /**
3206
+ * 排序规则,true:升序;false:降序
3207
+ */
3208
+ Asc?: boolean;
3209
+ /**
3210
+ * 按视图更新时间筛选,开始时间,如2021-11-11 00:00:00
3211
+ */
3212
+ StartTime?: string;
3213
+ /**
3214
+ * 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00
3215
+ */
3216
+ EndTime?: string;
3217
+ }
3218
+ /**
3219
+ * LockMetaData请求参数结构体
3220
+ */
3221
+ export interface LockMetaDataRequest {
3222
+ /**
3223
+ * 加锁内容
3224
+ */
3225
+ LockComponentList: Array<LockComponentInfo>;
3226
+ /**
3227
+ * 数据源名称
3228
+ */
3229
+ DatasourceConnectionName?: string;
3230
+ /**
3231
+ * 事务id
3232
+ */
3233
+ TxnId?: number;
3234
+ /**
3235
+ * 客户端信息
3236
+ */
3237
+ AgentInfo?: string;
3238
+ /**
3239
+ * 主机名
3240
+ */
3241
+ Hostname?: string;
2306
3242
  }
2307
3243
  /**
2308
3244
  * DetachUserPolicy返回参数结构体
@@ -2458,24 +3394,22 @@ export interface UnbindWorkGroupsFromUserResponse {
2458
3394
  RequestId?: string;
2459
3395
  }
2460
3396
  /**
2461
- * ListTaskJobLogDetail返回参数结构体
3397
+ * DropDMSPartitions返回参数结构体
2462
3398
  */
2463
- export interface ListTaskJobLogDetailResponse {
2464
- /**
2465
- * 下一次分页参数
2466
- 注意:此字段可能返回 null,表示取不到有效值。
2467
- */
2468
- Context: string;
3399
+ export interface DropDMSPartitionsResponse {
2469
3400
  /**
2470
- * 是否获取完结
2471
- 注意:此字段可能返回 null,表示取不到有效值。
2472
- */
2473
- ListOver: boolean;
3401
+ * 状态
3402
+ */
3403
+ Status: boolean;
2474
3404
  /**
2475
- * 日志详情
2476
- 注意:此字段可能返回 null,表示取不到有效值。
2477
- */
2478
- Results: Array<JobLogResult>;
3405
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3406
+ */
3407
+ RequestId?: string;
3408
+ }
3409
+ /**
3410
+ * AlterDMSDatabase返回参数结构体
3411
+ */
3412
+ export interface AlterDMSDatabaseResponse {
2479
3413
  /**
2480
3414
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2481
3415
  */
@@ -2523,6 +3457,44 @@ export interface DescribeSparkAppTasksRequest {
2523
3457
  */
2524
3458
  TaskId?: string;
2525
3459
  }
3460
+ /**
3461
+ * LockMetaData返回参数结构体
3462
+ */
3463
+ export interface LockMetaDataResponse {
3464
+ /**
3465
+ * 锁id
3466
+ */
3467
+ LockId: number;
3468
+ /**
3469
+ * 锁状态:ACQUIRED、WAITING、ABORT、NOT_ACQUIRED
3470
+ */
3471
+ LockState: string;
3472
+ /**
3473
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3474
+ */
3475
+ RequestId?: string;
3476
+ }
3477
+ /**
3478
+ * CheckLockMetaData返回参数结构体
3479
+ */
3480
+ export interface CheckLockMetaDataResponse {
3481
+ /**
3482
+ * 锁ID
3483
+ */
3484
+ LockId: number;
3485
+ /**
3486
+ * 锁状态:ACQUIRED、WAITING、ABORT、NOT_ACQUIRED
3487
+ */
3488
+ LockState: string;
3489
+ /**
3490
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3491
+ */
3492
+ RequestId?: string;
3493
+ }
3494
+ /**
3495
+ * AlterDMSDatabase请求参数结构体
3496
+ */
3497
+ export declare type AlterDMSDatabaseRequest = null;
2526
3498
  /**
2527
3499
  * SQL查询任务
2528
3500
  */
@@ -2584,6 +3556,15 @@ export interface AttachUserPolicyResponse {
2584
3556
  */
2585
3557
  RequestId?: string;
2586
3558
  }
3559
+ /**
3560
+ * CreateDMSDatabase请求参数结构体
3561
+ */
3562
+ export interface CreateDMSDatabaseRequest {
3563
+ /**
3564
+ * 数据库名称
3565
+ */
3566
+ Name?: string;
3567
+ }
2587
3568
  /**
2588
3569
  * DetachWorkGroupPolicy请求参数结构体
2589
3570
  */
@@ -2597,6 +3578,39 @@ export interface DetachWorkGroupPolicyRequest {
2597
3578
  */
2598
3579
  PolicySet?: Array<Policy>;
2599
3580
  }
3581
+ /**
3582
+ * DescribeDMSTable请求参数结构体
3583
+ */
3584
+ export interface DescribeDMSTableRequest {
3585
+ /**
3586
+ * 数据库名称
3587
+ */
3588
+ DbName?: string;
3589
+ /**
3590
+ * 数据库schema名称
3591
+ */
3592
+ SchemaName?: string;
3593
+ /**
3594
+ * 表名称
3595
+ */
3596
+ Name?: string;
3597
+ /**
3598
+ * 数据目录
3599
+ */
3600
+ Catalog?: string;
3601
+ /**
3602
+ * 查询关键词
3603
+ */
3604
+ Keyword?: string;
3605
+ /**
3606
+ * 查询模式
3607
+ */
3608
+ Pattern?: string;
3609
+ /**
3610
+ * 表类型
3611
+ */
3612
+ Type?: string;
3613
+ }
2600
3614
  /**
2601
3615
  * DescribeViews返回参数结构体
2602
3616
  */
@@ -2678,3 +3692,43 @@ export interface DatabaseResponseInfo {
2678
3692
  */
2679
3693
  ModifiedTime?: string;
2680
3694
  }
3695
+ /**
3696
+ * 迁移列对象
3697
+ */
3698
+ export interface DMSColumn {
3699
+ /**
3700
+ * 名称
3701
+ 注意:此字段可能返回 null,表示取不到有效值。
3702
+ */
3703
+ Name?: string;
3704
+ /**
3705
+ * 描述
3706
+ 注意:此字段可能返回 null,表示取不到有效值。
3707
+ */
3708
+ Description?: string;
3709
+ /**
3710
+ * 类型
3711
+ 注意:此字段可能返回 null,表示取不到有效值。
3712
+ */
3713
+ Type?: string;
3714
+ /**
3715
+ * 排序
3716
+ 注意:此字段可能返回 null,表示取不到有效值。
3717
+ */
3718
+ Position?: number;
3719
+ /**
3720
+ * 附加参数
3721
+ 注意:此字段可能返回 null,表示取不到有效值。
3722
+ */
3723
+ Params?: Array<KVPair>;
3724
+ /**
3725
+ * 业务参数
3726
+ 注意:此字段可能返回 null,表示取不到有效值。
3727
+ */
3728
+ BizParams?: Array<KVPair>;
3729
+ /**
3730
+ * 是否分区
3731
+ 注意:此字段可能返回 null,表示取不到有效值。
3732
+ */
3733
+ IsPartition?: boolean;
3734
+ }