@alicloud/sae20190506 1.20.0 → 1.21.1
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 +79 -0
- package/dist/client.js +172 -0
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +222 -0
package/dist/client.d.ts
CHANGED
|
@@ -340,6 +340,7 @@ export declare class CreateApplicationRequest extends $tea.Model {
|
|
|
340
340
|
vpcId?: string;
|
|
341
341
|
warStartOptions?: string;
|
|
342
342
|
webContainer?: string;
|
|
343
|
+
mseFeatureConfig?: string;
|
|
343
344
|
static names(): {
|
|
344
345
|
[key: string]: string;
|
|
345
346
|
};
|
|
@@ -934,6 +935,7 @@ export declare class DeployApplicationRequest extends $tea.Model {
|
|
|
934
935
|
minReadyInstances?: number;
|
|
935
936
|
mountDesc?: string;
|
|
936
937
|
mountHost?: string;
|
|
938
|
+
mseFeatureConfig?: string;
|
|
937
939
|
nasId?: string;
|
|
938
940
|
openCollectToKafka?: boolean;
|
|
939
941
|
ossAkId?: string;
|
|
@@ -1559,6 +1561,7 @@ export declare class DescribeConfigMapResponse extends $tea.Model {
|
|
|
1559
1561
|
export declare class DescribeConfigurationPriceRequest extends $tea.Model {
|
|
1560
1562
|
cpu?: number;
|
|
1561
1563
|
memory?: number;
|
|
1564
|
+
workload?: string;
|
|
1562
1565
|
static names(): {
|
|
1563
1566
|
[key: string]: string;
|
|
1564
1567
|
};
|
|
@@ -2156,6 +2159,59 @@ export declare class EnableApplicationScalingRuleResponse extends $tea.Model {
|
|
|
2156
2159
|
[key: string]: any;
|
|
2157
2160
|
});
|
|
2158
2161
|
}
|
|
2162
|
+
export declare class ExecJobRequest extends $tea.Model {
|
|
2163
|
+
appId?: string;
|
|
2164
|
+
command?: string;
|
|
2165
|
+
commandArgs?: string;
|
|
2166
|
+
envs?: string;
|
|
2167
|
+
eventId?: string;
|
|
2168
|
+
jarStartArgs?: string;
|
|
2169
|
+
jarStartOptions?: string;
|
|
2170
|
+
warStartOptions?: string;
|
|
2171
|
+
static names(): {
|
|
2172
|
+
[key: string]: string;
|
|
2173
|
+
};
|
|
2174
|
+
static types(): {
|
|
2175
|
+
[key: string]: any;
|
|
2176
|
+
};
|
|
2177
|
+
constructor(map?: {
|
|
2178
|
+
[key: string]: any;
|
|
2179
|
+
});
|
|
2180
|
+
}
|
|
2181
|
+
export declare class ExecJobResponseBody extends $tea.Model {
|
|
2182
|
+
code?: string;
|
|
2183
|
+
data?: ExecJobResponseBodyData;
|
|
2184
|
+
errorCode?: string;
|
|
2185
|
+
message?: string;
|
|
2186
|
+
requestId?: string;
|
|
2187
|
+
success?: boolean;
|
|
2188
|
+
traceId?: string;
|
|
2189
|
+
static names(): {
|
|
2190
|
+
[key: string]: string;
|
|
2191
|
+
};
|
|
2192
|
+
static types(): {
|
|
2193
|
+
[key: string]: any;
|
|
2194
|
+
};
|
|
2195
|
+
constructor(map?: {
|
|
2196
|
+
[key: string]: any;
|
|
2197
|
+
});
|
|
2198
|
+
}
|
|
2199
|
+
export declare class ExecJobResponse extends $tea.Model {
|
|
2200
|
+
headers: {
|
|
2201
|
+
[key: string]: string;
|
|
2202
|
+
};
|
|
2203
|
+
statusCode: number;
|
|
2204
|
+
body: ExecJobResponseBody;
|
|
2205
|
+
static names(): {
|
|
2206
|
+
[key: string]: string;
|
|
2207
|
+
};
|
|
2208
|
+
static types(): {
|
|
2209
|
+
[key: string]: any;
|
|
2210
|
+
};
|
|
2211
|
+
constructor(map?: {
|
|
2212
|
+
[key: string]: any;
|
|
2213
|
+
});
|
|
2214
|
+
}
|
|
2159
2215
|
export declare class ListAppEventsRequest extends $tea.Model {
|
|
2160
2216
|
appId?: string;
|
|
2161
2217
|
currentPage?: number;
|
|
@@ -4238,6 +4294,7 @@ export declare class DescribeApplicationConfigResponseBodyData extends $tea.Mode
|
|
|
4238
4294
|
mountDesc?: DescribeApplicationConfigResponseBodyDataMountDesc[];
|
|
4239
4295
|
mountHost?: string;
|
|
4240
4296
|
mseApplicationId?: string;
|
|
4297
|
+
mseFeatureConfig?: string;
|
|
4241
4298
|
namespaceId?: string;
|
|
4242
4299
|
nasId?: string;
|
|
4243
4300
|
ossAkId?: string;
|
|
@@ -4320,6 +4377,7 @@ export declare class DescribeApplicationImageResponseBodyData extends $tea.Model
|
|
|
4320
4377
|
}
|
|
4321
4378
|
export declare class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.Model {
|
|
4322
4379
|
createTimeStamp?: number;
|
|
4380
|
+
debugStatus?: boolean;
|
|
4323
4381
|
eip?: string;
|
|
4324
4382
|
finishTimeStamp?: number;
|
|
4325
4383
|
groupId?: string;
|
|
@@ -5000,6 +5058,7 @@ export declare class DescribeGreyTagRouteResponseBodyData extends $tea.Model {
|
|
|
5000
5058
|
export declare class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
5001
5059
|
appId?: string;
|
|
5002
5060
|
appName?: string;
|
|
5061
|
+
backendProtocol?: string;
|
|
5003
5062
|
containerPort?: number;
|
|
5004
5063
|
static names(): {
|
|
5005
5064
|
[key: string]: string;
|
|
@@ -5014,6 +5073,7 @@ export declare class DescribeIngressResponseBodyDataDefaultRule extends $tea.Mod
|
|
|
5014
5073
|
export declare class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
5015
5074
|
appId?: string;
|
|
5016
5075
|
appName?: string;
|
|
5076
|
+
backendProtocol?: string;
|
|
5017
5077
|
containerPort?: number;
|
|
5018
5078
|
domain?: string;
|
|
5019
5079
|
path?: string;
|
|
@@ -5259,6 +5319,21 @@ export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
5259
5319
|
[key: string]: any;
|
|
5260
5320
|
});
|
|
5261
5321
|
}
|
|
5322
|
+
export declare class ExecJobResponseBodyData extends $tea.Model {
|
|
5323
|
+
code?: string;
|
|
5324
|
+
data?: string;
|
|
5325
|
+
msg?: string;
|
|
5326
|
+
success?: string;
|
|
5327
|
+
static names(): {
|
|
5328
|
+
[key: string]: string;
|
|
5329
|
+
};
|
|
5330
|
+
static types(): {
|
|
5331
|
+
[key: string]: any;
|
|
5332
|
+
};
|
|
5333
|
+
constructor(map?: {
|
|
5334
|
+
[key: string]: any;
|
|
5335
|
+
});
|
|
5336
|
+
}
|
|
5262
5337
|
export declare class ListAppEventsResponseBodyDataAppEventEntity extends $tea.Model {
|
|
5263
5338
|
eventType?: string;
|
|
5264
5339
|
firstTimestamp?: string;
|
|
@@ -6206,6 +6281,10 @@ export default class Client extends OpenApi {
|
|
|
6206
6281
|
enableApplicationScalingRuleWithOptions(request: EnableApplicationScalingRuleRequest, headers: {
|
|
6207
6282
|
[key: string]: string;
|
|
6208
6283
|
}, runtime: $Util.RuntimeOptions): Promise<EnableApplicationScalingRuleResponse>;
|
|
6284
|
+
execJob(request: ExecJobRequest): Promise<ExecJobResponse>;
|
|
6285
|
+
execJobWithOptions(request: ExecJobRequest, headers: {
|
|
6286
|
+
[key: string]: string;
|
|
6287
|
+
}, runtime: $Util.RuntimeOptions): Promise<ExecJobResponse>;
|
|
6209
6288
|
listAppEvents(request: ListAppEventsRequest): Promise<ListAppEventsResponse>;
|
|
6210
6289
|
listAppEventsWithOptions(request: ListAppEventsRequest, headers: {
|
|
6211
6290
|
[key: string]: string;
|
package/dist/client.js
CHANGED
|
@@ -475,6 +475,7 @@ class CreateApplicationRequest extends $tea.Model {
|
|
|
475
475
|
vpcId: 'VpcId',
|
|
476
476
|
warStartOptions: 'WarStartOptions',
|
|
477
477
|
webContainer: 'WebContainer',
|
|
478
|
+
mseFeatureConfig: 'mseFeatureConfig',
|
|
478
479
|
};
|
|
479
480
|
}
|
|
480
481
|
static types() {
|
|
@@ -531,6 +532,7 @@ class CreateApplicationRequest extends $tea.Model {
|
|
|
531
532
|
vpcId: 'string',
|
|
532
533
|
warStartOptions: 'string',
|
|
533
534
|
webContainer: 'string',
|
|
535
|
+
mseFeatureConfig: 'string',
|
|
534
536
|
};
|
|
535
537
|
}
|
|
536
538
|
}
|
|
@@ -1351,6 +1353,7 @@ class DeployApplicationRequest extends $tea.Model {
|
|
|
1351
1353
|
minReadyInstances: 'MinReadyInstances',
|
|
1352
1354
|
mountDesc: 'MountDesc',
|
|
1353
1355
|
mountHost: 'MountHost',
|
|
1356
|
+
mseFeatureConfig: 'MseFeatureConfig',
|
|
1354
1357
|
nasId: 'NasId',
|
|
1355
1358
|
openCollectToKafka: 'OpenCollectToKafka',
|
|
1356
1359
|
ossAkId: 'OssAkId',
|
|
@@ -1403,6 +1406,7 @@ class DeployApplicationRequest extends $tea.Model {
|
|
|
1403
1406
|
minReadyInstances: 'number',
|
|
1404
1407
|
mountDesc: 'string',
|
|
1405
1408
|
mountHost: 'string',
|
|
1409
|
+
mseFeatureConfig: 'string',
|
|
1406
1410
|
nasId: 'string',
|
|
1407
1411
|
openCollectToKafka: 'boolean',
|
|
1408
1412
|
ossAkId: 'string',
|
|
@@ -2263,12 +2267,14 @@ class DescribeConfigurationPriceRequest extends $tea.Model {
|
|
|
2263
2267
|
return {
|
|
2264
2268
|
cpu: 'Cpu',
|
|
2265
2269
|
memory: 'Memory',
|
|
2270
|
+
workload: 'Workload',
|
|
2266
2271
|
};
|
|
2267
2272
|
}
|
|
2268
2273
|
static types() {
|
|
2269
2274
|
return {
|
|
2270
2275
|
cpu: 'number',
|
|
2271
2276
|
memory: 'number',
|
|
2277
|
+
workload: 'string',
|
|
2272
2278
|
};
|
|
2273
2279
|
}
|
|
2274
2280
|
}
|
|
@@ -3087,6 +3093,84 @@ class EnableApplicationScalingRuleResponse extends $tea.Model {
|
|
|
3087
3093
|
}
|
|
3088
3094
|
}
|
|
3089
3095
|
exports.EnableApplicationScalingRuleResponse = EnableApplicationScalingRuleResponse;
|
|
3096
|
+
class ExecJobRequest extends $tea.Model {
|
|
3097
|
+
constructor(map) {
|
|
3098
|
+
super(map);
|
|
3099
|
+
}
|
|
3100
|
+
static names() {
|
|
3101
|
+
return {
|
|
3102
|
+
appId: 'AppId',
|
|
3103
|
+
command: 'Command',
|
|
3104
|
+
commandArgs: 'CommandArgs',
|
|
3105
|
+
envs: 'Envs',
|
|
3106
|
+
eventId: 'EventId',
|
|
3107
|
+
jarStartArgs: 'JarStartArgs',
|
|
3108
|
+
jarStartOptions: 'JarStartOptions',
|
|
3109
|
+
warStartOptions: 'WarStartOptions',
|
|
3110
|
+
};
|
|
3111
|
+
}
|
|
3112
|
+
static types() {
|
|
3113
|
+
return {
|
|
3114
|
+
appId: 'string',
|
|
3115
|
+
command: 'string',
|
|
3116
|
+
commandArgs: 'string',
|
|
3117
|
+
envs: 'string',
|
|
3118
|
+
eventId: 'string',
|
|
3119
|
+
jarStartArgs: 'string',
|
|
3120
|
+
jarStartOptions: 'string',
|
|
3121
|
+
warStartOptions: 'string',
|
|
3122
|
+
};
|
|
3123
|
+
}
|
|
3124
|
+
}
|
|
3125
|
+
exports.ExecJobRequest = ExecJobRequest;
|
|
3126
|
+
class ExecJobResponseBody extends $tea.Model {
|
|
3127
|
+
constructor(map) {
|
|
3128
|
+
super(map);
|
|
3129
|
+
}
|
|
3130
|
+
static names() {
|
|
3131
|
+
return {
|
|
3132
|
+
code: 'Code',
|
|
3133
|
+
data: 'Data',
|
|
3134
|
+
errorCode: 'ErrorCode',
|
|
3135
|
+
message: 'Message',
|
|
3136
|
+
requestId: 'RequestId',
|
|
3137
|
+
success: 'Success',
|
|
3138
|
+
traceId: 'TraceId',
|
|
3139
|
+
};
|
|
3140
|
+
}
|
|
3141
|
+
static types() {
|
|
3142
|
+
return {
|
|
3143
|
+
code: 'string',
|
|
3144
|
+
data: ExecJobResponseBodyData,
|
|
3145
|
+
errorCode: 'string',
|
|
3146
|
+
message: 'string',
|
|
3147
|
+
requestId: 'string',
|
|
3148
|
+
success: 'boolean',
|
|
3149
|
+
traceId: 'string',
|
|
3150
|
+
};
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
exports.ExecJobResponseBody = ExecJobResponseBody;
|
|
3154
|
+
class ExecJobResponse extends $tea.Model {
|
|
3155
|
+
constructor(map) {
|
|
3156
|
+
super(map);
|
|
3157
|
+
}
|
|
3158
|
+
static names() {
|
|
3159
|
+
return {
|
|
3160
|
+
headers: 'headers',
|
|
3161
|
+
statusCode: 'statusCode',
|
|
3162
|
+
body: 'body',
|
|
3163
|
+
};
|
|
3164
|
+
}
|
|
3165
|
+
static types() {
|
|
3166
|
+
return {
|
|
3167
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3168
|
+
statusCode: 'number',
|
|
3169
|
+
body: ExecJobResponseBody,
|
|
3170
|
+
};
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
exports.ExecJobResponse = ExecJobResponse;
|
|
3090
3174
|
class ListAppEventsRequest extends $tea.Model {
|
|
3091
3175
|
constructor(map) {
|
|
3092
3176
|
super(map);
|
|
@@ -6027,6 +6111,7 @@ class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
6027
6111
|
mountDesc: 'MountDesc',
|
|
6028
6112
|
mountHost: 'MountHost',
|
|
6029
6113
|
mseApplicationId: 'MseApplicationId',
|
|
6114
|
+
mseFeatureConfig: 'MseFeatureConfig',
|
|
6030
6115
|
namespaceId: 'NamespaceId',
|
|
6031
6116
|
nasId: 'NasId',
|
|
6032
6117
|
ossAkId: 'OssAkId',
|
|
@@ -6087,6 +6172,7 @@ class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
6087
6172
|
mountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataMountDesc },
|
|
6088
6173
|
mountHost: 'string',
|
|
6089
6174
|
mseApplicationId: 'string',
|
|
6175
|
+
mseFeatureConfig: 'string',
|
|
6090
6176
|
namespaceId: 'string',
|
|
6091
6177
|
nasId: 'string',
|
|
6092
6178
|
ossAkId: 'string',
|
|
@@ -6194,6 +6280,7 @@ class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.Model {
|
|
|
6194
6280
|
static names() {
|
|
6195
6281
|
return {
|
|
6196
6282
|
createTimeStamp: 'CreateTimeStamp',
|
|
6283
|
+
debugStatus: 'DebugStatus',
|
|
6197
6284
|
eip: 'Eip',
|
|
6198
6285
|
finishTimeStamp: 'FinishTimeStamp',
|
|
6199
6286
|
groupId: 'GroupId',
|
|
@@ -6210,6 +6297,7 @@ class DescribeApplicationInstancesResponseBodyDataInstances extends $tea.Model {
|
|
|
6210
6297
|
static types() {
|
|
6211
6298
|
return {
|
|
6212
6299
|
createTimeStamp: 'number',
|
|
6300
|
+
debugStatus: 'boolean',
|
|
6213
6301
|
eip: 'string',
|
|
6214
6302
|
finishTimeStamp: 'number',
|
|
6215
6303
|
groupId: 'string',
|
|
@@ -7213,6 +7301,7 @@ class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
|
7213
7301
|
return {
|
|
7214
7302
|
appId: 'AppId',
|
|
7215
7303
|
appName: 'AppName',
|
|
7304
|
+
backendProtocol: 'BackendProtocol',
|
|
7216
7305
|
containerPort: 'ContainerPort',
|
|
7217
7306
|
};
|
|
7218
7307
|
}
|
|
@@ -7220,6 +7309,7 @@ class DescribeIngressResponseBodyDataDefaultRule extends $tea.Model {
|
|
|
7220
7309
|
return {
|
|
7221
7310
|
appId: 'string',
|
|
7222
7311
|
appName: 'string',
|
|
7312
|
+
backendProtocol: 'string',
|
|
7223
7313
|
containerPort: 'number',
|
|
7224
7314
|
};
|
|
7225
7315
|
}
|
|
@@ -7233,6 +7323,7 @@ class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
|
7233
7323
|
return {
|
|
7234
7324
|
appId: 'AppId',
|
|
7235
7325
|
appName: 'AppName',
|
|
7326
|
+
backendProtocol: 'BackendProtocol',
|
|
7236
7327
|
containerPort: 'ContainerPort',
|
|
7237
7328
|
domain: 'Domain',
|
|
7238
7329
|
path: 'Path',
|
|
@@ -7242,6 +7333,7 @@ class DescribeIngressResponseBodyDataRules extends $tea.Model {
|
|
|
7242
7333
|
return {
|
|
7243
7334
|
appId: 'string',
|
|
7244
7335
|
appName: 'string',
|
|
7336
|
+
backendProtocol: 'string',
|
|
7245
7337
|
containerPort: 'number',
|
|
7246
7338
|
domain: 'string',
|
|
7247
7339
|
path: 'string',
|
|
@@ -7609,6 +7701,28 @@ class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
|
7609
7701
|
}
|
|
7610
7702
|
}
|
|
7611
7703
|
exports.DescribeRegionsResponseBodyRegions = DescribeRegionsResponseBodyRegions;
|
|
7704
|
+
class ExecJobResponseBodyData extends $tea.Model {
|
|
7705
|
+
constructor(map) {
|
|
7706
|
+
super(map);
|
|
7707
|
+
}
|
|
7708
|
+
static names() {
|
|
7709
|
+
return {
|
|
7710
|
+
code: 'Code',
|
|
7711
|
+
data: 'Data',
|
|
7712
|
+
msg: 'Msg',
|
|
7713
|
+
success: 'Success',
|
|
7714
|
+
};
|
|
7715
|
+
}
|
|
7716
|
+
static types() {
|
|
7717
|
+
return {
|
|
7718
|
+
code: 'string',
|
|
7719
|
+
data: 'string',
|
|
7720
|
+
msg: 'string',
|
|
7721
|
+
success: 'string',
|
|
7722
|
+
};
|
|
7723
|
+
}
|
|
7724
|
+
}
|
|
7725
|
+
exports.ExecJobResponseBodyData = ExecJobResponseBodyData;
|
|
7612
7726
|
class ListAppEventsResponseBodyDataAppEventEntity extends $tea.Model {
|
|
7613
7727
|
constructor(map) {
|
|
7614
7728
|
super(map);
|
|
@@ -9077,6 +9191,9 @@ class Client extends openapi_client_1.default {
|
|
|
9077
9191
|
if (!tea_util_1.default.isUnset(request.webContainer)) {
|
|
9078
9192
|
query["WebContainer"] = request.webContainer;
|
|
9079
9193
|
}
|
|
9194
|
+
if (!tea_util_1.default.isUnset(request.mseFeatureConfig)) {
|
|
9195
|
+
query["mseFeatureConfig"] = request.mseFeatureConfig;
|
|
9196
|
+
}
|
|
9080
9197
|
let body = {};
|
|
9081
9198
|
if (!tea_util_1.default.isUnset(request.acrInstanceId)) {
|
|
9082
9199
|
body["AcrInstanceId"] = request.acrInstanceId;
|
|
@@ -9587,6 +9704,9 @@ class Client extends openapi_client_1.default {
|
|
|
9587
9704
|
if (!tea_util_1.default.isUnset(request.mountHost)) {
|
|
9588
9705
|
query["MountHost"] = request.mountHost;
|
|
9589
9706
|
}
|
|
9707
|
+
if (!tea_util_1.default.isUnset(request.mseFeatureConfig)) {
|
|
9708
|
+
query["MseFeatureConfig"] = request.mseFeatureConfig;
|
|
9709
|
+
}
|
|
9590
9710
|
if (!tea_util_1.default.isUnset(request.nasId)) {
|
|
9591
9711
|
query["NasId"] = request.nasId;
|
|
9592
9712
|
}
|
|
@@ -10067,6 +10187,9 @@ class Client extends openapi_client_1.default {
|
|
|
10067
10187
|
if (!tea_util_1.default.isUnset(request.memory)) {
|
|
10068
10188
|
query["Memory"] = request.memory;
|
|
10069
10189
|
}
|
|
10190
|
+
if (!tea_util_1.default.isUnset(request.workload)) {
|
|
10191
|
+
query["Workload"] = request.workload;
|
|
10192
|
+
}
|
|
10070
10193
|
let req = new $OpenApi.OpenApiRequest({
|
|
10071
10194
|
headers: headers,
|
|
10072
10195
|
query: openapi_util_1.default.query(query),
|
|
@@ -10442,6 +10565,55 @@ class Client extends openapi_client_1.default {
|
|
|
10442
10565
|
});
|
|
10443
10566
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableApplicationScalingRuleResponse({}));
|
|
10444
10567
|
}
|
|
10568
|
+
async execJob(request) {
|
|
10569
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10570
|
+
let headers = {};
|
|
10571
|
+
return await this.execJobWithOptions(request, headers, runtime);
|
|
10572
|
+
}
|
|
10573
|
+
async execJobWithOptions(request, headers, runtime) {
|
|
10574
|
+
tea_util_1.default.validateModel(request);
|
|
10575
|
+
let query = {};
|
|
10576
|
+
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
10577
|
+
query["AppId"] = request.appId;
|
|
10578
|
+
}
|
|
10579
|
+
if (!tea_util_1.default.isUnset(request.command)) {
|
|
10580
|
+
query["Command"] = request.command;
|
|
10581
|
+
}
|
|
10582
|
+
if (!tea_util_1.default.isUnset(request.commandArgs)) {
|
|
10583
|
+
query["CommandArgs"] = request.commandArgs;
|
|
10584
|
+
}
|
|
10585
|
+
if (!tea_util_1.default.isUnset(request.envs)) {
|
|
10586
|
+
query["Envs"] = request.envs;
|
|
10587
|
+
}
|
|
10588
|
+
if (!tea_util_1.default.isUnset(request.eventId)) {
|
|
10589
|
+
query["EventId"] = request.eventId;
|
|
10590
|
+
}
|
|
10591
|
+
if (!tea_util_1.default.isUnset(request.jarStartArgs)) {
|
|
10592
|
+
query["JarStartArgs"] = request.jarStartArgs;
|
|
10593
|
+
}
|
|
10594
|
+
if (!tea_util_1.default.isUnset(request.jarStartOptions)) {
|
|
10595
|
+
query["JarStartOptions"] = request.jarStartOptions;
|
|
10596
|
+
}
|
|
10597
|
+
if (!tea_util_1.default.isUnset(request.warStartOptions)) {
|
|
10598
|
+
query["WarStartOptions"] = request.warStartOptions;
|
|
10599
|
+
}
|
|
10600
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10601
|
+
headers: headers,
|
|
10602
|
+
query: openapi_util_1.default.query(query),
|
|
10603
|
+
});
|
|
10604
|
+
let params = new $OpenApi.Params({
|
|
10605
|
+
action: "ExecJob",
|
|
10606
|
+
version: "2019-05-06",
|
|
10607
|
+
protocol: "HTTPS",
|
|
10608
|
+
pathname: `/pop/v1/sam/job/execJob`,
|
|
10609
|
+
method: "GET",
|
|
10610
|
+
authType: "AK",
|
|
10611
|
+
style: "ROA",
|
|
10612
|
+
reqBodyType: "json",
|
|
10613
|
+
bodyType: "json",
|
|
10614
|
+
});
|
|
10615
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ExecJobResponse({}));
|
|
10616
|
+
}
|
|
10445
10617
|
async listAppEvents(request) {
|
|
10446
10618
|
let runtime = new $Util.RuntimeOptions({});
|
|
10447
10619
|
let headers = {};
|