tencentcloud-sdk-nodejs-dlc 4.0.533 → 4.0.535

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.
@@ -51,13 +51,30 @@ export interface DescribeTaskResultResponse {
51
51
  RequestId?: string;
52
52
  }
53
53
  /**
54
- * AlterDMSTable返回参数结构体
54
+ * DescribeNotebookSessionStatement请求参数结构体
55
55
  */
56
- export interface AlterDMSTableResponse {
56
+ export interface DescribeNotebookSessionStatementRequest {
57
57
  /**
58
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
58
+ * Session唯一标识
59
59
  */
60
- RequestId?: string;
60
+ SessionId: string;
61
+ /**
62
+ * Session Statement唯一标识
63
+ */
64
+ StatementId: string;
65
+ }
66
+ /**
67
+ * CancelNotebookSessionStatement请求参数结构体
68
+ */
69
+ export interface CancelNotebookSessionStatementRequest {
70
+ /**
71
+ * Session唯一标识
72
+ */
73
+ SessionId: string;
74
+ /**
75
+ * Session Statement唯一标识
76
+ */
77
+ StatementId: string;
61
78
  }
62
79
  /**
63
80
  * DescribeDatabases请求参数结构体
@@ -234,6 +251,35 @@ export interface ModifyGovernEventRuleResponse {
234
251
  */
235
252
  RequestId?: string;
236
253
  }
254
+ /**
255
+ * DescribeNotebookSessions请求参数结构体
256
+ */
257
+ export interface DescribeNotebookSessionsRequest {
258
+ /**
259
+ * DLC Spark作业引擎名称
260
+ */
261
+ DataEngineName: string;
262
+ /**
263
+ * Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
264
+ */
265
+ State?: Array<string>;
266
+ /**
267
+ * 排序字段(默认按创建时间)
268
+ */
269
+ SortFields?: Array<string>;
270
+ /**
271
+ * 排序字段:true:升序、false:降序(默认)
272
+ */
273
+ Asc?: boolean;
274
+ /**
275
+ * 分页字段
276
+ */
277
+ Limit?: number;
278
+ /**
279
+ * 分页字段
280
+ */
281
+ Offset?: number;
282
+ }
237
283
  /**
238
284
  * CreateDMSDatabase返回参数结构体
239
285
  */
@@ -294,6 +340,15 @@ export interface DescribeDMSDatabaseResponse {
294
340
  */
295
341
  RequestId?: string;
296
342
  }
343
+ /**
344
+ * UnbindWorkGroupsFromUser返回参数结构体
345
+ */
346
+ export interface UnbindWorkGroupsFromUserResponse {
347
+ /**
348
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
349
+ */
350
+ RequestId?: string;
351
+ }
297
352
  /**
298
353
  * DropDMSDatabase请求参数结构体
299
354
  */
@@ -606,23 +661,29 @@ export interface DetachUserPolicyRequest {
606
661
  PolicySet?: Array<Policy>;
607
662
  }
608
663
  /**
609
- * DescribeSparkAppTasks返回参数结构体
664
+ * 定时启停策略信息
610
665
  */
611
- export interface DescribeSparkAppTasksResponse {
666
+ export interface CrontabResumeSuspendStrategy {
612
667
  /**
613
- * 任务结果(该字段已废弃)
668
+ * 定时拉起时间:如:周一8点
614
669
  注意:此字段可能返回 null,表示取不到有效值。
615
670
  */
616
- Tasks: TaskResponseInfo;
671
+ ResumeTime?: string;
617
672
  /**
618
- * 任务总数
619
- */
620
- TotalCount: number;
673
+ * 定时挂起时间:如:周一20点
674
+ 注意:此字段可能返回 null,表示取不到有效值。
675
+ */
676
+ SuspendTime?: string;
621
677
  /**
622
- * 任务结果列表
678
+ * 挂起配置:0(默认):等待任务结束后挂起、1:强制挂起
623
679
  注意:此字段可能返回 null,表示取不到有效值。
624
680
  */
625
- SparkAppTasks: Array<TaskResponseInfo>;
681
+ SuspendStrategy?: number;
682
+ }
683
+ /**
684
+ * AlterDMSTable返回参数结构体
685
+ */
686
+ export interface AlterDMSTableResponse {
626
687
  /**
627
688
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
628
689
  */
@@ -778,6 +839,80 @@ export interface DropDMSPartitionsRequest {
778
839
  */
779
840
  DeleteData?: boolean;
780
841
  }
842
+ /**
843
+ * notebook session列表信息。
844
+ */
845
+ export interface NotebookSessions {
846
+ /**
847
+ * 类型,当前支持:spark、pyspark、sparkr、sql
848
+ */
849
+ Kind: string;
850
+ /**
851
+ * Session唯一标识
852
+ */
853
+ SessionId: string;
854
+ /**
855
+ * 代理用户,默认为root
856
+ 注意:此字段可能返回 null,表示取不到有效值。
857
+ */
858
+ ProxyUser: string;
859
+ /**
860
+ * Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
861
+ */
862
+ State: string;
863
+ /**
864
+ * Spark任务返回的AppId
865
+ 注意:此字段可能返回 null,表示取不到有效值。
866
+ */
867
+ SparkAppId: string;
868
+ /**
869
+ * Session名称
870
+ */
871
+ Name: string;
872
+ /**
873
+ * Session创建时间
874
+ */
875
+ CreateTime: string;
876
+ /**
877
+ * 引擎名称
878
+ */
879
+ DataEngineName: string;
880
+ /**
881
+ * 最新的运行时间
882
+ 注意:此字段可能返回 null,表示取不到有效值。
883
+ */
884
+ LastRunningTime: string;
885
+ /**
886
+ * 创建者
887
+ */
888
+ Creator: string;
889
+ /**
890
+ * spark ui地址
891
+ 注意:此字段可能返回 null,表示取不到有效值。
892
+ */
893
+ SparkUiUrl: string;
894
+ }
895
+ /**
896
+ * CreateNotebookSessionStatementSupportBatchSQL请求参数结构体
897
+ */
898
+ export interface CreateNotebookSessionStatementSupportBatchSQLRequest {
899
+ /**
900
+ * Session唯一标识
901
+ */
902
+ SessionId: string;
903
+ /**
904
+ * 执行的代码
905
+ */
906
+ Code: string;
907
+ /**
908
+ * 类型,当前支持:spark、pyspark、sparkr、sql
909
+ */
910
+ Kind: string;
911
+ /**
912
+ * 是否保存运行结果
913
+ */
914
+ SaveResult: boolean;
915
+ }
781
916
  /**
782
917
  * CreateTasksInOrder请求参数结构体
783
918
  */
@@ -821,6 +956,10 @@ export interface DetachWorkGroupPolicyResponse {
821
956
  */
822
957
  RequestId?: string;
823
958
  }
959
+ /**
960
+ * GenerateCreateMangedTableSql请求参数结构体
961
+ */
962
+ export declare type GenerateCreateMangedTableSqlRequest = null;
824
963
  /**
825
964
  * CSV序列化及反序列化数据结构
826
965
  */
@@ -1013,6 +1152,15 @@ export interface CreateDatabaseRequest {
1013
1152
  */
1014
1153
  DatasourceConnectionName?: string;
1015
1154
  }
1155
+ /**
1156
+ * GenerateCreateMangedTableSql返回参数结构体
1157
+ */
1158
+ export interface GenerateCreateMangedTableSqlResponse {
1159
+ /**
1160
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1161
+ */
1162
+ RequestId?: string;
1163
+ }
1016
1164
  /**
1017
1165
  * DescribeDMSTables返回参数结构体
1018
1166
  */
@@ -1190,13 +1338,13 @@ export interface CreateSparkAppTaskRequest {
1190
1338
  CmdArgs?: string;
1191
1339
  }
1192
1340
  /**
1193
- * DeleteWorkGroup请求参数结构体
1341
+ * CancelNotebookSessionStatementBatch返回参数结构体
1194
1342
  */
1195
- export interface DeleteWorkGroupRequest {
1343
+ export interface CancelNotebookSessionStatementBatchResponse {
1196
1344
  /**
1197
- * 要删除的工作组Id集合
1345
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1198
1346
  */
1199
- WorkGroupIds: Array<number>;
1347
+ RequestId?: string;
1200
1348
  }
1201
1349
  /**
1202
1350
  * 配置格式
@@ -1287,6 +1435,27 @@ export interface AttachUserPolicyRequest {
1287
1435
  */
1288
1436
  PolicySet?: Array<Policy>;
1289
1437
  }
1438
+ /**
1439
+ * CreateInternalTable请求参数结构体
1440
+ */
1441
+ export interface CreateInternalTableRequest {
1442
+ /**
1443
+ * 表基本信息
1444
+ */
1445
+ TableBaseInfo: TableBaseInfo;
1446
+ /**
1447
+ * 表字段信息
1448
+ */
1449
+ Columns: Array<TColumn>;
1450
+ /**
1451
+ * 表分区信息
1452
+ */
1453
+ Partitions?: Array<TPartition>;
1454
+ /**
1455
+ * 表属性信息
1456
+ */
1457
+ Properties?: Array<Property>;
1458
+ }
1290
1459
  /**
1291
1460
  * ListTaskJobLogDetail请求参数结构体
1292
1461
  */
@@ -1358,6 +1527,61 @@ export interface AttachWorkGroupPolicyRequest {
1358
1527
  */
1359
1528
  PolicySet?: Array<Policy>;
1360
1529
  }
1530
+ /**
1531
+ * notebook session statement输出信息。
1532
+ */
1533
+ export interface StatementOutput {
1534
+ /**
1535
+ * 执行总数
1536
+ 注意:此字段可能返回 null,表示取不到有效值。
1537
+ */
1538
+ ExecutionCount: number;
1539
+ /**
1540
+ * Statement数据
1541
+ 注意:此字段可能返回 null,表示取不到有效值。
1542
+ */
1543
+ Data: Array<KVPair>;
1544
+ /**
1545
+ * Statement状态:ok,error
1546
+ 注意:此字段可能返回 null,表示取不到有效值。
1547
+ */
1548
+ Status: string;
1549
+ /**
1550
+ * 错误名称
1551
+ 注意:此字段可能返回 null,表示取不到有效值。
1552
+ */
1553
+ ErrorName: string;
1554
+ /**
1555
+ * 错误类型
1556
+ 注意:此字段可能返回 null,表示取不到有效值。
1557
+ */
1558
+ ErrorValue: string;
1559
+ /**
1560
+ * 错误堆栈信息
1561
+ 注意:此字段可能返回 null,表示取不到有效值。
1562
+ */
1563
+ ErrorMessage: Array<string>;
1564
+ /**
1565
+ * SQL类型任务结果返回
1566
+ 注意:此字段可能返回 null,表示取不到有效值。
1567
+ */
1568
+ SQLResult?: string;
1569
+ }
1570
+ /**
1571
+ * 标签对信息
1572
+ */
1573
+ export interface TagInfo {
1574
+ /**
1575
+ * 标签键
1576
+ 注意:此字段可能返回 null,表示取不到有效值。
1577
+ */
1578
+ TagKey?: string;
1579
+ /**
1580
+ * 标签值
1581
+ 注意:此字段可能返回 null,表示取不到有效值。
1582
+ */
1583
+ TagValue?: string;
1584
+ }
1361
1585
  /**
1362
1586
  * CreateUser返回参数结构体
1363
1587
  */
@@ -1367,6 +1591,19 @@ export interface CreateUserResponse {
1367
1591
  */
1368
1592
  RequestId?: string;
1369
1593
  }
1594
+ /**
1595
+ * DescribeNotebookSessionStatements请求参数结构体
1596
+ */
1597
+ export interface DescribeNotebookSessionStatementsRequest {
1598
+ /**
1599
+ * Session唯一标识
1600
+ */
1601
+ SessionId: string;
1602
+ /**
1603
+ * 批任务id
1604
+ */
1605
+ BatchId: string;
1606
+ }
1370
1607
  /**
1371
1608
  * DeleteUser返回参数结构体
1372
1609
  */
@@ -1430,6 +1667,35 @@ export interface LockComponentInfo {
1430
1667
  */
1431
1668
  IsDynamicPartitionWrite?: boolean;
1432
1669
  }
1670
+ /**
1671
+ * DescribeNotebookSessions返回参数结构体
1672
+ */
1673
+ export interface DescribeNotebookSessionsResponse {
1674
+ /**
1675
+ * session总数量
1676
+ */
1677
+ TotalElements: number;
1678
+ /**
1679
+ * 总页数
1680
+ */
1681
+ TotalPages: number;
1682
+ /**
1683
+ * 当前页码
1684
+ */
1685
+ Page: number;
1686
+ /**
1687
+ * 当前页数量
1688
+ */
1689
+ Size: number;
1690
+ /**
1691
+ * session列表信息
1692
+ */
1693
+ Sessions: Array<NotebookSessions>;
1694
+ /**
1695
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1696
+ */
1697
+ RequestId?: string;
1698
+ }
1433
1699
  /**
1434
1700
  * DescribeDMSPartitions请求参数结构体
1435
1701
  */
@@ -1483,6 +1749,43 @@ export interface DescribeDMSPartitionsRequest {
1483
1749
  */
1484
1750
  Expression?: string;
1485
1751
  }
1752
+ /**
1753
+ * 表分区字段信息
1754
+ */
1755
+ export interface TPartition {
1756
+ /**
1757
+ * 字段名称
1758
+ */
1759
+ Name: string;
1760
+ /**
1761
+ * 字段类型
1762
+ */
1763
+ Type?: string;
1764
+ /**
1765
+ * 字段描述
1766
+ */
1767
+ Comment?: string;
1768
+ /**
1769
+ * 分区类型
1770
+ */
1771
+ PartitionType?: string;
1772
+ /**
1773
+ * 分区格式
1774
+ */
1775
+ PartitionFormat?: string;
1776
+ /**
1777
+ * 分区分隔数
1778
+ */
1779
+ PartitionDot?: number;
1780
+ /**
1781
+ * 分区转换策略
1782
+ */
1783
+ Transform?: string;
1784
+ /**
1785
+ * 策略参数
1786
+ */
1787
+ TransformArgs?: Array<string>;
1788
+ }
1486
1789
  /**
1487
1790
  * DescribeSparkAppJobs请求参数结构体
1488
1791
  */
@@ -1516,6 +1819,15 @@ export interface DescribeSparkAppJobsRequest {
1516
1819
  */
1517
1820
  Limit?: number;
1518
1821
  }
1822
+ /**
1823
+ * DeleteNotebookSession请求参数结构体
1824
+ */
1825
+ export interface DeleteNotebookSessionRequest {
1826
+ /**
1827
+ * Session唯一标识
1828
+ */
1829
+ SessionId: string;
1830
+ }
1519
1831
  /**
1520
1832
  * CreateDMSTable返回参数结构体
1521
1833
  */
@@ -1672,20 +1984,85 @@ export interface CSV {
1672
1984
  Format?: string;
1673
1985
  }
1674
1986
  /**
1675
- * CreateTable请求参数结构体
1987
+ * NotebookSessionStatement详情。
1676
1988
  */
1677
- export interface CreateTableRequest {
1989
+ export interface NotebookSessionStatementInfo {
1678
1990
  /**
1679
- * 数据表配置信息
1680
- */
1681
- TableInfo: TableInfo;
1682
- }
1683
- /**
1684
- * DescribeWorkGroups返回参数结构体
1685
- */
1686
- export interface DescribeWorkGroupsResponse {
1991
+ * 完成时间戳
1992
+ 注意:此字段可能返回 null,表示取不到有效值。
1993
+ */
1994
+ Completed: number;
1687
1995
  /**
1688
- * 工作组总数
1996
+ * 开始时间戳
1997
+ 注意:此字段可能返回 null,表示取不到有效值。
1998
+ */
1999
+ Started: number;
2000
+ /**
2001
+ * 完成进度,百分制
2002
+ 注意:此字段可能返回 null,表示取不到有效值。
2003
+ */
2004
+ Progress: number;
2005
+ /**
2006
+ * Session Statement唯一标识
2007
+ */
2008
+ StatementId: string;
2009
+ /**
2010
+ * Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)
2011
+ */
2012
+ State: string;
2013
+ /**
2014
+ * Statement输出信息
2015
+ 注意:此字段可能返回 null,表示取不到有效值。
2016
+ */
2017
+ OutPut: StatementOutput;
2018
+ /**
2019
+ * 批任务id
2020
+ 注意:此字段可能返回 null,表示取不到有效值。
2021
+ */
2022
+ BatchId?: string;
2023
+ /**
2024
+ * 运行语句
2025
+ 注意:此字段可能返回 null,表示取不到有效值。
2026
+ */
2027
+ Code?: string;
2028
+ /**
2029
+ * 任务ID
2030
+ 注意:此字段可能返回 null,表示取不到有效值。
2031
+ */
2032
+ TaskId?: string;
2033
+ }
2034
+ /**
2035
+ * CreateTable请求参数结构体
2036
+ */
2037
+ export interface CreateTableRequest {
2038
+ /**
2039
+ * 数据表配置信息
2040
+ */
2041
+ TableInfo: TableInfo;
2042
+ }
2043
+ /**
2044
+ * CreateNotebookSessionStatement请求参数结构体
2045
+ */
2046
+ export interface CreateNotebookSessionStatementRequest {
2047
+ /**
2048
+ * Session唯一标识
2049
+ */
2050
+ SessionId: string;
2051
+ /**
2052
+ * 执行的代码
2053
+ */
2054
+ Code: string;
2055
+ /**
2056
+ * 类型,当前支持:spark、pyspark、sparkr、sql
2057
+ */
2058
+ Kind: string;
2059
+ }
2060
+ /**
2061
+ * DescribeWorkGroups返回参数结构体
2062
+ */
2063
+ export interface DescribeWorkGroupsResponse {
2064
+ /**
2065
+ * 工作组总数
1689
2066
  */
1690
2067
  TotalCount: number;
1691
2068
  /**
@@ -1764,9 +2141,13 @@ export interface DescribeSparkAppJobResponse {
1764
2141
  RequestId?: string;
1765
2142
  }
1766
2143
  /**
1767
- * DeleteUsersFromWorkGroup返回参数结构体
2144
+ * CreateExportTask返回参数结构体
1768
2145
  */
1769
- export interface DeleteUsersFromWorkGroupResponse {
2146
+ export interface CreateExportTaskResponse {
2147
+ /**
2148
+ * 任务id
2149
+ */
2150
+ TaskId: string;
1770
2151
  /**
1771
2152
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1772
2153
  */
@@ -1794,6 +2175,23 @@ export interface AddUsersToWorkGroupResponse {
1794
2175
  */
1795
2176
  RequestId?: string;
1796
2177
  }
2178
+ /**
2179
+ * DescribeNotebookSessionLog请求参数结构体
2180
+ */
2181
+ export interface DescribeNotebookSessionLogRequest {
2182
+ /**
2183
+ * Session唯一标识
2184
+ */
2185
+ SessionId: string;
2186
+ /**
2187
+ * 分页参数,默认200
2188
+ */
2189
+ Limit?: number;
2190
+ /**
2191
+ * 分页参数,默认0
2192
+ */
2193
+ Offset?: number;
2194
+ }
1797
2195
  /**
1798
2196
  * 授权用户信息
1799
2197
  */
@@ -1862,6 +2260,19 @@ export interface CreateExportTaskRequest {
1862
2260
  */
1863
2261
  OutputType?: string;
1864
2262
  }
2263
+ /**
2264
+ * DescribeNotebookSessionStatement返回参数结构体
2265
+ */
2266
+ export interface DescribeNotebookSessionStatementResponse {
2267
+ /**
2268
+ * Session Statement详情
2269
+ */
2270
+ NotebookSessionStatement?: NotebookSessionStatementInfo;
2271
+ /**
2272
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2273
+ */
2274
+ RequestId?: string;
2275
+ }
1865
2276
  /**
1866
2277
  * ReportHeartbeatMetaData返回参数结构体
1867
2278
  */
@@ -1958,25 +2369,13 @@ export interface CreateDMSTableRequest {
1958
2369
  Name?: string;
1959
2370
  }
1960
2371
  /**
1961
- * DropDMSTable请求参数结构体
2372
+ * CancelNotebookSessionStatement返回参数结构体
1962
2373
  */
1963
- export interface DropDMSTableRequest {
1964
- /**
1965
- * 数据库名称
1966
- */
1967
- DbName?: string;
1968
- /**
1969
- * 表名称
1970
- */
1971
- Name?: string;
1972
- /**
1973
- * 是否删除数据
1974
- */
1975
- DeleteData?: boolean;
2374
+ export interface CancelNotebookSessionStatementResponse {
1976
2375
  /**
1977
- * 环境属性
2376
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1978
2377
  */
1979
- EnvProps?: KVPair;
2378
+ RequestId?: string;
1980
2379
  }
1981
2380
  /**
1982
2381
  * DMSTable基本信息
@@ -2430,6 +2829,19 @@ export interface BindWorkGroupsToUserResponse {
2430
2829
  */
2431
2830
  RequestId?: string;
2432
2831
  }
2832
+ /**
2833
+ * CreateNotebookSessionStatement返回参数结构体
2834
+ */
2835
+ export interface CreateNotebookSessionStatementResponse {
2836
+ /**
2837
+ * Session Statement详情
2838
+ */
2839
+ NotebookSessionStatement?: NotebookSessionStatementInfo;
2840
+ /**
2841
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2842
+ */
2843
+ RequestId?: string;
2844
+ }
2433
2845
  /**
2434
2846
  * DescribeStoreLocation返回参数结构体
2435
2847
  */
@@ -2497,6 +2909,57 @@ export interface Script {
2497
2909
  */
2498
2910
  UpdateTime: number;
2499
2911
  }
2912
+ /**
2913
+ * 按批提交Statement运行SQL任务。
2914
+ */
2915
+ export interface NotebookSessionStatementBatchInformation {
2916
+ /**
2917
+ * 任务详情列表
2918
+ 注意:此字段可能返回 null,表示取不到有效值。
2919
+ */
2920
+ NotebookSessionStatementBatch?: Array<NotebookSessionStatementInfo>;
2921
+ /**
2922
+ * 当前批任务是否运行完成
2923
+ 注意:此字段可能返回 null,表示取不到有效值。
2924
+ */
2925
+ IsAvailable?: boolean;
2926
+ /**
2927
+ * Session唯一标识
2928
+ 注意:此字段可能返回 null,表示取不到有效值。
2929
+ */
2930
+ SessionId?: string;
2931
+ /**
2932
+ * Batch唯一标识
2933
+ 注意:此字段可能返回 null,表示取不到有效值。
2934
+ */
2935
+ BatchId?: string;
2936
+ }
2937
+ /**
2938
+ * DescribeNotebookSessionStatementSqlResult请求参数结构体
2939
+ */
2940
+ export interface DescribeNotebookSessionStatementSqlResultRequest {
2941
+ /**
2942
+ * 任务唯一ID
2943
+ */
2944
+ TaskId: string;
2945
+ /**
2946
+ * 返回结果的最大行数,范围0~1000,默认为1000.
2947
+ */
2948
+ MaxResults?: number;
2949
+ /**
2950
+ * 上一次请求响应返回的分页信息。第一次可以不带,从头开始返回数据,每次返回MaxResults字段设置的数据量。
2951
+ */
2952
+ NextToken?: string;
2953
+ }
2954
+ /**
2955
+ * ModifySparkApp返回参数结构体
2956
+ */
2957
+ export interface ModifySparkAppResponse {
2958
+ /**
2959
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2960
+ */
2961
+ RequestId?: string;
2962
+ }
2500
2963
  /**
2501
2964
  * AlterDMSTable请求参数结构体
2502
2965
  */
@@ -2748,6 +3211,19 @@ export interface WorkGroupInfo {
2748
3211
  */
2749
3212
  CreateTime: string;
2750
3213
  }
3214
+ /**
3215
+ * CreateNotebookSessionStatementSupportBatchSQL返回参数结构体
3216
+ */
3217
+ export interface CreateNotebookSessionStatementSupportBatchSQLResponse {
3218
+ /**
3219
+ * Session Statement详情
3220
+ */
3221
+ NotebookSessionStatementBatches?: NotebookSessionStatementBatchInformation;
3222
+ /**
3223
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3224
+ */
3225
+ RequestId?: string;
3226
+ }
2751
3227
  /**
2752
3228
  * CreateScript请求参数结构体
2753
3229
  */
@@ -2832,6 +3308,15 @@ export interface Column {
2832
3308
  */
2833
3309
  IsPartition?: boolean;
2834
3310
  }
3311
+ /**
3312
+ * DeleteWorkGroup请求参数结构体
3313
+ */
3314
+ export interface DeleteWorkGroupRequest {
3315
+ /**
3316
+ * 要删除的工作组Id集合
3317
+ */
3318
+ WorkGroupIds: Array<number>;
3319
+ }
2835
3320
  /**
2836
3321
  * DescribeTaskResult请求参数结构体
2837
3322
  */
@@ -2914,6 +3399,27 @@ export interface DataFormat {
2914
3399
  */
2915
3400
  AVRO: Other;
2916
3401
  }
3402
+ /**
3403
+ * DescribeNotebookSessionLog返回参数结构体
3404
+ */
3405
+ export interface DescribeNotebookSessionLogResponse {
3406
+ /**
3407
+ * 日志信息,默认获取最新的200条
3408
+ */
3409
+ Logs: Array<string>;
3410
+ /**
3411
+ * 分页参数,默认200
3412
+ */
3413
+ Limit: number;
3414
+ /**
3415
+ * 分页参数,默认0
3416
+ */
3417
+ Offset: number;
3418
+ /**
3419
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3420
+ */
3421
+ RequestId?: string;
3422
+ }
2917
3423
  /**
2918
3424
  * 查询视图信息对象
2919
3425
  */
@@ -2941,6 +3447,101 @@ export interface ViewResponseInfo {
2941
3447
  */
2942
3448
  ModifiedTime: string;
2943
3449
  }
3450
+ /**
3451
+ * 网络配置
3452
+ */
3453
+ export interface NetworkConnection {
3454
+ /**
3455
+ * 网络配置id
3456
+ 注意:此字段可能返回 null,表示取不到有效值。
3457
+ */
3458
+ Id?: number;
3459
+ /**
3460
+ * 网络配置唯一标志符
3461
+ 注意:此字段可能返回 null,表示取不到有效值。
3462
+ */
3463
+ AssociateId?: string;
3464
+ /**
3465
+ * 计算引擎id
3466
+ 注意:此字段可能返回 null,表示取不到有效值。
3467
+ */
3468
+ HouseId?: string;
3469
+ /**
3470
+ * 数据源id(已废弃)
3471
+ 注意:此字段可能返回 null,表示取不到有效值。
3472
+ */
3473
+ DatasourceConnectionId?: string;
3474
+ /**
3475
+ * 网络配置状态(0-初始化,1-正常)
3476
+ 注意:此字段可能返回 null,表示取不到有效值。
3477
+ */
3478
+ State?: number;
3479
+ /**
3480
+ * 创建时间
3481
+ 注意:此字段可能返回 null,表示取不到有效值。
3482
+ */
3483
+ CreateTime?: number;
3484
+ /**
3485
+ * 修改时间
3486
+ 注意:此字段可能返回 null,表示取不到有效值。
3487
+ */
3488
+ UpdateTime?: number;
3489
+ /**
3490
+ * 创建用户Appid
3491
+ 注意:此字段可能返回 null,表示取不到有效值。
3492
+ */
3493
+ Appid?: number;
3494
+ /**
3495
+ * 计算引擎名称
3496
+ 注意:此字段可能返回 null,表示取不到有效值。
3497
+ */
3498
+ HouseName?: string;
3499
+ /**
3500
+ * 网络配置名称
3501
+ 注意:此字段可能返回 null,表示取不到有效值。
3502
+ */
3503
+ DatasourceConnectionName?: string;
3504
+ /**
3505
+ * 网络配置类型
3506
+ 注意:此字段可能返回 null,表示取不到有效值。
3507
+ */
3508
+ NetworkConnectionType?: number;
3509
+ /**
3510
+ * 创建用户uin
3511
+ 注意:此字段可能返回 null,表示取不到有效值。
3512
+ */
3513
+ Uin?: string;
3514
+ /**
3515
+ * 创建用户SubAccountUin
3516
+ 注意:此字段可能返回 null,表示取不到有效值。
3517
+ */
3518
+ SubAccountUin?: string;
3519
+ /**
3520
+ * 网络配置描述
3521
+ 注意:此字段可能返回 null,表示取不到有效值。
3522
+ */
3523
+ NetworkConnectionDesc?: string;
3524
+ /**
3525
+ * 数据源vpcid
3526
+ 注意:此字段可能返回 null,表示取不到有效值。
3527
+ */
3528
+ DatasourceConnectionVpcId?: string;
3529
+ /**
3530
+ * 数据源SubnetId
3531
+ 注意:此字段可能返回 null,表示取不到有效值。
3532
+ */
3533
+ DatasourceConnectionSubnetId?: string;
3534
+ /**
3535
+ * 数据源SubnetId
3536
+ 注意:此字段可能返回 null,表示取不到有效值。
3537
+ */
3538
+ DatasourceConnectionCidrBlock?: string;
3539
+ /**
3540
+ * 数据源SubnetCidrBlock
3541
+ 注意:此字段可能返回 null,表示取不到有效值。
3542
+ */
3543
+ DatasourceConnectionSubnetCidrBlock?: string;
3544
+ }
2944
3545
  /**
2945
3546
  * CreateUser请求参数结构体
2946
3547
  */
@@ -3186,9 +3787,9 @@ export interface DescribeTablesRequest {
3186
3787
  TableFormat?: string;
3187
3788
  }
3188
3789
  /**
3189
- * ModifySparkApp返回参数结构体
3790
+ * DeleteNotebookSession返回参数结构体
3190
3791
  */
3191
- export interface ModifySparkAppResponse {
3792
+ export interface DeleteNotebookSessionResponse {
3192
3793
  /**
3193
3794
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3194
3795
  */
@@ -3218,6 +3819,19 @@ export interface DMSTableInfo {
3218
3819
  */
3219
3820
  Asset: Asset;
3220
3821
  }
3822
+ /**
3823
+ * DescribeNotebookSessionStatements返回参数结构体
3824
+ */
3825
+ export interface DescribeNotebookSessionStatementsResponse {
3826
+ /**
3827
+ * Session Statement详情
3828
+ */
3829
+ NotebookSessionStatements?: NotebookSessionStatementBatchInformation;
3830
+ /**
3831
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3832
+ */
3833
+ RequestId?: string;
3834
+ }
3221
3835
  /**
3222
3836
  * AttachUserPolicy返回参数结构体
3223
3837
  */
@@ -3227,6 +3841,58 @@ export interface AttachUserPolicyResponse {
3227
3841
  */
3228
3842
  RequestId?: string;
3229
3843
  }
3844
+ /**
3845
+ * DropDMSTable请求参数结构体
3846
+ */
3847
+ export interface DropDMSTableRequest {
3848
+ /**
3849
+ * 数据库名称
3850
+ */
3851
+ DbName?: string;
3852
+ /**
3853
+ * 表名称
3854
+ */
3855
+ Name?: string;
3856
+ /**
3857
+ * 是否删除数据
3858
+ */
3859
+ DeleteData?: boolean;
3860
+ /**
3861
+ * 环境属性
3862
+ */
3863
+ EnvProps?: KVPair;
3864
+ }
3865
+ /**
3866
+ * DescribeNotebookSessionStatementSqlResult返回参数结构体
3867
+ */
3868
+ export interface DescribeNotebookSessionStatementSqlResultResponse {
3869
+ /**
3870
+ * 任务Id
3871
+ */
3872
+ TaskId?: string;
3873
+ /**
3874
+ * 结果数据
3875
+ */
3876
+ ResultSet?: string;
3877
+ /**
3878
+ * schema
3879
+ */
3880
+ ResultSchema?: Array<Column>;
3881
+ /**
3882
+ * 分页信息
3883
+ 注意:此字段可能返回 null,表示取不到有效值。
3884
+ */
3885
+ NextToken?: string;
3886
+ /**
3887
+ * 存储结果地址
3888
+ 注意:此字段可能返回 null,表示取不到有效值。
3889
+ */
3890
+ OutputPath?: string;
3891
+ /**
3892
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3893
+ */
3894
+ RequestId?: string;
3895
+ }
3230
3896
  /**
3231
3897
  * 迁移元数据分区对象
3232
3898
  */
@@ -3326,13 +3992,9 @@ export interface DescribeDMSPartitionsResponse {
3326
3992
  RequestId?: string;
3327
3993
  }
3328
3994
  /**
3329
- * CreateExportTask返回参数结构体
3995
+ * DeleteUsersFromWorkGroup返回参数结构体
3330
3996
  */
3331
- export interface CreateExportTaskResponse {
3332
- /**
3333
- * 任务id
3334
- */
3335
- TaskId: string;
3997
+ export interface DeleteUsersFromWorkGroupResponse {
3336
3998
  /**
3337
3999
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3338
4000
  */
@@ -3667,6 +4329,29 @@ export interface DescribeSparkAppJobsResponse {
3667
4329
  */
3668
4330
  RequestId?: string;
3669
4331
  }
4332
+ /**
4333
+ * DescribeSparkAppTasks返回参数结构体
4334
+ */
4335
+ export interface DescribeSparkAppTasksResponse {
4336
+ /**
4337
+ * 任务结果(该字段已废弃)
4338
+ 注意:此字段可能返回 null,表示取不到有效值。
4339
+ */
4340
+ Tasks: TaskResponseInfo;
4341
+ /**
4342
+ * 任务总数
4343
+ */
4344
+ TotalCount: number;
4345
+ /**
4346
+ * 任务结果列表
4347
+ 注意:此字段可能返回 null,表示取不到有效值。
4348
+ */
4349
+ SparkAppTasks: Array<TaskResponseInfo>;
4350
+ /**
4351
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4352
+ */
4353
+ RequestId?: string;
4354
+ }
3670
4355
  /**
3671
4356
  * 查询表信息对象
3672
4357
  */
@@ -3997,13 +4682,59 @@ export interface CreateSparkAppRequest {
3997
4682
  AppExecutorMaxNumbers?: number;
3998
4683
  }
3999
4684
  /**
4000
- * UnbindWorkGroupsFromUser返回参数结构体
4685
+ * DescribeDataEngines请求参数结构体
4001
4686
  */
4002
- export interface UnbindWorkGroupsFromUserResponse {
4687
+ export interface DescribeDataEnginesRequest {
4003
4688
  /**
4004
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
4689
+ * 偏移量,默认为0
4005
4690
  */
4006
- RequestId?: string;
4691
+ Offset?: number;
4692
+ /**
4693
+ * 滤类型,传参Name应为以下其中一个,
4694
+ data-engine-name - String
4695
+ engine-type - String
4696
+ state - String
4697
+ mode - String
4698
+ create-time - String
4699
+ message - String
4700
+ */
4701
+ Filters?: Array<Filter>;
4702
+ /**
4703
+ * 排序字段,支持如下字段类型,create-time
4704
+ */
4705
+ SortBy?: string;
4706
+ /**
4707
+ * 排序方式,desc表示正序,asc表示反序, 默认为asc。
4708
+ */
4709
+ Sorting?: string;
4710
+ /**
4711
+ * 返回数量,默认为10,最大值为100。
4712
+ */
4713
+ Limit?: number;
4714
+ /**
4715
+ * 已废弃,请使用DatasourceConnectionNameSet
4716
+ */
4717
+ DatasourceConnectionName?: string;
4718
+ /**
4719
+ * 是否不返回共享引擎,true不返回共享引擎,false可以返回共享引擎
4720
+ */
4721
+ ExcludePublicEngine?: boolean;
4722
+ /**
4723
+ * 参数应该为引擎权限类型,有效类型:"USE", "MODIFY", "OPERATE", "MONITOR", "DELETE"
4724
+ */
4725
+ AccessTypes?: Array<string>;
4726
+ /**
4727
+ * 引擎执行任务类型,有效值:SQL/BATCH
4728
+ */
4729
+ EngineExecType?: string;
4730
+ /**
4731
+ * 引擎类型,有效值:spark/presto
4732
+ */
4733
+ EngineType?: string;
4734
+ /**
4735
+ * 网络配置列表,若传入该参数,则返回网络配置关联的计算引擎
4736
+ */
4737
+ DatasourceConnectionNameSet?: Array<string>;
4007
4738
  }
4008
4739
  /**
4009
4740
  * DropDMSPartitions返回参数结构体
@@ -4048,6 +4779,171 @@ export interface CreateWorkGroupRequest {
4048
4779
  */
4049
4780
  UserIds?: Array<string>;
4050
4781
  }
4782
+ /**
4783
+ * CreateInternalTable返回参数结构体
4784
+ */
4785
+ export interface CreateInternalTableResponse {
4786
+ /**
4787
+ * 创建托管存储内表sql语句描述
4788
+ */
4789
+ Execution: string;
4790
+ /**
4791
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4792
+ */
4793
+ RequestId?: string;
4794
+ }
4795
+ /**
4796
+ * DataEngine详细信息
4797
+ */
4798
+ export interface DataEngineInfo {
4799
+ /**
4800
+ * DataEngine名称
4801
+ */
4802
+ DataEngineName: string;
4803
+ /**
4804
+ * 引擎类型 spark/presto
4805
+ */
4806
+ EngineType: string;
4807
+ /**
4808
+ * 集群资源类型 spark_private/presto_private/presto_cu/spark_cu
4809
+ */
4810
+ ClusterType: string;
4811
+ /**
4812
+ * 引用ID
4813
+ */
4814
+ QuotaId?: string;
4815
+ /**
4816
+ * 数据引擎状态 -2已删除 -1失败 0初始化中 1挂起 2运行中 3准备删除 4删除中
4817
+ */
4818
+ State?: number;
4819
+ /**
4820
+ * 创建时间
4821
+ */
4822
+ CreateTime?: number;
4823
+ /**
4824
+ * 更新时间
4825
+ */
4826
+ UpdateTime?: number;
4827
+ /**
4828
+ * 集群规格
4829
+ 注意:此字段可能返回 null,表示取不到有效值。
4830
+ */
4831
+ Size?: number;
4832
+ /**
4833
+ * 计费模式 0共享模式 1按量计费 2包年包月
4834
+ */
4835
+ Mode?: number;
4836
+ /**
4837
+ * 最小集群数
4838
+ 注意:此字段可能返回 null,表示取不到有效值。
4839
+ */
4840
+ MinClusters?: number;
4841
+ /**
4842
+ * 最大集群数
4843
+ 注意:此字段可能返回 null,表示取不到有效值。
4844
+ */
4845
+ MaxClusters?: number;
4846
+ /**
4847
+ * 是否自动恢复
4848
+ 注意:此字段可能返回 null,表示取不到有效值。
4849
+ */
4850
+ AutoResume?: boolean;
4851
+ /**
4852
+ * 自动恢复时间
4853
+ 注意:此字段可能返回 null,表示取不到有效值。
4854
+ */
4855
+ SpendAfter?: number;
4856
+ /**
4857
+ * 集群网段
4858
+ 注意:此字段可能返回 null,表示取不到有效值。
4859
+ */
4860
+ CidrBlock?: string;
4861
+ /**
4862
+ * 是否为默认引擎
4863
+ 注意:此字段可能返回 null,表示取不到有效值。
4864
+ */
4865
+ DefaultDataEngine?: boolean;
4866
+ /**
4867
+ * 返回信息
4868
+ 注意:此字段可能返回 null,表示取不到有效值。
4869
+ */
4870
+ Message?: string;
4871
+ /**
4872
+ * 引擎id
4873
+ */
4874
+ DataEngineId?: string;
4875
+ /**
4876
+ * 操作者
4877
+ */
4878
+ SubAccountUin?: string;
4879
+ /**
4880
+ * 到期时间
4881
+ */
4882
+ ExpireTime?: string;
4883
+ /**
4884
+ * 隔离时间
4885
+ */
4886
+ IsolatedTime?: string;
4887
+ /**
4888
+ * 冲正时间
4889
+ */
4890
+ ReversalTime?: string;
4891
+ /**
4892
+ * 用户名称
4893
+ 注意:此字段可能返回 null,表示取不到有效值。
4894
+ */
4895
+ UserAlias?: string;
4896
+ /**
4897
+ * 标签对集合
4898
+ 注意:此字段可能返回 null,表示取不到有效值。
4899
+ */
4900
+ TagList?: Array<TagInfo>;
4901
+ /**
4902
+ * 引擎拥有的权限
4903
+ 注意:此字段可能返回 null,表示取不到有效值。
4904
+ */
4905
+ Permissions?: Array<string>;
4906
+ /**
4907
+ * 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
4908
+ 注意:此字段可能返回 null,表示取不到有效值。
4909
+ */
4910
+ AutoSuspend?: boolean;
4911
+ /**
4912
+ * 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
4913
+ 注意:此字段可能返回 null,表示取不到有效值。
4914
+ */
4915
+ CrontabResumeSuspend?: number;
4916
+ /**
4917
+ * 定时启停策略,复杂类型:包含启停时间、挂起集群策略
4918
+ 注意:此字段可能返回 null,表示取不到有效值。
4919
+ */
4920
+ CrontabResumeSuspendStrategy?: CrontabResumeSuspendStrategy;
4921
+ /**
4922
+ * 引擎执行任务类型,有效值:SQL/BATCH
4923
+ 注意:此字段可能返回 null,表示取不到有效值。
4924
+ */
4925
+ EngineExecType?: string;
4926
+ /**
4927
+ * 自动续费标志,0,初始状态,默认不自动续费,若用户有预付费不停服特权,自动续费。1:自动续费。2:明确不自动续费
4928
+ 注意:此字段可能返回 null,表示取不到有效值。
4929
+ */
4930
+ RenewFlag?: number;
4931
+ /**
4932
+ * 集群自动挂起时间
4933
+ 注意:此字段可能返回 null,表示取不到有效值。
4934
+ */
4935
+ AutoSuspendTime?: number;
4936
+ /**
4937
+ * 网络连接配置
4938
+ 注意:此字段可能返回 null,表示取不到有效值。
4939
+ */
4940
+ NetworkConnectionSet?: Array<NetworkConnection>;
4941
+ /**
4942
+ * ui的跳转地址
4943
+ 注意:此字段可能返回 null,表示取不到有效值。
4944
+ */
4945
+ UiURL?: string;
4946
+ }
4051
4947
  /**
4052
4948
  * DescribeSparkAppTasks请求参数结构体
4053
4949
  */
@@ -4175,6 +5071,23 @@ export interface UserMessage {
4175
5071
  */
4176
5072
  UserAlias: string;
4177
5073
  }
5074
+ /**
5075
+ * DescribeViews返回参数结构体
5076
+ */
5077
+ export interface DescribeViewsResponse {
5078
+ /**
5079
+ * 视图对象列表。
5080
+ */
5081
+ ViewList: Array<ViewResponseInfo>;
5082
+ /**
5083
+ * 实例总数。
5084
+ */
5085
+ TotalCount: number;
5086
+ /**
5087
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5088
+ */
5089
+ RequestId?: string;
5090
+ }
4178
5091
  /**
4179
5092
  * 数据库和数据表属性信息
4180
5093
  */
@@ -4277,16 +5190,31 @@ export interface DescribeDMSTableRequest {
4277
5190
  */
4278
5191
  export declare type ModifyGovernEventRuleRequest = null;
4279
5192
  /**
4280
- * DescribeViews返回参数结构体
5193
+ * CancelNotebookSessionStatementBatch请求参数结构体
4281
5194
  */
4282
- export interface DescribeViewsResponse {
5195
+ export interface CancelNotebookSessionStatementBatchRequest {
4283
5196
  /**
4284
- * 视图对象列表。
5197
+ * Session唯一标识
4285
5198
  */
4286
- ViewList: Array<ViewResponseInfo>;
5199
+ SessionId: string;
4287
5200
  /**
4288
- * 实例总数。
5201
+ * 批任务唯一标识
4289
5202
  */
5203
+ BatchId: string;
5204
+ }
5205
+ /**
5206
+ * DescribeDataEngines返回参数结构体
5207
+ */
5208
+ export interface DescribeDataEnginesResponse {
5209
+ /**
5210
+ * 数据引擎列表
5211
+ 注意:此字段可能返回 null,表示取不到有效值。
5212
+ */
5213
+ DataEngines: Array<DataEngineInfo>;
5214
+ /**
5215
+ * 总条数
5216
+ 注意:此字段可能返回 null,表示取不到有效值。
5217
+ */
4290
5218
  TotalCount: number;
4291
5219
  /**
4292
5220
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4405,6 +5333,31 @@ export interface DMSColumn {
4405
5333
  */
4406
5334
  IsPartition?: boolean;
4407
5335
  }
5336
+ /**
5337
+ * 表字段描述信息
5338
+ */
5339
+ export interface TColumn {
5340
+ /**
5341
+ * 字段名称
5342
+ */
5343
+ Name: string;
5344
+ /**
5345
+ * 字段类型
5346
+ */
5347
+ Type: string;
5348
+ /**
5349
+ * 字段描述
5350
+ */
5351
+ Comment?: string;
5352
+ /**
5353
+ * 字段默认值
5354
+ */
5355
+ Default?: string;
5356
+ /**
5357
+ * 字段是否是非空
5358
+ */
5359
+ NotNull?: boolean;
5360
+ }
4408
5361
  /**
4409
5362
  * DescribeResultDownload请求参数结构体
4410
5363
  */