@alicloud/adb20211201 3.0.0 → 3.1.0
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.
- package/dist/client.d.ts +713 -20
- package/dist/client.js +700 -22
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1134 -4
package/src/client.ts
CHANGED
|
@@ -1753,6 +1753,94 @@ export class BindDBResourceGroupWithUserResponse extends $tea.Model {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
}
|
|
1755
1755
|
|
|
1756
|
+
export class CancelSparkReplStatementRequest extends $tea.Model {
|
|
1757
|
+
/**
|
|
1758
|
+
* @example
|
|
1759
|
+
* s202411071444hzdvk486d9d2001****
|
|
1760
|
+
*/
|
|
1761
|
+
appId?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* @example
|
|
1764
|
+
* 456
|
|
1765
|
+
*/
|
|
1766
|
+
sessionId?: number;
|
|
1767
|
+
/**
|
|
1768
|
+
* @example
|
|
1769
|
+
* 123
|
|
1770
|
+
*/
|
|
1771
|
+
statementId?: number;
|
|
1772
|
+
static names(): { [key: string]: string } {
|
|
1773
|
+
return {
|
|
1774
|
+
appId: 'AppId',
|
|
1775
|
+
sessionId: 'SessionId',
|
|
1776
|
+
statementId: 'StatementId',
|
|
1777
|
+
};
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
static types(): { [key: string]: any } {
|
|
1781
|
+
return {
|
|
1782
|
+
appId: 'string',
|
|
1783
|
+
sessionId: 'number',
|
|
1784
|
+
statementId: 'number',
|
|
1785
|
+
};
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
constructor(map?: { [key: string]: any }) {
|
|
1789
|
+
super(map);
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
export class CancelSparkReplStatementResponseBody extends $tea.Model {
|
|
1794
|
+
data?: CancelSparkReplStatementResponseBodyData;
|
|
1795
|
+
/**
|
|
1796
|
+
* @example
|
|
1797
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
1798
|
+
*/
|
|
1799
|
+
requestId?: string;
|
|
1800
|
+
static names(): { [key: string]: string } {
|
|
1801
|
+
return {
|
|
1802
|
+
data: 'Data',
|
|
1803
|
+
requestId: 'RequestId',
|
|
1804
|
+
};
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
static types(): { [key: string]: any } {
|
|
1808
|
+
return {
|
|
1809
|
+
data: CancelSparkReplStatementResponseBodyData,
|
|
1810
|
+
requestId: 'string',
|
|
1811
|
+
};
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
constructor(map?: { [key: string]: any }) {
|
|
1815
|
+
super(map);
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
export class CancelSparkReplStatementResponse extends $tea.Model {
|
|
1820
|
+
headers?: { [key: string]: string };
|
|
1821
|
+
statusCode?: number;
|
|
1822
|
+
body?: CancelSparkReplStatementResponseBody;
|
|
1823
|
+
static names(): { [key: string]: string } {
|
|
1824
|
+
return {
|
|
1825
|
+
headers: 'headers',
|
|
1826
|
+
statusCode: 'statusCode',
|
|
1827
|
+
body: 'body',
|
|
1828
|
+
};
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
static types(): { [key: string]: any } {
|
|
1832
|
+
return {
|
|
1833
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1834
|
+
statusCode: 'number',
|
|
1835
|
+
body: CancelSparkReplStatementResponseBody,
|
|
1836
|
+
};
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
constructor(map?: { [key: string]: any }) {
|
|
1840
|
+
super(map);
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1756
1844
|
export class CheckBindRamUserRequest extends $tea.Model {
|
|
1757
1845
|
/**
|
|
1758
1846
|
* @remarks
|
|
@@ -7529,6 +7617,8 @@ export class DescribeColumnsResponse extends $tea.Model {
|
|
|
7529
7617
|
export class DescribeCompactionServiceSwitchRequest extends $tea.Model {
|
|
7530
7618
|
/**
|
|
7531
7619
|
* @remarks
|
|
7620
|
+
* The cluster ID.
|
|
7621
|
+
*
|
|
7532
7622
|
* This parameter is required.
|
|
7533
7623
|
*
|
|
7534
7624
|
* @example
|
|
@@ -7553,8 +7643,15 @@ export class DescribeCompactionServiceSwitchRequest extends $tea.Model {
|
|
|
7553
7643
|
}
|
|
7554
7644
|
|
|
7555
7645
|
export class DescribeCompactionServiceSwitchResponseBody extends $tea.Model {
|
|
7646
|
+
/**
|
|
7647
|
+
* @remarks
|
|
7648
|
+
* The returned data.
|
|
7649
|
+
*/
|
|
7556
7650
|
data?: DescribeCompactionServiceSwitchResponseBodyData;
|
|
7557
7651
|
/**
|
|
7652
|
+
* @remarks
|
|
7653
|
+
* The request ID.
|
|
7654
|
+
*
|
|
7558
7655
|
* @example
|
|
7559
7656
|
* D761DA51-12F8-5457-AAA9-F52B9F436D2D
|
|
7560
7657
|
*/
|
|
@@ -13756,6 +13853,110 @@ export class EnableElasticPlanResponse extends $tea.Model {
|
|
|
13756
13853
|
}
|
|
13757
13854
|
}
|
|
13758
13855
|
|
|
13856
|
+
export class ExecuteSparkReplStatementRequest extends $tea.Model {
|
|
13857
|
+
/**
|
|
13858
|
+
* @example
|
|
13859
|
+
* s202411071444hzdvk486d9d2001****
|
|
13860
|
+
*/
|
|
13861
|
+
appId?: string;
|
|
13862
|
+
/**
|
|
13863
|
+
* @remarks
|
|
13864
|
+
* This parameter is required.
|
|
13865
|
+
*
|
|
13866
|
+
* @example
|
|
13867
|
+
* print(1+1)
|
|
13868
|
+
*/
|
|
13869
|
+
code?: string;
|
|
13870
|
+
/**
|
|
13871
|
+
* @remarks
|
|
13872
|
+
* This parameter is required.
|
|
13873
|
+
*
|
|
13874
|
+
* @example
|
|
13875
|
+
* PYTHON
|
|
13876
|
+
*/
|
|
13877
|
+
codeType?: string;
|
|
13878
|
+
/**
|
|
13879
|
+
* @remarks
|
|
13880
|
+
* This parameter is required.
|
|
13881
|
+
*
|
|
13882
|
+
* @example
|
|
13883
|
+
* 123
|
|
13884
|
+
*/
|
|
13885
|
+
sessionId?: number;
|
|
13886
|
+
static names(): { [key: string]: string } {
|
|
13887
|
+
return {
|
|
13888
|
+
appId: 'AppId',
|
|
13889
|
+
code: 'Code',
|
|
13890
|
+
codeType: 'CodeType',
|
|
13891
|
+
sessionId: 'SessionId',
|
|
13892
|
+
};
|
|
13893
|
+
}
|
|
13894
|
+
|
|
13895
|
+
static types(): { [key: string]: any } {
|
|
13896
|
+
return {
|
|
13897
|
+
appId: 'string',
|
|
13898
|
+
code: 'string',
|
|
13899
|
+
codeType: 'string',
|
|
13900
|
+
sessionId: 'number',
|
|
13901
|
+
};
|
|
13902
|
+
}
|
|
13903
|
+
|
|
13904
|
+
constructor(map?: { [key: string]: any }) {
|
|
13905
|
+
super(map);
|
|
13906
|
+
}
|
|
13907
|
+
}
|
|
13908
|
+
|
|
13909
|
+
export class ExecuteSparkReplStatementResponseBody extends $tea.Model {
|
|
13910
|
+
data?: ExecuteSparkReplStatementResponseBodyData;
|
|
13911
|
+
/**
|
|
13912
|
+
* @example
|
|
13913
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
13914
|
+
*/
|
|
13915
|
+
requestId?: string;
|
|
13916
|
+
static names(): { [key: string]: string } {
|
|
13917
|
+
return {
|
|
13918
|
+
data: 'Data',
|
|
13919
|
+
requestId: 'RequestId',
|
|
13920
|
+
};
|
|
13921
|
+
}
|
|
13922
|
+
|
|
13923
|
+
static types(): { [key: string]: any } {
|
|
13924
|
+
return {
|
|
13925
|
+
data: ExecuteSparkReplStatementResponseBodyData,
|
|
13926
|
+
requestId: 'string',
|
|
13927
|
+
};
|
|
13928
|
+
}
|
|
13929
|
+
|
|
13930
|
+
constructor(map?: { [key: string]: any }) {
|
|
13931
|
+
super(map);
|
|
13932
|
+
}
|
|
13933
|
+
}
|
|
13934
|
+
|
|
13935
|
+
export class ExecuteSparkReplStatementResponse extends $tea.Model {
|
|
13936
|
+
headers?: { [key: string]: string };
|
|
13937
|
+
statusCode?: number;
|
|
13938
|
+
body?: ExecuteSparkReplStatementResponseBody;
|
|
13939
|
+
static names(): { [key: string]: string } {
|
|
13940
|
+
return {
|
|
13941
|
+
headers: 'headers',
|
|
13942
|
+
statusCode: 'statusCode',
|
|
13943
|
+
body: 'body',
|
|
13944
|
+
};
|
|
13945
|
+
}
|
|
13946
|
+
|
|
13947
|
+
static types(): { [key: string]: any } {
|
|
13948
|
+
return {
|
|
13949
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13950
|
+
statusCode: 'number',
|
|
13951
|
+
body: ExecuteSparkReplStatementResponseBody,
|
|
13952
|
+
};
|
|
13953
|
+
}
|
|
13954
|
+
|
|
13955
|
+
constructor(map?: { [key: string]: any }) {
|
|
13956
|
+
super(map);
|
|
13957
|
+
}
|
|
13958
|
+
}
|
|
13959
|
+
|
|
13759
13960
|
export class ExistRunningSQLEngineRequest extends $tea.Model {
|
|
13760
13961
|
/**
|
|
13761
13962
|
* @remarks
|
|
@@ -14905,6 +15106,178 @@ export class GetSparkLogAnalyzeTaskResponse extends $tea.Model {
|
|
|
14905
15106
|
}
|
|
14906
15107
|
}
|
|
14907
15108
|
|
|
15109
|
+
export class GetSparkReplSessionRequest extends $tea.Model {
|
|
15110
|
+
/**
|
|
15111
|
+
* @example
|
|
15112
|
+
* s202411071444hzdvk486d9d200****
|
|
15113
|
+
*/
|
|
15114
|
+
appId?: string;
|
|
15115
|
+
/**
|
|
15116
|
+
* @remarks
|
|
15117
|
+
* This parameter is required.
|
|
15118
|
+
*
|
|
15119
|
+
* @example
|
|
15120
|
+
* 1
|
|
15121
|
+
*/
|
|
15122
|
+
sessionId?: number;
|
|
15123
|
+
static names(): { [key: string]: string } {
|
|
15124
|
+
return {
|
|
15125
|
+
appId: 'AppId',
|
|
15126
|
+
sessionId: 'SessionId',
|
|
15127
|
+
};
|
|
15128
|
+
}
|
|
15129
|
+
|
|
15130
|
+
static types(): { [key: string]: any } {
|
|
15131
|
+
return {
|
|
15132
|
+
appId: 'string',
|
|
15133
|
+
sessionId: 'number',
|
|
15134
|
+
};
|
|
15135
|
+
}
|
|
15136
|
+
|
|
15137
|
+
constructor(map?: { [key: string]: any }) {
|
|
15138
|
+
super(map);
|
|
15139
|
+
}
|
|
15140
|
+
}
|
|
15141
|
+
|
|
15142
|
+
export class GetSparkReplSessionResponseBody extends $tea.Model {
|
|
15143
|
+
data?: GetSparkReplSessionResponseBodyData;
|
|
15144
|
+
/**
|
|
15145
|
+
* @example
|
|
15146
|
+
* 4CE6DF97-AEA4-484F-906F-C407EE3770EB
|
|
15147
|
+
*/
|
|
15148
|
+
requestId?: string;
|
|
15149
|
+
static names(): { [key: string]: string } {
|
|
15150
|
+
return {
|
|
15151
|
+
data: 'Data',
|
|
15152
|
+
requestId: 'RequestId',
|
|
15153
|
+
};
|
|
15154
|
+
}
|
|
15155
|
+
|
|
15156
|
+
static types(): { [key: string]: any } {
|
|
15157
|
+
return {
|
|
15158
|
+
data: GetSparkReplSessionResponseBodyData,
|
|
15159
|
+
requestId: 'string',
|
|
15160
|
+
};
|
|
15161
|
+
}
|
|
15162
|
+
|
|
15163
|
+
constructor(map?: { [key: string]: any }) {
|
|
15164
|
+
super(map);
|
|
15165
|
+
}
|
|
15166
|
+
}
|
|
15167
|
+
|
|
15168
|
+
export class GetSparkReplSessionResponse extends $tea.Model {
|
|
15169
|
+
headers?: { [key: string]: string };
|
|
15170
|
+
statusCode?: number;
|
|
15171
|
+
body?: GetSparkReplSessionResponseBody;
|
|
15172
|
+
static names(): { [key: string]: string } {
|
|
15173
|
+
return {
|
|
15174
|
+
headers: 'headers',
|
|
15175
|
+
statusCode: 'statusCode',
|
|
15176
|
+
body: 'body',
|
|
15177
|
+
};
|
|
15178
|
+
}
|
|
15179
|
+
|
|
15180
|
+
static types(): { [key: string]: any } {
|
|
15181
|
+
return {
|
|
15182
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15183
|
+
statusCode: 'number',
|
|
15184
|
+
body: GetSparkReplSessionResponseBody,
|
|
15185
|
+
};
|
|
15186
|
+
}
|
|
15187
|
+
|
|
15188
|
+
constructor(map?: { [key: string]: any }) {
|
|
15189
|
+
super(map);
|
|
15190
|
+
}
|
|
15191
|
+
}
|
|
15192
|
+
|
|
15193
|
+
export class GetSparkReplStatementRequest extends $tea.Model {
|
|
15194
|
+
/**
|
|
15195
|
+
* @example
|
|
15196
|
+
* s202411071444hzdvk486d9d200****
|
|
15197
|
+
*/
|
|
15198
|
+
appId?: string;
|
|
15199
|
+
/**
|
|
15200
|
+
* @example
|
|
15201
|
+
* 1
|
|
15202
|
+
*/
|
|
15203
|
+
sessionId?: number;
|
|
15204
|
+
/**
|
|
15205
|
+
* @example
|
|
15206
|
+
* 123
|
|
15207
|
+
*/
|
|
15208
|
+
statementId?: number;
|
|
15209
|
+
static names(): { [key: string]: string } {
|
|
15210
|
+
return {
|
|
15211
|
+
appId: 'AppId',
|
|
15212
|
+
sessionId: 'SessionId',
|
|
15213
|
+
statementId: 'StatementId',
|
|
15214
|
+
};
|
|
15215
|
+
}
|
|
15216
|
+
|
|
15217
|
+
static types(): { [key: string]: any } {
|
|
15218
|
+
return {
|
|
15219
|
+
appId: 'string',
|
|
15220
|
+
sessionId: 'number',
|
|
15221
|
+
statementId: 'number',
|
|
15222
|
+
};
|
|
15223
|
+
}
|
|
15224
|
+
|
|
15225
|
+
constructor(map?: { [key: string]: any }) {
|
|
15226
|
+
super(map);
|
|
15227
|
+
}
|
|
15228
|
+
}
|
|
15229
|
+
|
|
15230
|
+
export class GetSparkReplStatementResponseBody extends $tea.Model {
|
|
15231
|
+
data?: GetSparkReplStatementResponseBodyData;
|
|
15232
|
+
/**
|
|
15233
|
+
* @example
|
|
15234
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
15235
|
+
*/
|
|
15236
|
+
requestId?: string;
|
|
15237
|
+
static names(): { [key: string]: string } {
|
|
15238
|
+
return {
|
|
15239
|
+
data: 'Data',
|
|
15240
|
+
requestId: 'RequestId',
|
|
15241
|
+
};
|
|
15242
|
+
}
|
|
15243
|
+
|
|
15244
|
+
static types(): { [key: string]: any } {
|
|
15245
|
+
return {
|
|
15246
|
+
data: GetSparkReplStatementResponseBodyData,
|
|
15247
|
+
requestId: 'string',
|
|
15248
|
+
};
|
|
15249
|
+
}
|
|
15250
|
+
|
|
15251
|
+
constructor(map?: { [key: string]: any }) {
|
|
15252
|
+
super(map);
|
|
15253
|
+
}
|
|
15254
|
+
}
|
|
15255
|
+
|
|
15256
|
+
export class GetSparkReplStatementResponse extends $tea.Model {
|
|
15257
|
+
headers?: { [key: string]: string };
|
|
15258
|
+
statusCode?: number;
|
|
15259
|
+
body?: GetSparkReplStatementResponseBody;
|
|
15260
|
+
static names(): { [key: string]: string } {
|
|
15261
|
+
return {
|
|
15262
|
+
headers: 'headers',
|
|
15263
|
+
statusCode: 'statusCode',
|
|
15264
|
+
body: 'body',
|
|
15265
|
+
};
|
|
15266
|
+
}
|
|
15267
|
+
|
|
15268
|
+
static types(): { [key: string]: any } {
|
|
15269
|
+
return {
|
|
15270
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15271
|
+
statusCode: 'number',
|
|
15272
|
+
body: GetSparkReplStatementResponseBody,
|
|
15273
|
+
};
|
|
15274
|
+
}
|
|
15275
|
+
|
|
15276
|
+
constructor(map?: { [key: string]: any }) {
|
|
15277
|
+
super(map);
|
|
15278
|
+
}
|
|
15279
|
+
}
|
|
15280
|
+
|
|
14908
15281
|
export class GetSparkSQLEngineStateRequest extends $tea.Model {
|
|
14909
15282
|
/**
|
|
14910
15283
|
* @remarks
|
|
@@ -18315,6 +18688,8 @@ export class ModifyClusterConnectionStringResponse extends $tea.Model {
|
|
|
18315
18688
|
export class ModifyCompactionServiceSwitchRequest extends $tea.Model {
|
|
18316
18689
|
/**
|
|
18317
18690
|
* @remarks
|
|
18691
|
+
* The cluster ID.
|
|
18692
|
+
*
|
|
18318
18693
|
* This parameter is required.
|
|
18319
18694
|
*
|
|
18320
18695
|
* @example
|
|
@@ -18323,6 +18698,13 @@ export class ModifyCompactionServiceSwitchRequest extends $tea.Model {
|
|
|
18323
18698
|
DBClusterId?: string;
|
|
18324
18699
|
/**
|
|
18325
18700
|
* @remarks
|
|
18701
|
+
* Specifies whether to enable the remote build feature.
|
|
18702
|
+
*
|
|
18703
|
+
* Valid values:
|
|
18704
|
+
*
|
|
18705
|
+
* * true
|
|
18706
|
+
* * false
|
|
18707
|
+
*
|
|
18326
18708
|
* This parameter is required.
|
|
18327
18709
|
*
|
|
18328
18710
|
* @example
|
|
@@ -18350,6 +18732,9 @@ export class ModifyCompactionServiceSwitchRequest extends $tea.Model {
|
|
|
18350
18732
|
|
|
18351
18733
|
export class ModifyCompactionServiceSwitchResponseBody extends $tea.Model {
|
|
18352
18734
|
/**
|
|
18735
|
+
* @remarks
|
|
18736
|
+
* The request ID.
|
|
18737
|
+
*
|
|
18353
18738
|
* @example
|
|
18354
18739
|
* 21ABF219-10E0-571B-94B8-9C9AE5022BF8
|
|
18355
18740
|
*/
|
|
@@ -20472,6 +20857,103 @@ export class SetSparkAppLogRootPathResponse extends $tea.Model {
|
|
|
20472
20857
|
}
|
|
20473
20858
|
}
|
|
20474
20859
|
|
|
20860
|
+
export class StartSparkReplSessionRequest extends $tea.Model {
|
|
20861
|
+
/**
|
|
20862
|
+
* @remarks
|
|
20863
|
+
* This parameter is required.
|
|
20864
|
+
*
|
|
20865
|
+
* @example
|
|
20866
|
+
* { "spark.shuffle.timeout": ":0s" }
|
|
20867
|
+
*/
|
|
20868
|
+
config?: string;
|
|
20869
|
+
/**
|
|
20870
|
+
* @remarks
|
|
20871
|
+
* This parameter is required.
|
|
20872
|
+
*
|
|
20873
|
+
* @example
|
|
20874
|
+
* amv-bp1mfe9qm****
|
|
20875
|
+
*/
|
|
20876
|
+
DBClusterId?: string;
|
|
20877
|
+
/**
|
|
20878
|
+
* @remarks
|
|
20879
|
+
* This parameter is required.
|
|
20880
|
+
*
|
|
20881
|
+
* @example
|
|
20882
|
+
* test
|
|
20883
|
+
*/
|
|
20884
|
+
resourceGroupName?: string;
|
|
20885
|
+
static names(): { [key: string]: string } {
|
|
20886
|
+
return {
|
|
20887
|
+
config: 'Config',
|
|
20888
|
+
DBClusterId: 'DBClusterId',
|
|
20889
|
+
resourceGroupName: 'ResourceGroupName',
|
|
20890
|
+
};
|
|
20891
|
+
}
|
|
20892
|
+
|
|
20893
|
+
static types(): { [key: string]: any } {
|
|
20894
|
+
return {
|
|
20895
|
+
config: 'string',
|
|
20896
|
+
DBClusterId: 'string',
|
|
20897
|
+
resourceGroupName: 'string',
|
|
20898
|
+
};
|
|
20899
|
+
}
|
|
20900
|
+
|
|
20901
|
+
constructor(map?: { [key: string]: any }) {
|
|
20902
|
+
super(map);
|
|
20903
|
+
}
|
|
20904
|
+
}
|
|
20905
|
+
|
|
20906
|
+
export class StartSparkReplSessionResponseBody extends $tea.Model {
|
|
20907
|
+
data?: StartSparkReplSessionResponseBodyData;
|
|
20908
|
+
/**
|
|
20909
|
+
* @example
|
|
20910
|
+
* C1797FEA-B7D6-5ED6-A24B-2C8C5F4D7361
|
|
20911
|
+
*/
|
|
20912
|
+
requestId?: string;
|
|
20913
|
+
static names(): { [key: string]: string } {
|
|
20914
|
+
return {
|
|
20915
|
+
data: 'Data',
|
|
20916
|
+
requestId: 'RequestId',
|
|
20917
|
+
};
|
|
20918
|
+
}
|
|
20919
|
+
|
|
20920
|
+
static types(): { [key: string]: any } {
|
|
20921
|
+
return {
|
|
20922
|
+
data: StartSparkReplSessionResponseBodyData,
|
|
20923
|
+
requestId: 'string',
|
|
20924
|
+
};
|
|
20925
|
+
}
|
|
20926
|
+
|
|
20927
|
+
constructor(map?: { [key: string]: any }) {
|
|
20928
|
+
super(map);
|
|
20929
|
+
}
|
|
20930
|
+
}
|
|
20931
|
+
|
|
20932
|
+
export class StartSparkReplSessionResponse extends $tea.Model {
|
|
20933
|
+
headers?: { [key: string]: string };
|
|
20934
|
+
statusCode?: number;
|
|
20935
|
+
body?: StartSparkReplSessionResponseBody;
|
|
20936
|
+
static names(): { [key: string]: string } {
|
|
20937
|
+
return {
|
|
20938
|
+
headers: 'headers',
|
|
20939
|
+
statusCode: 'statusCode',
|
|
20940
|
+
body: 'body',
|
|
20941
|
+
};
|
|
20942
|
+
}
|
|
20943
|
+
|
|
20944
|
+
static types(): { [key: string]: any } {
|
|
20945
|
+
return {
|
|
20946
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20947
|
+
statusCode: 'number',
|
|
20948
|
+
body: StartSparkReplSessionResponseBody,
|
|
20949
|
+
};
|
|
20950
|
+
}
|
|
20951
|
+
|
|
20952
|
+
constructor(map?: { [key: string]: any }) {
|
|
20953
|
+
super(map);
|
|
20954
|
+
}
|
|
20955
|
+
}
|
|
20956
|
+
|
|
20475
20957
|
export class StartSparkSQLEngineRequest extends $tea.Model {
|
|
20476
20958
|
/**
|
|
20477
20959
|
* @remarks
|
|
@@ -21289,6 +21771,95 @@ export class OperatorNodeStats extends $tea.Model {
|
|
|
21289
21771
|
}
|
|
21290
21772
|
}
|
|
21291
21773
|
|
|
21774
|
+
export class CancelSparkReplStatementResponseBodyData extends $tea.Model {
|
|
21775
|
+
/**
|
|
21776
|
+
* @example
|
|
21777
|
+
* 190063530332****
|
|
21778
|
+
*/
|
|
21779
|
+
aliyunUid?: number;
|
|
21780
|
+
/**
|
|
21781
|
+
* @example
|
|
21782
|
+
* print(1+1)
|
|
21783
|
+
*/
|
|
21784
|
+
code?: string;
|
|
21785
|
+
/**
|
|
21786
|
+
* @example
|
|
21787
|
+
* RUNNING
|
|
21788
|
+
*/
|
|
21789
|
+
codeState?: string;
|
|
21790
|
+
/**
|
|
21791
|
+
* @example
|
|
21792
|
+
* PYTHON
|
|
21793
|
+
*/
|
|
21794
|
+
codeType?: string;
|
|
21795
|
+
columns?: string[];
|
|
21796
|
+
/**
|
|
21797
|
+
* @example
|
|
21798
|
+
* 1730968056000
|
|
21799
|
+
*/
|
|
21800
|
+
endTime?: number;
|
|
21801
|
+
/**
|
|
21802
|
+
* @example
|
|
21803
|
+
* StackOverflow Exception:
|
|
21804
|
+
*/
|
|
21805
|
+
error?: string;
|
|
21806
|
+
/**
|
|
21807
|
+
* @example
|
|
21808
|
+
* {"text/plain": "2"}
|
|
21809
|
+
*/
|
|
21810
|
+
output?: string;
|
|
21811
|
+
/**
|
|
21812
|
+
* @example
|
|
21813
|
+
* TEXT
|
|
21814
|
+
*/
|
|
21815
|
+
outputType?: string;
|
|
21816
|
+
/**
|
|
21817
|
+
* @example
|
|
21818
|
+
* 1730968056000
|
|
21819
|
+
*/
|
|
21820
|
+
startTime?: number;
|
|
21821
|
+
/**
|
|
21822
|
+
* @example
|
|
21823
|
+
* 123
|
|
21824
|
+
*/
|
|
21825
|
+
statementId?: number;
|
|
21826
|
+
static names(): { [key: string]: string } {
|
|
21827
|
+
return {
|
|
21828
|
+
aliyunUid: 'AliyunUid',
|
|
21829
|
+
code: 'Code',
|
|
21830
|
+
codeState: 'CodeState',
|
|
21831
|
+
codeType: 'CodeType',
|
|
21832
|
+
columns: 'Columns',
|
|
21833
|
+
endTime: 'EndTime',
|
|
21834
|
+
error: 'Error',
|
|
21835
|
+
output: 'Output',
|
|
21836
|
+
outputType: 'OutputType',
|
|
21837
|
+
startTime: 'StartTime',
|
|
21838
|
+
statementId: 'StatementId',
|
|
21839
|
+
};
|
|
21840
|
+
}
|
|
21841
|
+
|
|
21842
|
+
static types(): { [key: string]: any } {
|
|
21843
|
+
return {
|
|
21844
|
+
aliyunUid: 'number',
|
|
21845
|
+
code: 'string',
|
|
21846
|
+
codeState: 'string',
|
|
21847
|
+
codeType: 'string',
|
|
21848
|
+
columns: { 'type': 'array', 'itemType': 'string' },
|
|
21849
|
+
endTime: 'number',
|
|
21850
|
+
error: 'string',
|
|
21851
|
+
output: 'string',
|
|
21852
|
+
outputType: 'string',
|
|
21853
|
+
startTime: 'number',
|
|
21854
|
+
statementId: 'number',
|
|
21855
|
+
};
|
|
21856
|
+
}
|
|
21857
|
+
|
|
21858
|
+
constructor(map?: { [key: string]: any }) {
|
|
21859
|
+
super(map);
|
|
21860
|
+
}
|
|
21861
|
+
}
|
|
21862
|
+
|
|
21292
21863
|
export class CreateDBClusterRequestTag extends $tea.Model {
|
|
21293
21864
|
/**
|
|
21294
21865
|
* @remarks
|
|
@@ -23421,6 +23992,14 @@ export class DescribeColumnsResponseBodyItems extends $tea.Model {
|
|
|
23421
23992
|
|
|
23422
23993
|
export class DescribeCompactionServiceSwitchResponseBodyData extends $tea.Model {
|
|
23423
23994
|
/**
|
|
23995
|
+
* @remarks
|
|
23996
|
+
* Indicates whether the remote build feature is enabled.
|
|
23997
|
+
*
|
|
23998
|
+
* Valid values:
|
|
23999
|
+
*
|
|
24000
|
+
* * true
|
|
24001
|
+
* * false
|
|
24002
|
+
*
|
|
23424
24003
|
* @example
|
|
23425
24004
|
* true
|
|
23426
24005
|
*/
|
|
@@ -28152,6 +28731,95 @@ export class DescribeTablesResponseBodyItems extends $tea.Model {
|
|
|
28152
28731
|
}
|
|
28153
28732
|
}
|
|
28154
28733
|
|
|
28734
|
+
export class ExecuteSparkReplStatementResponseBodyData extends $tea.Model {
|
|
28735
|
+
/**
|
|
28736
|
+
* @example
|
|
28737
|
+
* 17108278707****
|
|
28738
|
+
*/
|
|
28739
|
+
aliyunUid?: number;
|
|
28740
|
+
/**
|
|
28741
|
+
* @example
|
|
28742
|
+
* print(1+1)
|
|
28743
|
+
*/
|
|
28744
|
+
code?: string;
|
|
28745
|
+
/**
|
|
28746
|
+
* @example
|
|
28747
|
+
* RUNNING
|
|
28748
|
+
*/
|
|
28749
|
+
codeState?: string;
|
|
28750
|
+
/**
|
|
28751
|
+
* @example
|
|
28752
|
+
* PYTHON
|
|
28753
|
+
*/
|
|
28754
|
+
codeType?: string;
|
|
28755
|
+
columns?: string[];
|
|
28756
|
+
/**
|
|
28757
|
+
* @example
|
|
28758
|
+
* 1730968125000
|
|
28759
|
+
*/
|
|
28760
|
+
endTime?: number;
|
|
28761
|
+
/**
|
|
28762
|
+
* @example
|
|
28763
|
+
* StackOverflow Exception
|
|
28764
|
+
*/
|
|
28765
|
+
error?: string;
|
|
28766
|
+
/**
|
|
28767
|
+
* @example
|
|
28768
|
+
* {"text/plain": 2}
|
|
28769
|
+
*/
|
|
28770
|
+
output?: string;
|
|
28771
|
+
/**
|
|
28772
|
+
* @example
|
|
28773
|
+
* TEXT
|
|
28774
|
+
*/
|
|
28775
|
+
outputType?: string;
|
|
28776
|
+
/**
|
|
28777
|
+
* @example
|
|
28778
|
+
* 1730968125000
|
|
28779
|
+
*/
|
|
28780
|
+
startTime?: number;
|
|
28781
|
+
/**
|
|
28782
|
+
* @example
|
|
28783
|
+
* 123
|
|
28784
|
+
*/
|
|
28785
|
+
statementId?: number;
|
|
28786
|
+
static names(): { [key: string]: string } {
|
|
28787
|
+
return {
|
|
28788
|
+
aliyunUid: 'AliyunUid',
|
|
28789
|
+
code: 'Code',
|
|
28790
|
+
codeState: 'CodeState',
|
|
28791
|
+
codeType: 'CodeType',
|
|
28792
|
+
columns: 'Columns',
|
|
28793
|
+
endTime: 'EndTime',
|
|
28794
|
+
error: 'Error',
|
|
28795
|
+
output: 'Output',
|
|
28796
|
+
outputType: 'OutputType',
|
|
28797
|
+
startTime: 'StartTime',
|
|
28798
|
+
statementId: 'StatementId',
|
|
28799
|
+
};
|
|
28800
|
+
}
|
|
28801
|
+
|
|
28802
|
+
static types(): { [key: string]: any } {
|
|
28803
|
+
return {
|
|
28804
|
+
aliyunUid: 'number',
|
|
28805
|
+
code: 'string',
|
|
28806
|
+
codeState: 'string',
|
|
28807
|
+
codeType: 'string',
|
|
28808
|
+
columns: { 'type': 'array', 'itemType': 'string' },
|
|
28809
|
+
endTime: 'number',
|
|
28810
|
+
error: 'string',
|
|
28811
|
+
output: 'string',
|
|
28812
|
+
outputType: 'string',
|
|
28813
|
+
startTime: 'number',
|
|
28814
|
+
statementId: 'number',
|
|
28815
|
+
};
|
|
28816
|
+
}
|
|
28817
|
+
|
|
28818
|
+
constructor(map?: { [key: string]: any }) {
|
|
28819
|
+
super(map);
|
|
28820
|
+
}
|
|
28821
|
+
}
|
|
28822
|
+
|
|
28155
28823
|
export class GetDatabaseObjectsResponseBodyData extends $tea.Model {
|
|
28156
28824
|
/**
|
|
28157
28825
|
* @remarks
|
|
@@ -28635,6 +29303,160 @@ export class GetSparkConfigLogPathResponseBodyData extends $tea.Model {
|
|
|
28635
29303
|
}
|
|
28636
29304
|
}
|
|
28637
29305
|
|
|
29306
|
+
export class GetSparkReplSessionResponseBodyData extends $tea.Model {
|
|
29307
|
+
/**
|
|
29308
|
+
* @example
|
|
29309
|
+
* true
|
|
29310
|
+
*/
|
|
29311
|
+
active?: string;
|
|
29312
|
+
/**
|
|
29313
|
+
* @example
|
|
29314
|
+
* 178157466101****
|
|
29315
|
+
*/
|
|
29316
|
+
aliyunUid?: string;
|
|
29317
|
+
/**
|
|
29318
|
+
* @example
|
|
29319
|
+
* s202301061000hz57d797b00002****
|
|
29320
|
+
*/
|
|
29321
|
+
attemptId?: string;
|
|
29322
|
+
/**
|
|
29323
|
+
* @example
|
|
29324
|
+
* Session timed out
|
|
29325
|
+
*/
|
|
29326
|
+
error?: string;
|
|
29327
|
+
/**
|
|
29328
|
+
* @example
|
|
29329
|
+
* 1
|
|
29330
|
+
*/
|
|
29331
|
+
sessionId?: number;
|
|
29332
|
+
/**
|
|
29333
|
+
* @example
|
|
29334
|
+
* IDEL
|
|
29335
|
+
*/
|
|
29336
|
+
state?: string;
|
|
29337
|
+
/**
|
|
29338
|
+
* @example
|
|
29339
|
+
* https://adbsparkui-cn-hangzhou.aliyuncs.com/?token=****
|
|
29340
|
+
*/
|
|
29341
|
+
webUiAddress?: string;
|
|
29342
|
+
static names(): { [key: string]: string } {
|
|
29343
|
+
return {
|
|
29344
|
+
active: 'Active',
|
|
29345
|
+
aliyunUid: 'AliyunUid',
|
|
29346
|
+
attemptId: 'AttemptId',
|
|
29347
|
+
error: 'Error',
|
|
29348
|
+
sessionId: 'SessionId',
|
|
29349
|
+
state: 'State',
|
|
29350
|
+
webUiAddress: 'WebUiAddress',
|
|
29351
|
+
};
|
|
29352
|
+
}
|
|
29353
|
+
|
|
29354
|
+
static types(): { [key: string]: any } {
|
|
29355
|
+
return {
|
|
29356
|
+
active: 'string',
|
|
29357
|
+
aliyunUid: 'string',
|
|
29358
|
+
attemptId: 'string',
|
|
29359
|
+
error: 'string',
|
|
29360
|
+
sessionId: 'number',
|
|
29361
|
+
state: 'string',
|
|
29362
|
+
webUiAddress: 'string',
|
|
29363
|
+
};
|
|
29364
|
+
}
|
|
29365
|
+
|
|
29366
|
+
constructor(map?: { [key: string]: any }) {
|
|
29367
|
+
super(map);
|
|
29368
|
+
}
|
|
29369
|
+
}
|
|
29370
|
+
|
|
29371
|
+
export class GetSparkReplStatementResponseBodyData extends $tea.Model {
|
|
29372
|
+
/**
|
|
29373
|
+
* @example
|
|
29374
|
+
* 144740799645****
|
|
29375
|
+
*/
|
|
29376
|
+
aliyunUid?: number;
|
|
29377
|
+
/**
|
|
29378
|
+
* @example
|
|
29379
|
+
* print(1+1)
|
|
29380
|
+
*/
|
|
29381
|
+
code?: string;
|
|
29382
|
+
/**
|
|
29383
|
+
* @example
|
|
29384
|
+
* RUNNING
|
|
29385
|
+
*/
|
|
29386
|
+
codeState?: string;
|
|
29387
|
+
/**
|
|
29388
|
+
* @example
|
|
29389
|
+
* PYTHON
|
|
29390
|
+
*/
|
|
29391
|
+
codeType?: string;
|
|
29392
|
+
columns?: string[];
|
|
29393
|
+
/**
|
|
29394
|
+
* @example
|
|
29395
|
+
* 1730968194000
|
|
29396
|
+
*/
|
|
29397
|
+
endTime?: number;
|
|
29398
|
+
/**
|
|
29399
|
+
* @example
|
|
29400
|
+
* stackoverflow error
|
|
29401
|
+
*/
|
|
29402
|
+
error?: string;
|
|
29403
|
+
/**
|
|
29404
|
+
* @example
|
|
29405
|
+
* {"text/plain": 2}
|
|
29406
|
+
*/
|
|
29407
|
+
output?: string;
|
|
29408
|
+
/**
|
|
29409
|
+
* @example
|
|
29410
|
+
* TEXT
|
|
29411
|
+
*/
|
|
29412
|
+
outputType?: string;
|
|
29413
|
+
/**
|
|
29414
|
+
* @example
|
|
29415
|
+
* 1730968194000
|
|
29416
|
+
*/
|
|
29417
|
+
startTime?: number;
|
|
29418
|
+
/**
|
|
29419
|
+
* @example
|
|
29420
|
+
* 123
|
|
29421
|
+
*/
|
|
29422
|
+
statementId?: number;
|
|
29423
|
+
static names(): { [key: string]: string } {
|
|
29424
|
+
return {
|
|
29425
|
+
aliyunUid: 'AliyunUid',
|
|
29426
|
+
code: 'Code',
|
|
29427
|
+
codeState: 'CodeState',
|
|
29428
|
+
codeType: 'CodeType',
|
|
29429
|
+
columns: 'Columns',
|
|
29430
|
+
endTime: 'EndTime',
|
|
29431
|
+
error: 'Error',
|
|
29432
|
+
output: 'Output',
|
|
29433
|
+
outputType: 'OutputType',
|
|
29434
|
+
startTime: 'StartTime',
|
|
29435
|
+
statementId: 'StatementId',
|
|
29436
|
+
};
|
|
29437
|
+
}
|
|
29438
|
+
|
|
29439
|
+
static types(): { [key: string]: any } {
|
|
29440
|
+
return {
|
|
29441
|
+
aliyunUid: 'number',
|
|
29442
|
+
code: 'string',
|
|
29443
|
+
codeState: 'string',
|
|
29444
|
+
codeType: 'string',
|
|
29445
|
+
columns: { 'type': 'array', 'itemType': 'string' },
|
|
29446
|
+
endTime: 'number',
|
|
29447
|
+
error: 'string',
|
|
29448
|
+
output: 'string',
|
|
29449
|
+
outputType: 'string',
|
|
29450
|
+
startTime: 'number',
|
|
29451
|
+
statementId: 'number',
|
|
29452
|
+
};
|
|
29453
|
+
}
|
|
29454
|
+
|
|
29455
|
+
constructor(map?: { [key: string]: any }) {
|
|
29456
|
+
super(map);
|
|
29457
|
+
}
|
|
29458
|
+
}
|
|
29459
|
+
|
|
28638
29460
|
export class GetSparkSQLEngineStateResponseBodyData extends $tea.Model {
|
|
28639
29461
|
/**
|
|
28640
29462
|
* @remarks
|
|
@@ -29828,6 +30650,64 @@ export class SetSparkAppLogRootPathResponseBodyData extends $tea.Model {
|
|
|
29828
30650
|
}
|
|
29829
30651
|
}
|
|
29830
30652
|
|
|
30653
|
+
export class StartSparkReplSessionResponseBodyData extends $tea.Model {
|
|
30654
|
+
/**
|
|
30655
|
+
* @example
|
|
30656
|
+
* 178157466******
|
|
30657
|
+
*/
|
|
30658
|
+
aliyunUid?: string;
|
|
30659
|
+
/**
|
|
30660
|
+
* @example
|
|
30661
|
+
* s202301061000h****
|
|
30662
|
+
*/
|
|
30663
|
+
attemptId?: string;
|
|
30664
|
+
/**
|
|
30665
|
+
* @example
|
|
30666
|
+
* session time out
|
|
30667
|
+
*/
|
|
30668
|
+
error?: string;
|
|
30669
|
+
/**
|
|
30670
|
+
* @example
|
|
30671
|
+
* 1
|
|
30672
|
+
*/
|
|
30673
|
+
sessionId?: number;
|
|
30674
|
+
/**
|
|
30675
|
+
* @example
|
|
30676
|
+
* IDLE
|
|
30677
|
+
*/
|
|
30678
|
+
state?: string;
|
|
30679
|
+
/**
|
|
30680
|
+
* @example
|
|
30681
|
+
* https://adbsparkui-cn-hangzhou.aliyuncs.com/?token=****
|
|
30682
|
+
*/
|
|
30683
|
+
webUiAddress?: string;
|
|
30684
|
+
static names(): { [key: string]: string } {
|
|
30685
|
+
return {
|
|
30686
|
+
aliyunUid: 'AliyunUid',
|
|
30687
|
+
attemptId: 'AttemptId',
|
|
30688
|
+
error: 'Error',
|
|
30689
|
+
sessionId: 'SessionId',
|
|
30690
|
+
state: 'State',
|
|
30691
|
+
webUiAddress: 'WebUiAddress',
|
|
30692
|
+
};
|
|
30693
|
+
}
|
|
30694
|
+
|
|
30695
|
+
static types(): { [key: string]: any } {
|
|
30696
|
+
return {
|
|
30697
|
+
aliyunUid: 'string',
|
|
30698
|
+
attemptId: 'string',
|
|
30699
|
+
error: 'string',
|
|
30700
|
+
sessionId: 'number',
|
|
30701
|
+
state: 'string',
|
|
30702
|
+
webUiAddress: 'string',
|
|
30703
|
+
};
|
|
30704
|
+
}
|
|
30705
|
+
|
|
30706
|
+
constructor(map?: { [key: string]: any }) {
|
|
30707
|
+
super(map);
|
|
30708
|
+
}
|
|
30709
|
+
}
|
|
30710
|
+
|
|
29831
30711
|
export class StartSparkSQLEngineResponseBodyData extends $tea.Model {
|
|
29832
30712
|
/**
|
|
29833
30713
|
* @remarks
|
|
@@ -30261,6 +31141,56 @@ export default class Client extends OpenApi {
|
|
|
30261
31141
|
return await this.bindDBResourceGroupWithUserWithOptions(request, runtime);
|
|
30262
31142
|
}
|
|
30263
31143
|
|
|
31144
|
+
/**
|
|
31145
|
+
* 终止一段代码
|
|
31146
|
+
*
|
|
31147
|
+
* @param request - CancelSparkReplStatementRequest
|
|
31148
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
31149
|
+
* @returns CancelSparkReplStatementResponse
|
|
31150
|
+
*/
|
|
31151
|
+
async cancelSparkReplStatementWithOptions(request: CancelSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<CancelSparkReplStatementResponse> {
|
|
31152
|
+
Util.validateModel(request);
|
|
31153
|
+
let body : {[key: string ]: any} = { };
|
|
31154
|
+
if (!Util.isUnset(request.appId)) {
|
|
31155
|
+
body["AppId"] = request.appId;
|
|
31156
|
+
}
|
|
31157
|
+
|
|
31158
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
31159
|
+
body["SessionId"] = request.sessionId;
|
|
31160
|
+
}
|
|
31161
|
+
|
|
31162
|
+
if (!Util.isUnset(request.statementId)) {
|
|
31163
|
+
body["StatementId"] = request.statementId;
|
|
31164
|
+
}
|
|
31165
|
+
|
|
31166
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
31167
|
+
body: OpenApiUtil.parseToMap(body),
|
|
31168
|
+
});
|
|
31169
|
+
let params = new $OpenApi.Params({
|
|
31170
|
+
action: "CancelSparkReplStatement",
|
|
31171
|
+
version: "2021-12-01",
|
|
31172
|
+
protocol: "HTTPS",
|
|
31173
|
+
pathname: "/",
|
|
31174
|
+
method: "POST",
|
|
31175
|
+
authType: "AK",
|
|
31176
|
+
style: "RPC",
|
|
31177
|
+
reqBodyType: "formData",
|
|
31178
|
+
bodyType: "json",
|
|
31179
|
+
});
|
|
31180
|
+
return $tea.cast<CancelSparkReplStatementResponse>(await this.callApi(params, req, runtime), new CancelSparkReplStatementResponse({}));
|
|
31181
|
+
}
|
|
31182
|
+
|
|
31183
|
+
/**
|
|
31184
|
+
* 终止一段代码
|
|
31185
|
+
*
|
|
31186
|
+
* @param request - CancelSparkReplStatementRequest
|
|
31187
|
+
* @returns CancelSparkReplStatementResponse
|
|
31188
|
+
*/
|
|
31189
|
+
async cancelSparkReplStatement(request: CancelSparkReplStatementRequest): Promise<CancelSparkReplStatementResponse> {
|
|
31190
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
31191
|
+
return await this.cancelSparkReplStatementWithOptions(request, runtime);
|
|
31192
|
+
}
|
|
31193
|
+
|
|
30264
31194
|
/**
|
|
30265
31195
|
* Queries whether a database account of an AnalyticDB for MySQL cluster is associated with a Resource Access Management (RAM) user.
|
|
30266
31196
|
*
|
|
@@ -32708,7 +33638,7 @@ export default class Client extends OpenApi {
|
|
|
32708
33638
|
}
|
|
32709
33639
|
|
|
32710
33640
|
/**
|
|
32711
|
-
*
|
|
33641
|
+
* Queries whether the remote build feature is enabled in the query acceleration configuration of an AnalyticDB for MySQL cluster.
|
|
32712
33642
|
*
|
|
32713
33643
|
* @param request - DescribeCompactionServiceSwitchRequest
|
|
32714
33644
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32739,7 +33669,7 @@ export default class Client extends OpenApi {
|
|
|
32739
33669
|
}
|
|
32740
33670
|
|
|
32741
33671
|
/**
|
|
32742
|
-
*
|
|
33672
|
+
* Queries whether the remote build feature is enabled in the query acceleration configuration of an AnalyticDB for MySQL cluster.
|
|
32743
33673
|
*
|
|
32744
33674
|
* @param request - DescribeCompactionServiceSwitchRequest
|
|
32745
33675
|
* @returns DescribeCompactionServiceSwitchResponse
|
|
@@ -35295,6 +36225,60 @@ export default class Client extends OpenApi {
|
|
|
35295
36225
|
return await this.enableElasticPlanWithOptions(request, runtime);
|
|
35296
36226
|
}
|
|
35297
36227
|
|
|
36228
|
+
/**
|
|
36229
|
+
* 执行一段代码
|
|
36230
|
+
*
|
|
36231
|
+
* @param request - ExecuteSparkReplStatementRequest
|
|
36232
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
36233
|
+
* @returns ExecuteSparkReplStatementResponse
|
|
36234
|
+
*/
|
|
36235
|
+
async executeSparkReplStatementWithOptions(request: ExecuteSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteSparkReplStatementResponse> {
|
|
36236
|
+
Util.validateModel(request);
|
|
36237
|
+
let body : {[key: string ]: any} = { };
|
|
36238
|
+
if (!Util.isUnset(request.appId)) {
|
|
36239
|
+
body["AppId"] = request.appId;
|
|
36240
|
+
}
|
|
36241
|
+
|
|
36242
|
+
if (!Util.isUnset(request.code)) {
|
|
36243
|
+
body["Code"] = request.code;
|
|
36244
|
+
}
|
|
36245
|
+
|
|
36246
|
+
if (!Util.isUnset(request.codeType)) {
|
|
36247
|
+
body["CodeType"] = request.codeType;
|
|
36248
|
+
}
|
|
36249
|
+
|
|
36250
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
36251
|
+
body["SessionId"] = request.sessionId;
|
|
36252
|
+
}
|
|
36253
|
+
|
|
36254
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
36255
|
+
body: OpenApiUtil.parseToMap(body),
|
|
36256
|
+
});
|
|
36257
|
+
let params = new $OpenApi.Params({
|
|
36258
|
+
action: "ExecuteSparkReplStatement",
|
|
36259
|
+
version: "2021-12-01",
|
|
36260
|
+
protocol: "HTTPS",
|
|
36261
|
+
pathname: "/",
|
|
36262
|
+
method: "POST",
|
|
36263
|
+
authType: "AK",
|
|
36264
|
+
style: "RPC",
|
|
36265
|
+
reqBodyType: "formData",
|
|
36266
|
+
bodyType: "json",
|
|
36267
|
+
});
|
|
36268
|
+
return $tea.cast<ExecuteSparkReplStatementResponse>(await this.callApi(params, req, runtime), new ExecuteSparkReplStatementResponse({}));
|
|
36269
|
+
}
|
|
36270
|
+
|
|
36271
|
+
/**
|
|
36272
|
+
* 执行一段代码
|
|
36273
|
+
*
|
|
36274
|
+
* @param request - ExecuteSparkReplStatementRequest
|
|
36275
|
+
* @returns ExecuteSparkReplStatementResponse
|
|
36276
|
+
*/
|
|
36277
|
+
async executeSparkReplStatement(request: ExecuteSparkReplStatementRequest): Promise<ExecuteSparkReplStatementResponse> {
|
|
36278
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
36279
|
+
return await this.executeSparkReplStatementWithOptions(request, runtime);
|
|
36280
|
+
}
|
|
36281
|
+
|
|
35298
36282
|
/**
|
|
35299
36283
|
* Queries whether a running SQL engine exists.
|
|
35300
36284
|
*
|
|
@@ -35897,6 +36881,102 @@ export default class Client extends OpenApi {
|
|
|
35897
36881
|
return await this.getSparkLogAnalyzeTaskWithOptions(request, runtime);
|
|
35898
36882
|
}
|
|
35899
36883
|
|
|
36884
|
+
/**
|
|
36885
|
+
* 获取一个可交互Session
|
|
36886
|
+
*
|
|
36887
|
+
* @param request - GetSparkReplSessionRequest
|
|
36888
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
36889
|
+
* @returns GetSparkReplSessionResponse
|
|
36890
|
+
*/
|
|
36891
|
+
async getSparkReplSessionWithOptions(request: GetSparkReplSessionRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkReplSessionResponse> {
|
|
36892
|
+
Util.validateModel(request);
|
|
36893
|
+
let body : {[key: string ]: any} = { };
|
|
36894
|
+
if (!Util.isUnset(request.appId)) {
|
|
36895
|
+
body["AppId"] = request.appId;
|
|
36896
|
+
}
|
|
36897
|
+
|
|
36898
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
36899
|
+
body["SessionId"] = request.sessionId;
|
|
36900
|
+
}
|
|
36901
|
+
|
|
36902
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
36903
|
+
body: OpenApiUtil.parseToMap(body),
|
|
36904
|
+
});
|
|
36905
|
+
let params = new $OpenApi.Params({
|
|
36906
|
+
action: "GetSparkReplSession",
|
|
36907
|
+
version: "2021-12-01",
|
|
36908
|
+
protocol: "HTTPS",
|
|
36909
|
+
pathname: "/",
|
|
36910
|
+
method: "POST",
|
|
36911
|
+
authType: "AK",
|
|
36912
|
+
style: "RPC",
|
|
36913
|
+
reqBodyType: "formData",
|
|
36914
|
+
bodyType: "json",
|
|
36915
|
+
});
|
|
36916
|
+
return $tea.cast<GetSparkReplSessionResponse>(await this.callApi(params, req, runtime), new GetSparkReplSessionResponse({}));
|
|
36917
|
+
}
|
|
36918
|
+
|
|
36919
|
+
/**
|
|
36920
|
+
* 获取一个可交互Session
|
|
36921
|
+
*
|
|
36922
|
+
* @param request - GetSparkReplSessionRequest
|
|
36923
|
+
* @returns GetSparkReplSessionResponse
|
|
36924
|
+
*/
|
|
36925
|
+
async getSparkReplSession(request: GetSparkReplSessionRequest): Promise<GetSparkReplSessionResponse> {
|
|
36926
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
36927
|
+
return await this.getSparkReplSessionWithOptions(request, runtime);
|
|
36928
|
+
}
|
|
36929
|
+
|
|
36930
|
+
/**
|
|
36931
|
+
* 获取一段代码的执行结果
|
|
36932
|
+
*
|
|
36933
|
+
* @param request - GetSparkReplStatementRequest
|
|
36934
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
36935
|
+
* @returns GetSparkReplStatementResponse
|
|
36936
|
+
*/
|
|
36937
|
+
async getSparkReplStatementWithOptions(request: GetSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkReplStatementResponse> {
|
|
36938
|
+
Util.validateModel(request);
|
|
36939
|
+
let body : {[key: string ]: any} = { };
|
|
36940
|
+
if (!Util.isUnset(request.appId)) {
|
|
36941
|
+
body["AppId"] = request.appId;
|
|
36942
|
+
}
|
|
36943
|
+
|
|
36944
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
36945
|
+
body["SessionId"] = request.sessionId;
|
|
36946
|
+
}
|
|
36947
|
+
|
|
36948
|
+
if (!Util.isUnset(request.statementId)) {
|
|
36949
|
+
body["StatementId"] = request.statementId;
|
|
36950
|
+
}
|
|
36951
|
+
|
|
36952
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
36953
|
+
body: OpenApiUtil.parseToMap(body),
|
|
36954
|
+
});
|
|
36955
|
+
let params = new $OpenApi.Params({
|
|
36956
|
+
action: "GetSparkReplStatement",
|
|
36957
|
+
version: "2021-12-01",
|
|
36958
|
+
protocol: "HTTPS",
|
|
36959
|
+
pathname: "/",
|
|
36960
|
+
method: "POST",
|
|
36961
|
+
authType: "AK",
|
|
36962
|
+
style: "RPC",
|
|
36963
|
+
reqBodyType: "formData",
|
|
36964
|
+
bodyType: "json",
|
|
36965
|
+
});
|
|
36966
|
+
return $tea.cast<GetSparkReplStatementResponse>(await this.callApi(params, req, runtime), new GetSparkReplStatementResponse({}));
|
|
36967
|
+
}
|
|
36968
|
+
|
|
36969
|
+
/**
|
|
36970
|
+
* 获取一段代码的执行结果
|
|
36971
|
+
*
|
|
36972
|
+
* @param request - GetSparkReplStatementRequest
|
|
36973
|
+
* @returns GetSparkReplStatementResponse
|
|
36974
|
+
*/
|
|
36975
|
+
async getSparkReplStatement(request: GetSparkReplStatementRequest): Promise<GetSparkReplStatementResponse> {
|
|
36976
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
36977
|
+
return await this.getSparkReplStatementWithOptions(request, runtime);
|
|
36978
|
+
}
|
|
36979
|
+
|
|
35900
36980
|
/**
|
|
35901
36981
|
* Queries the state information about the Spark SQL engine.
|
|
35902
36982
|
*
|
|
@@ -37512,7 +38592,7 @@ export default class Client extends OpenApi {
|
|
|
37512
38592
|
}
|
|
37513
38593
|
|
|
37514
38594
|
/**
|
|
37515
|
-
*
|
|
38595
|
+
* Modifies the status of the remote build feature in the query acceleration configuration of an AnalyticDB for MySQL cluster.
|
|
37516
38596
|
*
|
|
37517
38597
|
* @param request - ModifyCompactionServiceSwitchRequest
|
|
37518
38598
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -37547,7 +38627,7 @@ export default class Client extends OpenApi {
|
|
|
37547
38627
|
}
|
|
37548
38628
|
|
|
37549
38629
|
/**
|
|
37550
|
-
*
|
|
38630
|
+
* Modifies the status of the remote build feature in the query acceleration configuration of an AnalyticDB for MySQL cluster.
|
|
37551
38631
|
*
|
|
37552
38632
|
* @param request - ModifyCompactionServiceSwitchRequest
|
|
37553
38633
|
* @returns ModifyCompactionServiceSwitchResponse
|
|
@@ -38539,6 +39619,56 @@ export default class Client extends OpenApi {
|
|
|
38539
39619
|
return await this.setSparkAppLogRootPathWithOptions(request, runtime);
|
|
38540
39620
|
}
|
|
38541
39621
|
|
|
39622
|
+
/**
|
|
39623
|
+
* 启动一个可交互Session
|
|
39624
|
+
*
|
|
39625
|
+
* @param request - StartSparkReplSessionRequest
|
|
39626
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
39627
|
+
* @returns StartSparkReplSessionResponse
|
|
39628
|
+
*/
|
|
39629
|
+
async startSparkReplSessionWithOptions(request: StartSparkReplSessionRequest, runtime: $Util.RuntimeOptions): Promise<StartSparkReplSessionResponse> {
|
|
39630
|
+
Util.validateModel(request);
|
|
39631
|
+
let body : {[key: string ]: any} = { };
|
|
39632
|
+
if (!Util.isUnset(request.config)) {
|
|
39633
|
+
body["Config"] = request.config;
|
|
39634
|
+
}
|
|
39635
|
+
|
|
39636
|
+
if (!Util.isUnset(request.DBClusterId)) {
|
|
39637
|
+
body["DBClusterId"] = request.DBClusterId;
|
|
39638
|
+
}
|
|
39639
|
+
|
|
39640
|
+
if (!Util.isUnset(request.resourceGroupName)) {
|
|
39641
|
+
body["ResourceGroupName"] = request.resourceGroupName;
|
|
39642
|
+
}
|
|
39643
|
+
|
|
39644
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
39645
|
+
body: OpenApiUtil.parseToMap(body),
|
|
39646
|
+
});
|
|
39647
|
+
let params = new $OpenApi.Params({
|
|
39648
|
+
action: "StartSparkReplSession",
|
|
39649
|
+
version: "2021-12-01",
|
|
39650
|
+
protocol: "HTTPS",
|
|
39651
|
+
pathname: "/",
|
|
39652
|
+
method: "POST",
|
|
39653
|
+
authType: "AK",
|
|
39654
|
+
style: "RPC",
|
|
39655
|
+
reqBodyType: "formData",
|
|
39656
|
+
bodyType: "json",
|
|
39657
|
+
});
|
|
39658
|
+
return $tea.cast<StartSparkReplSessionResponse>(await this.callApi(params, req, runtime), new StartSparkReplSessionResponse({}));
|
|
39659
|
+
}
|
|
39660
|
+
|
|
39661
|
+
/**
|
|
39662
|
+
* 启动一个可交互Session
|
|
39663
|
+
*
|
|
39664
|
+
* @param request - StartSparkReplSessionRequest
|
|
39665
|
+
* @returns StartSparkReplSessionResponse
|
|
39666
|
+
*/
|
|
39667
|
+
async startSparkReplSession(request: StartSparkReplSessionRequest): Promise<StartSparkReplSessionResponse> {
|
|
39668
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
39669
|
+
return await this.startSparkReplSessionWithOptions(request, runtime);
|
|
39670
|
+
}
|
|
39671
|
+
|
|
38542
39672
|
/**
|
|
38543
39673
|
* Starts the Spark SQL engine.
|
|
38544
39674
|
*
|