tencentcloud-sdk-nodejs-dlc 4.0.534 → 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
  * 配置格式
@@ -1379,6 +1527,61 @@ export interface AttachWorkGroupPolicyRequest {
1379
1527
  */
1380
1528
  PolicySet?: Array<Policy>;
1381
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
+ }
1382
1585
  /**
1383
1586
  * CreateUser返回参数结构体
1384
1587
  */
@@ -1388,6 +1591,19 @@ export interface CreateUserResponse {
1388
1591
  */
1389
1592
  RequestId?: string;
1390
1593
  }
1594
+ /**
1595
+ * DescribeNotebookSessionStatements请求参数结构体
1596
+ */
1597
+ export interface DescribeNotebookSessionStatementsRequest {
1598
+ /**
1599
+ * Session唯一标识
1600
+ */
1601
+ SessionId: string;
1602
+ /**
1603
+ * 批任务id
1604
+ */
1605
+ BatchId: string;
1606
+ }
1391
1607
  /**
1392
1608
  * DeleteUser返回参数结构体
1393
1609
  */
@@ -1451,6 +1667,35 @@ export interface LockComponentInfo {
1451
1667
  */
1452
1668
  IsDynamicPartitionWrite?: boolean;
1453
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
+ }
1454
1699
  /**
1455
1700
  * DescribeDMSPartitions请求参数结构体
1456
1701
  */
@@ -1574,6 +1819,15 @@ export interface DescribeSparkAppJobsRequest {
1574
1819
  */
1575
1820
  Limit?: number;
1576
1821
  }
1822
+ /**
1823
+ * DeleteNotebookSession请求参数结构体
1824
+ */
1825
+ export interface DeleteNotebookSessionRequest {
1826
+ /**
1827
+ * Session唯一标识
1828
+ */
1829
+ SessionId: string;
1830
+ }
1577
1831
  /**
1578
1832
  * CreateDMSTable返回参数结构体
1579
1833
  */
@@ -1729,6 +1983,54 @@ export interface CSV {
1729
1983
  */
1730
1984
  Format?: string;
1731
1985
  }
1986
+ /**
1987
+ * NotebookSessionStatement详情。
1988
+ */
1989
+ export interface NotebookSessionStatementInfo {
1990
+ /**
1991
+ * 完成时间戳
1992
+ 注意:此字段可能返回 null,表示取不到有效值。
1993
+ */
1994
+ Completed: number;
1995
+ /**
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
+ }
1732
2034
  /**
1733
2035
  * CreateTable请求参数结构体
1734
2036
  */
@@ -1738,6 +2040,23 @@ export interface CreateTableRequest {
1738
2040
  */
1739
2041
  TableInfo: TableInfo;
1740
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
+ }
1741
2060
  /**
1742
2061
  * DescribeWorkGroups返回参数结构体
1743
2062
  */
@@ -1822,9 +2141,13 @@ export interface DescribeSparkAppJobResponse {
1822
2141
  RequestId?: string;
1823
2142
  }
1824
2143
  /**
1825
- * DeleteUsersFromWorkGroup返回参数结构体
2144
+ * CreateExportTask返回参数结构体
1826
2145
  */
1827
- export interface DeleteUsersFromWorkGroupResponse {
2146
+ export interface CreateExportTaskResponse {
2147
+ /**
2148
+ * 任务id
2149
+ */
2150
+ TaskId: string;
1828
2151
  /**
1829
2152
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1830
2153
  */
@@ -1852,6 +2175,23 @@ export interface AddUsersToWorkGroupResponse {
1852
2175
  */
1853
2176
  RequestId?: string;
1854
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
+ }
1855
2195
  /**
1856
2196
  * 授权用户信息
1857
2197
  */
@@ -1920,6 +2260,19 @@ export interface CreateExportTaskRequest {
1920
2260
  */
1921
2261
  OutputType?: string;
1922
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
+ }
1923
2276
  /**
1924
2277
  * ReportHeartbeatMetaData返回参数结构体
1925
2278
  */
@@ -2016,25 +2369,13 @@ export interface CreateDMSTableRequest {
2016
2369
  Name?: string;
2017
2370
  }
2018
2371
  /**
2019
- * DropDMSTable请求参数结构体
2372
+ * CancelNotebookSessionStatement返回参数结构体
2020
2373
  */
2021
- export interface DropDMSTableRequest {
2022
- /**
2023
- * 数据库名称
2024
- */
2025
- DbName?: string;
2026
- /**
2027
- * 表名称
2028
- */
2029
- Name?: string;
2374
+ export interface CancelNotebookSessionStatementResponse {
2030
2375
  /**
2031
- * 是否删除数据
2032
- */
2033
- DeleteData?: boolean;
2034
- /**
2035
- * 环境属性
2376
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2036
2377
  */
2037
- EnvProps?: KVPair;
2378
+ RequestId?: string;
2038
2379
  }
2039
2380
  /**
2040
2381
  * DMSTable基本信息
@@ -2488,6 +2829,19 @@ export interface BindWorkGroupsToUserResponse {
2488
2829
  */
2489
2830
  RequestId?: string;
2490
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
+ }
2491
2845
  /**
2492
2846
  * DescribeStoreLocation返回参数结构体
2493
2847
  */
@@ -2555,6 +2909,57 @@ export interface Script {
2555
2909
  */
2556
2910
  UpdateTime: number;
2557
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
+ }
2558
2963
  /**
2559
2964
  * AlterDMSTable请求参数结构体
2560
2965
  */
@@ -2806,6 +3211,19 @@ export interface WorkGroupInfo {
2806
3211
  */
2807
3212
  CreateTime: string;
2808
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
+ }
2809
3227
  /**
2810
3228
  * CreateScript请求参数结构体
2811
3229
  */
@@ -2890,6 +3308,15 @@ export interface Column {
2890
3308
  */
2891
3309
  IsPartition?: boolean;
2892
3310
  }
3311
+ /**
3312
+ * DeleteWorkGroup请求参数结构体
3313
+ */
3314
+ export interface DeleteWorkGroupRequest {
3315
+ /**
3316
+ * 要删除的工作组Id集合
3317
+ */
3318
+ WorkGroupIds: Array<number>;
3319
+ }
2893
3320
  /**
2894
3321
  * DescribeTaskResult请求参数结构体
2895
3322
  */
@@ -2972,6 +3399,27 @@ export interface DataFormat {
2972
3399
  */
2973
3400
  AVRO: Other;
2974
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
+ }
2975
3423
  /**
2976
3424
  * 查询视图信息对象
2977
3425
  */
@@ -2999,6 +3447,101 @@ export interface ViewResponseInfo {
2999
3447
  */
3000
3448
  ModifiedTime: string;
3001
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
+ }
3002
3545
  /**
3003
3546
  * CreateUser请求参数结构体
3004
3547
  */
@@ -3244,9 +3787,9 @@ export interface DescribeTablesRequest {
3244
3787
  TableFormat?: string;
3245
3788
  }
3246
3789
  /**
3247
- * ModifySparkApp返回参数结构体
3790
+ * DeleteNotebookSession返回参数结构体
3248
3791
  */
3249
- export interface ModifySparkAppResponse {
3792
+ export interface DeleteNotebookSessionResponse {
3250
3793
  /**
3251
3794
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3252
3795
  */
@@ -3276,6 +3819,19 @@ export interface DMSTableInfo {
3276
3819
  */
3277
3820
  Asset: Asset;
3278
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
+ }
3279
3835
  /**
3280
3836
  * AttachUserPolicy返回参数结构体
3281
3837
  */
@@ -3285,6 +3841,58 @@ export interface AttachUserPolicyResponse {
3285
3841
  */
3286
3842
  RequestId?: string;
3287
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
+ }
3288
3896
  /**
3289
3897
  * 迁移元数据分区对象
3290
3898
  */
@@ -3384,13 +3992,9 @@ export interface DescribeDMSPartitionsResponse {
3384
3992
  RequestId?: string;
3385
3993
  }
3386
3994
  /**
3387
- * CreateExportTask返回参数结构体
3995
+ * DeleteUsersFromWorkGroup返回参数结构体
3388
3996
  */
3389
- export interface CreateExportTaskResponse {
3390
- /**
3391
- * 任务id
3392
- */
3393
- TaskId: string;
3997
+ export interface DeleteUsersFromWorkGroupResponse {
3394
3998
  /**
3395
3999
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3396
4000
  */
@@ -3725,6 +4329,29 @@ export interface DescribeSparkAppJobsResponse {
3725
4329
  */
3726
4330
  RequestId?: string;
3727
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
+ }
3728
4355
  /**
3729
4356
  * 查询表信息对象
3730
4357
  */
@@ -4055,13 +4682,59 @@ export interface CreateSparkAppRequest {
4055
4682
  AppExecutorMaxNumbers?: number;
4056
4683
  }
4057
4684
  /**
4058
- * UnbindWorkGroupsFromUser返回参数结构体
4685
+ * DescribeDataEngines请求参数结构体
4059
4686
  */
4060
- export interface UnbindWorkGroupsFromUserResponse {
4687
+ export interface DescribeDataEnginesRequest {
4061
4688
  /**
4062
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
4689
+ * 偏移量,默认为0
4063
4690
  */
4064
- 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>;
4065
4738
  }
4066
4739
  /**
4067
4740
  * DropDMSPartitions返回参数结构体
@@ -4119,6 +4792,158 @@ export interface CreateInternalTableResponse {
4119
4792
  */
4120
4793
  RequestId?: string;
4121
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
+ }
4122
4947
  /**
4123
4948
  * DescribeSparkAppTasks请求参数结构体
4124
4949
  */
@@ -4246,6 +5071,23 @@ export interface UserMessage {
4246
5071
  */
4247
5072
  UserAlias: string;
4248
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
+ }
4249
5091
  /**
4250
5092
  * 数据库和数据表属性信息
4251
5093
  */
@@ -4348,16 +5190,31 @@ export interface DescribeDMSTableRequest {
4348
5190
  */
4349
5191
  export declare type ModifyGovernEventRuleRequest = null;
4350
5192
  /**
4351
- * DescribeViews返回参数结构体
5193
+ * CancelNotebookSessionStatementBatch请求参数结构体
4352
5194
  */
4353
- export interface DescribeViewsResponse {
5195
+ export interface CancelNotebookSessionStatementBatchRequest {
4354
5196
  /**
4355
- * 视图对象列表。
5197
+ * Session唯一标识
4356
5198
  */
4357
- ViewList: Array<ViewResponseInfo>;
5199
+ SessionId: string;
4358
5200
  /**
4359
- * 实例总数。
5201
+ * 批任务唯一标识
4360
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
+ */
4361
5218
  TotalCount: number;
4362
5219
  /**
4363
5220
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。