tencentcloud-sdk-nodejs-dlc 4.0.534 → 4.0.536

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,27 @@ export interface DetachWorkGroupPolicyResponse {
821
956
  */
822
957
  RequestId?: string;
823
958
  }
959
+ /**
960
+ * GenerateCreateMangedTableSql请求参数结构体
961
+ */
962
+ export interface GenerateCreateMangedTableSqlRequest {
963
+ /**
964
+ * 表基本信息
965
+ */
966
+ TableBaseInfo: TableBaseInfo;
967
+ /**
968
+ * 表字段信息
969
+ */
970
+ Columns: Array<TColumn>;
971
+ /**
972
+ * 表分区信息
973
+ */
974
+ Partitions?: Array<TPartition>;
975
+ /**
976
+ * 表属性信息
977
+ */
978
+ Properties?: Array<Property>;
979
+ }
824
980
  /**
825
981
  * CSV序列化及反序列化数据结构
826
982
  */
@@ -1013,6 +1169,19 @@ export interface CreateDatabaseRequest {
1013
1169
  */
1014
1170
  DatasourceConnectionName?: string;
1015
1171
  }
1172
+ /**
1173
+ * GenerateCreateMangedTableSql返回参数结构体
1174
+ */
1175
+ export interface GenerateCreateMangedTableSqlResponse {
1176
+ /**
1177
+ * 创建托管存储内表sql语句描述
1178
+ */
1179
+ Execution: Execution;
1180
+ /**
1181
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1182
+ */
1183
+ RequestId?: string;
1184
+ }
1016
1185
  /**
1017
1186
  * DescribeDMSTables返回参数结构体
1018
1187
  */
@@ -1190,13 +1359,13 @@ export interface CreateSparkAppTaskRequest {
1190
1359
  CmdArgs?: string;
1191
1360
  }
1192
1361
  /**
1193
- * DeleteWorkGroup请求参数结构体
1362
+ * CancelNotebookSessionStatementBatch返回参数结构体
1194
1363
  */
1195
- export interface DeleteWorkGroupRequest {
1364
+ export interface CancelNotebookSessionStatementBatchResponse {
1196
1365
  /**
1197
- * 要删除的工作组Id集合
1366
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1198
1367
  */
1199
- WorkGroupIds: Array<number>;
1368
+ RequestId?: string;
1200
1369
  }
1201
1370
  /**
1202
1371
  * 配置格式
@@ -1379,6 +1548,61 @@ export interface AttachWorkGroupPolicyRequest {
1379
1548
  */
1380
1549
  PolicySet?: Array<Policy>;
1381
1550
  }
1551
+ /**
1552
+ * notebook session statement输出信息。
1553
+ */
1554
+ export interface StatementOutput {
1555
+ /**
1556
+ * 执行总数
1557
+ 注意:此字段可能返回 null,表示取不到有效值。
1558
+ */
1559
+ ExecutionCount: number;
1560
+ /**
1561
+ * Statement数据
1562
+ 注意:此字段可能返回 null,表示取不到有效值。
1563
+ */
1564
+ Data: Array<KVPair>;
1565
+ /**
1566
+ * Statement状态:ok,error
1567
+ 注意:此字段可能返回 null,表示取不到有效值。
1568
+ */
1569
+ Status: string;
1570
+ /**
1571
+ * 错误名称
1572
+ 注意:此字段可能返回 null,表示取不到有效值。
1573
+ */
1574
+ ErrorName: string;
1575
+ /**
1576
+ * 错误类型
1577
+ 注意:此字段可能返回 null,表示取不到有效值。
1578
+ */
1579
+ ErrorValue: string;
1580
+ /**
1581
+ * 错误堆栈信息
1582
+ 注意:此字段可能返回 null,表示取不到有效值。
1583
+ */
1584
+ ErrorMessage: Array<string>;
1585
+ /**
1586
+ * SQL类型任务结果返回
1587
+ 注意:此字段可能返回 null,表示取不到有效值。
1588
+ */
1589
+ SQLResult?: string;
1590
+ }
1591
+ /**
1592
+ * 标签对信息
1593
+ */
1594
+ export interface TagInfo {
1595
+ /**
1596
+ * 标签键
1597
+ 注意:此字段可能返回 null,表示取不到有效值。
1598
+ */
1599
+ TagKey?: string;
1600
+ /**
1601
+ * 标签值
1602
+ 注意:此字段可能返回 null,表示取不到有效值。
1603
+ */
1604
+ TagValue?: string;
1605
+ }
1382
1606
  /**
1383
1607
  * CreateUser返回参数结构体
1384
1608
  */
@@ -1388,6 +1612,19 @@ export interface CreateUserResponse {
1388
1612
  */
1389
1613
  RequestId?: string;
1390
1614
  }
1615
+ /**
1616
+ * DescribeNotebookSessionStatements请求参数结构体
1617
+ */
1618
+ export interface DescribeNotebookSessionStatementsRequest {
1619
+ /**
1620
+ * Session唯一标识
1621
+ */
1622
+ SessionId: string;
1623
+ /**
1624
+ * 批任务id
1625
+ */
1626
+ BatchId: string;
1627
+ }
1391
1628
  /**
1392
1629
  * DeleteUser返回参数结构体
1393
1630
  */
@@ -1451,6 +1688,35 @@ export interface LockComponentInfo {
1451
1688
  */
1452
1689
  IsDynamicPartitionWrite?: boolean;
1453
1690
  }
1691
+ /**
1692
+ * DescribeNotebookSessions返回参数结构体
1693
+ */
1694
+ export interface DescribeNotebookSessionsResponse {
1695
+ /**
1696
+ * session总数量
1697
+ */
1698
+ TotalElements: number;
1699
+ /**
1700
+ * 总页数
1701
+ */
1702
+ TotalPages: number;
1703
+ /**
1704
+ * 当前页码
1705
+ */
1706
+ Page: number;
1707
+ /**
1708
+ * 当前页数量
1709
+ */
1710
+ Size: number;
1711
+ /**
1712
+ * session列表信息
1713
+ */
1714
+ Sessions: Array<NotebookSessions>;
1715
+ /**
1716
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1717
+ */
1718
+ RequestId?: string;
1719
+ }
1454
1720
  /**
1455
1721
  * DescribeDMSPartitions请求参数结构体
1456
1722
  */
@@ -1574,6 +1840,15 @@ export interface DescribeSparkAppJobsRequest {
1574
1840
  */
1575
1841
  Limit?: number;
1576
1842
  }
1843
+ /**
1844
+ * DeleteNotebookSession请求参数结构体
1845
+ */
1846
+ export interface DeleteNotebookSessionRequest {
1847
+ /**
1848
+ * Session唯一标识
1849
+ */
1850
+ SessionId: string;
1851
+ }
1577
1852
  /**
1578
1853
  * CreateDMSTable返回参数结构体
1579
1854
  */
@@ -1730,33 +2005,98 @@ export interface CSV {
1730
2005
  Format?: string;
1731
2006
  }
1732
2007
  /**
1733
- * CreateTable请求参数结构体
2008
+ * NotebookSessionStatement详情。
1734
2009
  */
1735
- export interface CreateTableRequest {
2010
+ export interface NotebookSessionStatementInfo {
1736
2011
  /**
1737
- * 数据表配置信息
1738
- */
1739
- TableInfo: TableInfo;
1740
- }
1741
- /**
1742
- * DescribeWorkGroups返回参数结构体
1743
- */
1744
- export interface DescribeWorkGroupsResponse {
2012
+ * 完成时间戳
2013
+ 注意:此字段可能返回 null,表示取不到有效值。
2014
+ */
2015
+ Completed: number;
1745
2016
  /**
1746
- * 工作组总数
1747
- */
1748
- TotalCount: number;
2017
+ * 开始时间戳
2018
+ 注意:此字段可能返回 null,表示取不到有效值。
2019
+ */
2020
+ Started: number;
1749
2021
  /**
1750
- * 工作组信息集合
2022
+ * 完成进度,百分制
2023
+ 注意:此字段可能返回 null,表示取不到有效值。
2024
+ */
2025
+ Progress: number;
2026
+ /**
2027
+ * Session Statement唯一标识
1751
2028
  */
1752
- WorkGroupSet: Array<WorkGroupInfo>;
2029
+ StatementId: string;
1753
2030
  /**
1754
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2031
+ * Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)
1755
2032
  */
1756
- RequestId?: string;
1757
- }
1758
- /**
1759
- * CreateImportTask请求参数结构体
2033
+ State: string;
2034
+ /**
2035
+ * Statement输出信息
2036
+ 注意:此字段可能返回 null,表示取不到有效值。
2037
+ */
2038
+ OutPut: StatementOutput;
2039
+ /**
2040
+ * 批任务id
2041
+ 注意:此字段可能返回 null,表示取不到有效值。
2042
+ */
2043
+ BatchId?: string;
2044
+ /**
2045
+ * 运行语句
2046
+ 注意:此字段可能返回 null,表示取不到有效值。
2047
+ */
2048
+ Code?: string;
2049
+ /**
2050
+ * 任务ID
2051
+ 注意:此字段可能返回 null,表示取不到有效值。
2052
+ */
2053
+ TaskId?: string;
2054
+ }
2055
+ /**
2056
+ * CreateTable请求参数结构体
2057
+ */
2058
+ export interface CreateTableRequest {
2059
+ /**
2060
+ * 数据表配置信息
2061
+ */
2062
+ TableInfo: TableInfo;
2063
+ }
2064
+ /**
2065
+ * CreateNotebookSessionStatement请求参数结构体
2066
+ */
2067
+ export interface CreateNotebookSessionStatementRequest {
2068
+ /**
2069
+ * Session唯一标识
2070
+ */
2071
+ SessionId: string;
2072
+ /**
2073
+ * 执行的代码
2074
+ */
2075
+ Code: string;
2076
+ /**
2077
+ * 类型,当前支持:spark、pyspark、sparkr、sql
2078
+ */
2079
+ Kind: string;
2080
+ }
2081
+ /**
2082
+ * DescribeWorkGroups返回参数结构体
2083
+ */
2084
+ export interface DescribeWorkGroupsResponse {
2085
+ /**
2086
+ * 工作组总数
2087
+ */
2088
+ TotalCount: number;
2089
+ /**
2090
+ * 工作组信息集合
2091
+ */
2092
+ WorkGroupSet: Array<WorkGroupInfo>;
2093
+ /**
2094
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2095
+ */
2096
+ RequestId?: string;
2097
+ }
2098
+ /**
2099
+ * CreateImportTask请求参数结构体
1760
2100
  */
1761
2101
  export interface CreateImportTaskRequest {
1762
2102
  /**
@@ -1822,9 +2162,13 @@ export interface DescribeSparkAppJobResponse {
1822
2162
  RequestId?: string;
1823
2163
  }
1824
2164
  /**
1825
- * DeleteUsersFromWorkGroup返回参数结构体
2165
+ * CreateExportTask返回参数结构体
1826
2166
  */
1827
- export interface DeleteUsersFromWorkGroupResponse {
2167
+ export interface CreateExportTaskResponse {
2168
+ /**
2169
+ * 任务id
2170
+ */
2171
+ TaskId: string;
1828
2172
  /**
1829
2173
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1830
2174
  */
@@ -1852,6 +2196,23 @@ export interface AddUsersToWorkGroupResponse {
1852
2196
  */
1853
2197
  RequestId?: string;
1854
2198
  }
2199
+ /**
2200
+ * DescribeNotebookSessionLog请求参数结构体
2201
+ */
2202
+ export interface DescribeNotebookSessionLogRequest {
2203
+ /**
2204
+ * Session唯一标识
2205
+ */
2206
+ SessionId: string;
2207
+ /**
2208
+ * 分页参数,默认200
2209
+ */
2210
+ Limit?: number;
2211
+ /**
2212
+ * 分页参数,默认0
2213
+ */
2214
+ Offset?: number;
2215
+ }
1855
2216
  /**
1856
2217
  * 授权用户信息
1857
2218
  */
@@ -1920,6 +2281,19 @@ export interface CreateExportTaskRequest {
1920
2281
  */
1921
2282
  OutputType?: string;
1922
2283
  }
2284
+ /**
2285
+ * DescribeNotebookSessionStatement返回参数结构体
2286
+ */
2287
+ export interface DescribeNotebookSessionStatementResponse {
2288
+ /**
2289
+ * Session Statement详情
2290
+ */
2291
+ NotebookSessionStatement?: NotebookSessionStatementInfo;
2292
+ /**
2293
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2294
+ */
2295
+ RequestId?: string;
2296
+ }
1923
2297
  /**
1924
2298
  * ReportHeartbeatMetaData返回参数结构体
1925
2299
  */
@@ -2016,25 +2390,13 @@ export interface CreateDMSTableRequest {
2016
2390
  Name?: string;
2017
2391
  }
2018
2392
  /**
2019
- * DropDMSTable请求参数结构体
2393
+ * CancelNotebookSessionStatement返回参数结构体
2020
2394
  */
2021
- export interface DropDMSTableRequest {
2395
+ export interface CancelNotebookSessionStatementResponse {
2022
2396
  /**
2023
- * 数据库名称
2024
- */
2025
- DbName?: string;
2026
- /**
2027
- * 表名称
2028
- */
2029
- Name?: string;
2030
- /**
2031
- * 是否删除数据
2032
- */
2033
- DeleteData?: boolean;
2034
- /**
2035
- * 环境属性
2397
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2036
2398
  */
2037
- EnvProps?: KVPair;
2399
+ RequestId?: string;
2038
2400
  }
2039
2401
  /**
2040
2402
  * DMSTable基本信息
@@ -2488,6 +2850,19 @@ export interface BindWorkGroupsToUserResponse {
2488
2850
  */
2489
2851
  RequestId?: string;
2490
2852
  }
2853
+ /**
2854
+ * CreateNotebookSessionStatement返回参数结构体
2855
+ */
2856
+ export interface CreateNotebookSessionStatementResponse {
2857
+ /**
2858
+ * Session Statement详情
2859
+ */
2860
+ NotebookSessionStatement?: NotebookSessionStatementInfo;
2861
+ /**
2862
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2863
+ */
2864
+ RequestId?: string;
2865
+ }
2491
2866
  /**
2492
2867
  * DescribeStoreLocation返回参数结构体
2493
2868
  */
@@ -2555,6 +2930,57 @@ export interface Script {
2555
2930
  */
2556
2931
  UpdateTime: number;
2557
2932
  }
2933
+ /**
2934
+ * 按批提交Statement运行SQL任务。
2935
+ */
2936
+ export interface NotebookSessionStatementBatchInformation {
2937
+ /**
2938
+ * 任务详情列表
2939
+ 注意:此字段可能返回 null,表示取不到有效值。
2940
+ */
2941
+ NotebookSessionStatementBatch?: Array<NotebookSessionStatementInfo>;
2942
+ /**
2943
+ * 当前批任务是否运行完成
2944
+ 注意:此字段可能返回 null,表示取不到有效值。
2945
+ */
2946
+ IsAvailable?: boolean;
2947
+ /**
2948
+ * Session唯一标识
2949
+ 注意:此字段可能返回 null,表示取不到有效值。
2950
+ */
2951
+ SessionId?: string;
2952
+ /**
2953
+ * Batch唯一标识
2954
+ 注意:此字段可能返回 null,表示取不到有效值。
2955
+ */
2956
+ BatchId?: string;
2957
+ }
2958
+ /**
2959
+ * DescribeNotebookSessionStatementSqlResult请求参数结构体
2960
+ */
2961
+ export interface DescribeNotebookSessionStatementSqlResultRequest {
2962
+ /**
2963
+ * 任务唯一ID
2964
+ */
2965
+ TaskId: string;
2966
+ /**
2967
+ * 返回结果的最大行数,范围0~1000,默认为1000.
2968
+ */
2969
+ MaxResults?: number;
2970
+ /**
2971
+ * 上一次请求响应返回的分页信息。第一次可以不带,从头开始返回数据,每次返回MaxResults字段设置的数据量。
2972
+ */
2973
+ NextToken?: string;
2974
+ }
2975
+ /**
2976
+ * ModifySparkApp返回参数结构体
2977
+ */
2978
+ export interface ModifySparkAppResponse {
2979
+ /**
2980
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2981
+ */
2982
+ RequestId?: string;
2983
+ }
2558
2984
  /**
2559
2985
  * AlterDMSTable请求参数结构体
2560
2986
  */
@@ -2806,6 +3232,19 @@ export interface WorkGroupInfo {
2806
3232
  */
2807
3233
  CreateTime: string;
2808
3234
  }
3235
+ /**
3236
+ * CreateNotebookSessionStatementSupportBatchSQL返回参数结构体
3237
+ */
3238
+ export interface CreateNotebookSessionStatementSupportBatchSQLResponse {
3239
+ /**
3240
+ * Session Statement详情
3241
+ */
3242
+ NotebookSessionStatementBatches?: NotebookSessionStatementBatchInformation;
3243
+ /**
3244
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3245
+ */
3246
+ RequestId?: string;
3247
+ }
2809
3248
  /**
2810
3249
  * CreateScript请求参数结构体
2811
3250
  */
@@ -2890,6 +3329,15 @@ export interface Column {
2890
3329
  */
2891
3330
  IsPartition?: boolean;
2892
3331
  }
3332
+ /**
3333
+ * DeleteWorkGroup请求参数结构体
3334
+ */
3335
+ export interface DeleteWorkGroupRequest {
3336
+ /**
3337
+ * 要删除的工作组Id集合
3338
+ */
3339
+ WorkGroupIds: Array<number>;
3340
+ }
2893
3341
  /**
2894
3342
  * DescribeTaskResult请求参数结构体
2895
3343
  */
@@ -2972,6 +3420,27 @@ export interface DataFormat {
2972
3420
  */
2973
3421
  AVRO: Other;
2974
3422
  }
3423
+ /**
3424
+ * DescribeNotebookSessionLog返回参数结构体
3425
+ */
3426
+ export interface DescribeNotebookSessionLogResponse {
3427
+ /**
3428
+ * 日志信息,默认获取最新的200条
3429
+ */
3430
+ Logs: Array<string>;
3431
+ /**
3432
+ * 分页参数,默认200
3433
+ */
3434
+ Limit: number;
3435
+ /**
3436
+ * 分页参数,默认0
3437
+ */
3438
+ Offset: number;
3439
+ /**
3440
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3441
+ */
3442
+ RequestId?: string;
3443
+ }
2975
3444
  /**
2976
3445
  * 查询视图信息对象
2977
3446
  */
@@ -2999,6 +3468,101 @@ export interface ViewResponseInfo {
2999
3468
  */
3000
3469
  ModifiedTime: string;
3001
3470
  }
3471
+ /**
3472
+ * 网络配置
3473
+ */
3474
+ export interface NetworkConnection {
3475
+ /**
3476
+ * 网络配置id
3477
+ 注意:此字段可能返回 null,表示取不到有效值。
3478
+ */
3479
+ Id?: number;
3480
+ /**
3481
+ * 网络配置唯一标志符
3482
+ 注意:此字段可能返回 null,表示取不到有效值。
3483
+ */
3484
+ AssociateId?: string;
3485
+ /**
3486
+ * 计算引擎id
3487
+ 注意:此字段可能返回 null,表示取不到有效值。
3488
+ */
3489
+ HouseId?: string;
3490
+ /**
3491
+ * 数据源id(已废弃)
3492
+ 注意:此字段可能返回 null,表示取不到有效值。
3493
+ */
3494
+ DatasourceConnectionId?: string;
3495
+ /**
3496
+ * 网络配置状态(0-初始化,1-正常)
3497
+ 注意:此字段可能返回 null,表示取不到有效值。
3498
+ */
3499
+ State?: number;
3500
+ /**
3501
+ * 创建时间
3502
+ 注意:此字段可能返回 null,表示取不到有效值。
3503
+ */
3504
+ CreateTime?: number;
3505
+ /**
3506
+ * 修改时间
3507
+ 注意:此字段可能返回 null,表示取不到有效值。
3508
+ */
3509
+ UpdateTime?: number;
3510
+ /**
3511
+ * 创建用户Appid
3512
+ 注意:此字段可能返回 null,表示取不到有效值。
3513
+ */
3514
+ Appid?: number;
3515
+ /**
3516
+ * 计算引擎名称
3517
+ 注意:此字段可能返回 null,表示取不到有效值。
3518
+ */
3519
+ HouseName?: string;
3520
+ /**
3521
+ * 网络配置名称
3522
+ 注意:此字段可能返回 null,表示取不到有效值。
3523
+ */
3524
+ DatasourceConnectionName?: string;
3525
+ /**
3526
+ * 网络配置类型
3527
+ 注意:此字段可能返回 null,表示取不到有效值。
3528
+ */
3529
+ NetworkConnectionType?: number;
3530
+ /**
3531
+ * 创建用户uin
3532
+ 注意:此字段可能返回 null,表示取不到有效值。
3533
+ */
3534
+ Uin?: string;
3535
+ /**
3536
+ * 创建用户SubAccountUin
3537
+ 注意:此字段可能返回 null,表示取不到有效值。
3538
+ */
3539
+ SubAccountUin?: string;
3540
+ /**
3541
+ * 网络配置描述
3542
+ 注意:此字段可能返回 null,表示取不到有效值。
3543
+ */
3544
+ NetworkConnectionDesc?: string;
3545
+ /**
3546
+ * 数据源vpcid
3547
+ 注意:此字段可能返回 null,表示取不到有效值。
3548
+ */
3549
+ DatasourceConnectionVpcId?: string;
3550
+ /**
3551
+ * 数据源SubnetId
3552
+ 注意:此字段可能返回 null,表示取不到有效值。
3553
+ */
3554
+ DatasourceConnectionSubnetId?: string;
3555
+ /**
3556
+ * 数据源SubnetId
3557
+ 注意:此字段可能返回 null,表示取不到有效值。
3558
+ */
3559
+ DatasourceConnectionCidrBlock?: string;
3560
+ /**
3561
+ * 数据源SubnetCidrBlock
3562
+ 注意:此字段可能返回 null,表示取不到有效值。
3563
+ */
3564
+ DatasourceConnectionSubnetCidrBlock?: string;
3565
+ }
3002
3566
  /**
3003
3567
  * CreateUser请求参数结构体
3004
3568
  */
@@ -3244,9 +3808,9 @@ export interface DescribeTablesRequest {
3244
3808
  TableFormat?: string;
3245
3809
  }
3246
3810
  /**
3247
- * ModifySparkApp返回参数结构体
3811
+ * DeleteNotebookSession返回参数结构体
3248
3812
  */
3249
- export interface ModifySparkAppResponse {
3813
+ export interface DeleteNotebookSessionResponse {
3250
3814
  /**
3251
3815
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3252
3816
  */
@@ -3276,6 +3840,19 @@ export interface DMSTableInfo {
3276
3840
  */
3277
3841
  Asset: Asset;
3278
3842
  }
3843
+ /**
3844
+ * DescribeNotebookSessionStatements返回参数结构体
3845
+ */
3846
+ export interface DescribeNotebookSessionStatementsResponse {
3847
+ /**
3848
+ * Session Statement详情
3849
+ */
3850
+ NotebookSessionStatements?: NotebookSessionStatementBatchInformation;
3851
+ /**
3852
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3853
+ */
3854
+ RequestId?: string;
3855
+ }
3279
3856
  /**
3280
3857
  * AttachUserPolicy返回参数结构体
3281
3858
  */
@@ -3285,6 +3862,58 @@ export interface AttachUserPolicyResponse {
3285
3862
  */
3286
3863
  RequestId?: string;
3287
3864
  }
3865
+ /**
3866
+ * DropDMSTable请求参数结构体
3867
+ */
3868
+ export interface DropDMSTableRequest {
3869
+ /**
3870
+ * 数据库名称
3871
+ */
3872
+ DbName?: string;
3873
+ /**
3874
+ * 表名称
3875
+ */
3876
+ Name?: string;
3877
+ /**
3878
+ * 是否删除数据
3879
+ */
3880
+ DeleteData?: boolean;
3881
+ /**
3882
+ * 环境属性
3883
+ */
3884
+ EnvProps?: KVPair;
3885
+ }
3886
+ /**
3887
+ * DescribeNotebookSessionStatementSqlResult返回参数结构体
3888
+ */
3889
+ export interface DescribeNotebookSessionStatementSqlResultResponse {
3890
+ /**
3891
+ * 任务Id
3892
+ */
3893
+ TaskId?: string;
3894
+ /**
3895
+ * 结果数据
3896
+ */
3897
+ ResultSet?: string;
3898
+ /**
3899
+ * schema
3900
+ */
3901
+ ResultSchema?: Array<Column>;
3902
+ /**
3903
+ * 分页信息
3904
+ 注意:此字段可能返回 null,表示取不到有效值。
3905
+ */
3906
+ NextToken?: string;
3907
+ /**
3908
+ * 存储结果地址
3909
+ 注意:此字段可能返回 null,表示取不到有效值。
3910
+ */
3911
+ OutputPath?: string;
3912
+ /**
3913
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3914
+ */
3915
+ RequestId?: string;
3916
+ }
3288
3917
  /**
3289
3918
  * 迁移元数据分区对象
3290
3919
  */
@@ -3384,13 +4013,9 @@ export interface DescribeDMSPartitionsResponse {
3384
4013
  RequestId?: string;
3385
4014
  }
3386
4015
  /**
3387
- * CreateExportTask返回参数结构体
4016
+ * DeleteUsersFromWorkGroup返回参数结构体
3388
4017
  */
3389
- export interface CreateExportTaskResponse {
3390
- /**
3391
- * 任务id
3392
- */
3393
- TaskId: string;
4018
+ export interface DeleteUsersFromWorkGroupResponse {
3394
4019
  /**
3395
4020
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3396
4021
  */
@@ -3725,6 +4350,29 @@ export interface DescribeSparkAppJobsResponse {
3725
4350
  */
3726
4351
  RequestId?: string;
3727
4352
  }
4353
+ /**
4354
+ * DescribeSparkAppTasks返回参数结构体
4355
+ */
4356
+ export interface DescribeSparkAppTasksResponse {
4357
+ /**
4358
+ * 任务结果(该字段已废弃)
4359
+ 注意:此字段可能返回 null,表示取不到有效值。
4360
+ */
4361
+ Tasks: TaskResponseInfo;
4362
+ /**
4363
+ * 任务总数
4364
+ */
4365
+ TotalCount: number;
4366
+ /**
4367
+ * 任务结果列表
4368
+ 注意:此字段可能返回 null,表示取不到有效值。
4369
+ */
4370
+ SparkAppTasks: Array<TaskResponseInfo>;
4371
+ /**
4372
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4373
+ */
4374
+ RequestId?: string;
4375
+ }
3728
4376
  /**
3729
4377
  * 查询表信息对象
3730
4378
  */
@@ -4055,13 +4703,59 @@ export interface CreateSparkAppRequest {
4055
4703
  AppExecutorMaxNumbers?: number;
4056
4704
  }
4057
4705
  /**
4058
- * UnbindWorkGroupsFromUser返回参数结构体
4706
+ * DescribeDataEngines请求参数结构体
4059
4707
  */
4060
- export interface UnbindWorkGroupsFromUserResponse {
4708
+ export interface DescribeDataEnginesRequest {
4061
4709
  /**
4062
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
4710
+ * 偏移量,默认为0
4063
4711
  */
4064
- RequestId?: string;
4712
+ Offset?: number;
4713
+ /**
4714
+ * 滤类型,传参Name应为以下其中一个,
4715
+ data-engine-name - String
4716
+ engine-type - String
4717
+ state - String
4718
+ mode - String
4719
+ create-time - String
4720
+ message - String
4721
+ */
4722
+ Filters?: Array<Filter>;
4723
+ /**
4724
+ * 排序字段,支持如下字段类型,create-time
4725
+ */
4726
+ SortBy?: string;
4727
+ /**
4728
+ * 排序方式,desc表示正序,asc表示反序, 默认为asc。
4729
+ */
4730
+ Sorting?: string;
4731
+ /**
4732
+ * 返回数量,默认为10,最大值为100。
4733
+ */
4734
+ Limit?: number;
4735
+ /**
4736
+ * 已废弃,请使用DatasourceConnectionNameSet
4737
+ */
4738
+ DatasourceConnectionName?: string;
4739
+ /**
4740
+ * 是否不返回共享引擎,true不返回共享引擎,false可以返回共享引擎
4741
+ */
4742
+ ExcludePublicEngine?: boolean;
4743
+ /**
4744
+ * 参数应该为引擎权限类型,有效类型:"USE", "MODIFY", "OPERATE", "MONITOR", "DELETE"
4745
+ */
4746
+ AccessTypes?: Array<string>;
4747
+ /**
4748
+ * 引擎执行任务类型,有效值:SQL/BATCH
4749
+ */
4750
+ EngineExecType?: string;
4751
+ /**
4752
+ * 引擎类型,有效值:spark/presto
4753
+ */
4754
+ EngineType?: string;
4755
+ /**
4756
+ * 网络配置列表,若传入该参数,则返回网络配置关联的计算引擎
4757
+ */
4758
+ DatasourceConnectionNameSet?: Array<string>;
4065
4759
  }
4066
4760
  /**
4067
4761
  * DropDMSPartitions返回参数结构体
@@ -4119,6 +4813,158 @@ export interface CreateInternalTableResponse {
4119
4813
  */
4120
4814
  RequestId?: string;
4121
4815
  }
4816
+ /**
4817
+ * DataEngine详细信息
4818
+ */
4819
+ export interface DataEngineInfo {
4820
+ /**
4821
+ * DataEngine名称
4822
+ */
4823
+ DataEngineName: string;
4824
+ /**
4825
+ * 引擎类型 spark/presto
4826
+ */
4827
+ EngineType: string;
4828
+ /**
4829
+ * 集群资源类型 spark_private/presto_private/presto_cu/spark_cu
4830
+ */
4831
+ ClusterType: string;
4832
+ /**
4833
+ * 引用ID
4834
+ */
4835
+ QuotaId?: string;
4836
+ /**
4837
+ * 数据引擎状态 -2已删除 -1失败 0初始化中 1挂起 2运行中 3准备删除 4删除中
4838
+ */
4839
+ State?: number;
4840
+ /**
4841
+ * 创建时间
4842
+ */
4843
+ CreateTime?: number;
4844
+ /**
4845
+ * 更新时间
4846
+ */
4847
+ UpdateTime?: number;
4848
+ /**
4849
+ * 集群规格
4850
+ 注意:此字段可能返回 null,表示取不到有效值。
4851
+ */
4852
+ Size?: number;
4853
+ /**
4854
+ * 计费模式 0共享模式 1按量计费 2包年包月
4855
+ */
4856
+ Mode?: number;
4857
+ /**
4858
+ * 最小集群数
4859
+ 注意:此字段可能返回 null,表示取不到有效值。
4860
+ */
4861
+ MinClusters?: number;
4862
+ /**
4863
+ * 最大集群数
4864
+ 注意:此字段可能返回 null,表示取不到有效值。
4865
+ */
4866
+ MaxClusters?: number;
4867
+ /**
4868
+ * 是否自动恢复
4869
+ 注意:此字段可能返回 null,表示取不到有效值。
4870
+ */
4871
+ AutoResume?: boolean;
4872
+ /**
4873
+ * 自动恢复时间
4874
+ 注意:此字段可能返回 null,表示取不到有效值。
4875
+ */
4876
+ SpendAfter?: number;
4877
+ /**
4878
+ * 集群网段
4879
+ 注意:此字段可能返回 null,表示取不到有效值。
4880
+ */
4881
+ CidrBlock?: string;
4882
+ /**
4883
+ * 是否为默认引擎
4884
+ 注意:此字段可能返回 null,表示取不到有效值。
4885
+ */
4886
+ DefaultDataEngine?: boolean;
4887
+ /**
4888
+ * 返回信息
4889
+ 注意:此字段可能返回 null,表示取不到有效值。
4890
+ */
4891
+ Message?: string;
4892
+ /**
4893
+ * 引擎id
4894
+ */
4895
+ DataEngineId?: string;
4896
+ /**
4897
+ * 操作者
4898
+ */
4899
+ SubAccountUin?: string;
4900
+ /**
4901
+ * 到期时间
4902
+ */
4903
+ ExpireTime?: string;
4904
+ /**
4905
+ * 隔离时间
4906
+ */
4907
+ IsolatedTime?: string;
4908
+ /**
4909
+ * 冲正时间
4910
+ */
4911
+ ReversalTime?: string;
4912
+ /**
4913
+ * 用户名称
4914
+ 注意:此字段可能返回 null,表示取不到有效值。
4915
+ */
4916
+ UserAlias?: string;
4917
+ /**
4918
+ * 标签对集合
4919
+ 注意:此字段可能返回 null,表示取不到有效值。
4920
+ */
4921
+ TagList?: Array<TagInfo>;
4922
+ /**
4923
+ * 引擎拥有的权限
4924
+ 注意:此字段可能返回 null,表示取不到有效值。
4925
+ */
4926
+ Permissions?: Array<string>;
4927
+ /**
4928
+ * 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
4929
+ 注意:此字段可能返回 null,表示取不到有效值。
4930
+ */
4931
+ AutoSuspend?: boolean;
4932
+ /**
4933
+ * 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
4934
+ 注意:此字段可能返回 null,表示取不到有效值。
4935
+ */
4936
+ CrontabResumeSuspend?: number;
4937
+ /**
4938
+ * 定时启停策略,复杂类型:包含启停时间、挂起集群策略
4939
+ 注意:此字段可能返回 null,表示取不到有效值。
4940
+ */
4941
+ CrontabResumeSuspendStrategy?: CrontabResumeSuspendStrategy;
4942
+ /**
4943
+ * 引擎执行任务类型,有效值:SQL/BATCH
4944
+ 注意:此字段可能返回 null,表示取不到有效值。
4945
+ */
4946
+ EngineExecType?: string;
4947
+ /**
4948
+ * 自动续费标志,0,初始状态,默认不自动续费,若用户有预付费不停服特权,自动续费。1:自动续费。2:明确不自动续费
4949
+ 注意:此字段可能返回 null,表示取不到有效值。
4950
+ */
4951
+ RenewFlag?: number;
4952
+ /**
4953
+ * 集群自动挂起时间
4954
+ 注意:此字段可能返回 null,表示取不到有效值。
4955
+ */
4956
+ AutoSuspendTime?: number;
4957
+ /**
4958
+ * 网络连接配置
4959
+ 注意:此字段可能返回 null,表示取不到有效值。
4960
+ */
4961
+ NetworkConnectionSet?: Array<NetworkConnection>;
4962
+ /**
4963
+ * ui的跳转地址
4964
+ 注意:此字段可能返回 null,表示取不到有效值。
4965
+ */
4966
+ UiURL?: string;
4967
+ }
4122
4968
  /**
4123
4969
  * DescribeSparkAppTasks请求参数结构体
4124
4970
  */
@@ -4246,6 +5092,23 @@ export interface UserMessage {
4246
5092
  */
4247
5093
  UserAlias: string;
4248
5094
  }
5095
+ /**
5096
+ * DescribeViews返回参数结构体
5097
+ */
5098
+ export interface DescribeViewsResponse {
5099
+ /**
5100
+ * 视图对象列表。
5101
+ */
5102
+ ViewList: Array<ViewResponseInfo>;
5103
+ /**
5104
+ * 实例总数。
5105
+ */
5106
+ TotalCount: number;
5107
+ /**
5108
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5109
+ */
5110
+ RequestId?: string;
5111
+ }
4249
5112
  /**
4250
5113
  * 数据库和数据表属性信息
4251
5114
  */
@@ -4348,16 +5211,31 @@ export interface DescribeDMSTableRequest {
4348
5211
  */
4349
5212
  export declare type ModifyGovernEventRuleRequest = null;
4350
5213
  /**
4351
- * DescribeViews返回参数结构体
5214
+ * CancelNotebookSessionStatementBatch请求参数结构体
4352
5215
  */
4353
- export interface DescribeViewsResponse {
5216
+ export interface CancelNotebookSessionStatementBatchRequest {
4354
5217
  /**
4355
- * 视图对象列表。
5218
+ * Session唯一标识
4356
5219
  */
4357
- ViewList: Array<ViewResponseInfo>;
5220
+ SessionId: string;
4358
5221
  /**
4359
- * 实例总数。
5222
+ * 批任务唯一标识
4360
5223
  */
5224
+ BatchId: string;
5225
+ }
5226
+ /**
5227
+ * DescribeDataEngines返回参数结构体
5228
+ */
5229
+ export interface DescribeDataEnginesResponse {
5230
+ /**
5231
+ * 数据引擎列表
5232
+ 注意:此字段可能返回 null,表示取不到有效值。
5233
+ */
5234
+ DataEngines: Array<DataEngineInfo>;
5235
+ /**
5236
+ * 总条数
5237
+ 注意:此字段可能返回 null,表示取不到有效值。
5238
+ */
4361
5239
  TotalCount: number;
4362
5240
  /**
4363
5241
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。