@alicloud/sae20190506 1.21.0 → 1.21.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/sae20190506",
3
- "version": "1.21.0",
3
+ "version": "1.21.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -535,16 +535,12 @@ export class CreateApplicationRequest extends $tea.Model {
535
535
  jarStartOptions?: string;
536
536
  jdk?: string;
537
537
  kafkaConfigs?: string;
538
- kafkaEndpoint?: string;
539
- kafkaInstanceId?: string;
540
- kafkaLogfileConfig?: string;
541
538
  liveness?: string;
542
539
  memory?: number;
543
540
  mountDesc?: string;
544
541
  mountHost?: string;
545
542
  namespaceId?: string;
546
543
  nasId?: string;
547
- openCollectToKafka?: boolean;
548
544
  ossAkId?: string;
549
545
  ossAkSecret?: string;
550
546
  ossMountDescs?: string;
@@ -589,16 +585,12 @@ export class CreateApplicationRequest extends $tea.Model {
589
585
  jarStartOptions: 'JarStartOptions',
590
586
  jdk: 'Jdk',
591
587
  kafkaConfigs: 'KafkaConfigs',
592
- kafkaEndpoint: 'KafkaEndpoint',
593
- kafkaInstanceId: 'KafkaInstanceId',
594
- kafkaLogfileConfig: 'KafkaLogfileConfig',
595
588
  liveness: 'Liveness',
596
589
  memory: 'Memory',
597
590
  mountDesc: 'MountDesc',
598
591
  mountHost: 'MountHost',
599
592
  namespaceId: 'NamespaceId',
600
593
  nasId: 'NasId',
601
- openCollectToKafka: 'OpenCollectToKafka',
602
594
  ossAkId: 'OssAkId',
603
595
  ossAkSecret: 'OssAkSecret',
604
596
  ossMountDescs: 'OssMountDescs',
@@ -646,16 +638,12 @@ export class CreateApplicationRequest extends $tea.Model {
646
638
  jarStartOptions: 'string',
647
639
  jdk: 'string',
648
640
  kafkaConfigs: 'string',
649
- kafkaEndpoint: 'string',
650
- kafkaInstanceId: 'string',
651
- kafkaLogfileConfig: 'string',
652
641
  liveness: 'string',
653
642
  memory: 'number',
654
643
  mountDesc: 'string',
655
644
  mountHost: 'string',
656
645
  namespaceId: 'string',
657
646
  nasId: 'string',
658
- openCollectToKafka: 'boolean',
659
647
  ossAkId: 'string',
660
648
  ossAkSecret: 'string',
661
649
  ossMountDescs: 'string',
@@ -1706,16 +1694,12 @@ export class DeployApplicationRequest extends $tea.Model {
1706
1694
  jarStartOptions?: string;
1707
1695
  jdk?: string;
1708
1696
  kafkaConfigs?: string;
1709
- kafkaEndpoint?: string;
1710
- kafkaInstanceId?: string;
1711
- kafkaLogfileConfig?: string;
1712
1697
  liveness?: string;
1713
1698
  minReadyInstanceRatio?: number;
1714
1699
  minReadyInstances?: number;
1715
1700
  mountDesc?: string;
1716
1701
  mountHost?: string;
1717
1702
  nasId?: string;
1718
- openCollectToKafka?: boolean;
1719
1703
  ossAkId?: string;
1720
1704
  ossAkSecret?: string;
1721
1705
  ossMountDescs?: string;
@@ -1756,16 +1740,12 @@ export class DeployApplicationRequest extends $tea.Model {
1756
1740
  jarStartOptions: 'JarStartOptions',
1757
1741
  jdk: 'Jdk',
1758
1742
  kafkaConfigs: 'KafkaConfigs',
1759
- kafkaEndpoint: 'KafkaEndpoint',
1760
- kafkaInstanceId: 'KafkaInstanceId',
1761
- kafkaLogfileConfig: 'KafkaLogfileConfig',
1762
1743
  liveness: 'Liveness',
1763
1744
  minReadyInstanceRatio: 'MinReadyInstanceRatio',
1764
1745
  minReadyInstances: 'MinReadyInstances',
1765
1746
  mountDesc: 'MountDesc',
1766
1747
  mountHost: 'MountHost',
1767
1748
  nasId: 'NasId',
1768
- openCollectToKafka: 'OpenCollectToKafka',
1769
1749
  ossAkId: 'OssAkId',
1770
1750
  ossAkSecret: 'OssAkSecret',
1771
1751
  ossMountDescs: 'OssMountDescs',
@@ -1809,16 +1789,12 @@ export class DeployApplicationRequest extends $tea.Model {
1809
1789
  jarStartOptions: 'string',
1810
1790
  jdk: 'string',
1811
1791
  kafkaConfigs: 'string',
1812
- kafkaEndpoint: 'string',
1813
- kafkaInstanceId: 'string',
1814
- kafkaLogfileConfig: 'string',
1815
1792
  liveness: 'string',
1816
1793
  minReadyInstanceRatio: 'number',
1817
1794
  minReadyInstances: 'number',
1818
1795
  mountDesc: 'string',
1819
1796
  mountHost: 'string',
1820
1797
  nasId: 'string',
1821
- openCollectToKafka: 'boolean',
1822
1798
  ossAkId: 'string',
1823
1799
  ossAkSecret: 'string',
1824
1800
  ossMountDescs: 'string',
@@ -3351,6 +3327,90 @@ export class DescribeInstanceSpecificationsResponse extends $tea.Model {
3351
3327
  }
3352
3328
  }
3353
3329
 
3330
+ export class DescribeJobStatusRequest extends $tea.Model {
3331
+ appId?: string;
3332
+ jobId?: string;
3333
+ static names(): { [key: string]: string } {
3334
+ return {
3335
+ appId: 'AppId',
3336
+ jobId: 'JobId',
3337
+ };
3338
+ }
3339
+
3340
+ static types(): { [key: string]: any } {
3341
+ return {
3342
+ appId: 'string',
3343
+ jobId: 'string',
3344
+ };
3345
+ }
3346
+
3347
+ constructor(map?: { [key: string]: any }) {
3348
+ super(map);
3349
+ }
3350
+ }
3351
+
3352
+ export class DescribeJobStatusResponseBody extends $tea.Model {
3353
+ code?: string;
3354
+ data?: DescribeJobStatusResponseBodyData;
3355
+ errorCode?: string;
3356
+ message?: string;
3357
+ requestId?: string;
3358
+ success?: boolean;
3359
+ traceId?: string;
3360
+ static names(): { [key: string]: string } {
3361
+ return {
3362
+ code: 'Code',
3363
+ data: 'Data',
3364
+ errorCode: 'ErrorCode',
3365
+ message: 'Message',
3366
+ requestId: 'RequestId',
3367
+ success: 'Success',
3368
+ traceId: 'TraceId',
3369
+ };
3370
+ }
3371
+
3372
+ static types(): { [key: string]: any } {
3373
+ return {
3374
+ code: 'string',
3375
+ data: DescribeJobStatusResponseBodyData,
3376
+ errorCode: 'string',
3377
+ message: 'string',
3378
+ requestId: 'string',
3379
+ success: 'boolean',
3380
+ traceId: 'string',
3381
+ };
3382
+ }
3383
+
3384
+ constructor(map?: { [key: string]: any }) {
3385
+ super(map);
3386
+ }
3387
+ }
3388
+
3389
+ export class DescribeJobStatusResponse extends $tea.Model {
3390
+ headers: { [key: string]: string };
3391
+ statusCode: number;
3392
+ body: DescribeJobStatusResponseBody;
3393
+ static names(): { [key: string]: string } {
3394
+ return {
3395
+ headers: 'headers',
3396
+ statusCode: 'statusCode',
3397
+ body: 'body',
3398
+ };
3399
+ }
3400
+
3401
+ static types(): { [key: string]: any } {
3402
+ return {
3403
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3404
+ statusCode: 'number',
3405
+ body: DescribeJobStatusResponseBody,
3406
+ };
3407
+ }
3408
+
3409
+ constructor(map?: { [key: string]: any }) {
3410
+ super(map);
3411
+ }
3412
+ }
3413
+
3354
3414
  export class DescribeNamespaceRequest extends $tea.Model {
3355
3415
  namespaceId?: string;
3356
3416
  static names(): { [key: string]: string } {
@@ -3995,7 +4055,7 @@ export class ExecJobRequest extends $tea.Model {
3995
4055
 
3996
4056
  export class ExecJobResponseBody extends $tea.Model {
3997
4057
  code?: string;
3998
- data?: string;
4058
+ data?: ExecJobResponseBodyData;
3999
4059
  errorCode?: string;
4000
4060
  message?: string;
4001
4061
  requestId?: string;
@@ -4016,7 +4076,7 @@ export class ExecJobResponseBody extends $tea.Model {
4016
4076
  static types(): { [key: string]: any } {
4017
4077
  return {
4018
4078
  code: 'string',
4019
- data: 'string',
4079
+ data: ExecJobResponseBodyData,
4020
4080
  errorCode: 'string',
4021
4081
  message: 'string',
4022
4082
  requestId: 'string',
@@ -7783,6 +7843,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
7783
7843
  mountDesc?: DescribeApplicationConfigResponseBodyDataMountDesc[];
7784
7844
  mountHost?: string;
7785
7845
  mseApplicationId?: string;
7846
+ mseFeatureConfig?: string;
7786
7847
  namespaceId?: string;
7787
7848
  nasId?: string;
7788
7849
  ossAkId?: string;
@@ -7841,6 +7902,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
7841
7902
  mountDesc: 'MountDesc',
7842
7903
  mountHost: 'MountHost',
7843
7904
  mseApplicationId: 'MseApplicationId',
7905
+ mseFeatureConfig: 'MseFeatureConfig',
7844
7906
  namespaceId: 'NamespaceId',
7845
7907
  nasId: 'NasId',
7846
7908
  ossAkId: 'OssAkId',
@@ -7902,6 +7964,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
7902
7964
  mountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataMountDesc },
7903
7965
  mountHost: 'string',
7904
7966
  mseApplicationId: 'string',
7967
+ mseFeatureConfig: 'string',
7905
7968
  namespaceId: 'string',
7906
7969
  nasId: 'string',
7907
7970
  ossAkId: 'string',
@@ -9498,6 +9561,46 @@ export class DescribeInstanceSpecificationsResponseBodyData extends $tea.Model {
9498
9561
  }
9499
9562
  }
9500
9563
 
9564
+ export class DescribeJobStatusResponseBodyData extends $tea.Model {
9565
+ active?: number;
9566
+ completionTime?: number;
9567
+ failed?: number;
9568
+ jobId?: string;
9569
+ message?: string;
9570
+ startTime?: number;
9571
+ state?: string;
9572
+ succeeded?: number;
9573
+ static names(): { [key: string]: string } {
9574
+ return {
9575
+ active: 'Active',
9576
+ completionTime: 'CompletionTime',
9577
+ failed: 'Failed',
9578
+ jobId: 'JobId',
9579
+ message: 'Message',
9580
+ startTime: 'StartTime',
9581
+ state: 'State',
9582
+ succeeded: 'Succeeded',
9583
+ };
9584
+ }
9585
+
9586
+ static types(): { [key: string]: any } {
9587
+ return {
9588
+ active: 'number',
9589
+ completionTime: 'number',
9590
+ failed: 'number',
9591
+ jobId: 'string',
9592
+ message: 'string',
9593
+ startTime: 'number',
9594
+ state: 'string',
9595
+ succeeded: 'number',
9596
+ };
9597
+ }
9598
+
9599
+ constructor(map?: { [key: string]: any }) {
9600
+ super(map);
9601
+ }
9602
+ }
9603
+
9501
9604
  export class DescribeNamespaceResponseBodyData extends $tea.Model {
9502
9605
  namespaceDescription?: string;
9503
9606
  namespaceId?: string;
@@ -9887,6 +9990,34 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
9887
9990
  }
9888
9991
  }
9889
9992
 
9993
+ export class ExecJobResponseBodyData extends $tea.Model {
9994
+ code?: string;
9995
+ data?: string;
9996
+ msg?: string;
9997
+ success?: string;
9998
+ static names(): { [key: string]: string } {
9999
+ return {
10000
+ code: 'Code',
10001
+ data: 'Data',
10002
+ msg: 'Msg',
10003
+ success: 'Success',
10004
+ };
10005
+ }
10006
+
10007
+ static types(): { [key: string]: any } {
10008
+ return {
10009
+ code: 'string',
10010
+ data: 'string',
10011
+ msg: 'string',
10012
+ success: 'string',
10013
+ };
10014
+ }
10015
+
10016
+ constructor(map?: { [key: string]: any }) {
10017
+ super(map);
10018
+ }
10019
+ }
10020
+
9890
10021
  export class ListAppEventsResponseBodyDataAppEventEntity extends $tea.Model {
9891
10022
  eventType?: string;
9892
10023
  firstTimestamp?: string;
@@ -11627,18 +11758,6 @@ export default class Client extends OpenApi {
11627
11758
  query["KafkaConfigs"] = request.kafkaConfigs;
11628
11759
  }
11629
11760
 
11630
- if (!Util.isUnset(request.kafkaEndpoint)) {
11631
- query["KafkaEndpoint"] = request.kafkaEndpoint;
11632
- }
11633
-
11634
- if (!Util.isUnset(request.kafkaInstanceId)) {
11635
- query["KafkaInstanceId"] = request.kafkaInstanceId;
11636
- }
11637
-
11638
- if (!Util.isUnset(request.kafkaLogfileConfig)) {
11639
- query["KafkaLogfileConfig"] = request.kafkaLogfileConfig;
11640
- }
11641
-
11642
11761
  if (!Util.isUnset(request.liveness)) {
11643
11762
  query["Liveness"] = request.liveness;
11644
11763
  }
@@ -11663,10 +11782,6 @@ export default class Client extends OpenApi {
11663
11782
  query["NasId"] = request.nasId;
11664
11783
  }
11665
11784
 
11666
- if (!Util.isUnset(request.openCollectToKafka)) {
11667
- query["OpenCollectToKafka"] = request.openCollectToKafka;
11668
- }
11669
-
11670
11785
  if (!Util.isUnset(request.packageType)) {
11671
11786
  query["PackageType"] = request.packageType;
11672
11787
  }
@@ -12313,18 +12428,6 @@ export default class Client extends OpenApi {
12313
12428
  query["KafkaConfigs"] = request.kafkaConfigs;
12314
12429
  }
12315
12430
 
12316
- if (!Util.isUnset(request.kafkaEndpoint)) {
12317
- query["KafkaEndpoint"] = request.kafkaEndpoint;
12318
- }
12319
-
12320
- if (!Util.isUnset(request.kafkaInstanceId)) {
12321
- query["KafkaInstanceId"] = request.kafkaInstanceId;
12322
- }
12323
-
12324
- if (!Util.isUnset(request.kafkaLogfileConfig)) {
12325
- query["KafkaLogfileConfig"] = request.kafkaLogfileConfig;
12326
- }
12327
-
12328
12431
  if (!Util.isUnset(request.liveness)) {
12329
12432
  query["Liveness"] = request.liveness;
12330
12433
  }
@@ -12349,10 +12452,6 @@ export default class Client extends OpenApi {
12349
12452
  query["NasId"] = request.nasId;
12350
12453
  }
12351
12454
 
12352
- if (!Util.isUnset(request.openCollectToKafka)) {
12353
- query["OpenCollectToKafka"] = request.openCollectToKafka;
12354
- }
12355
-
12356
12455
  if (!Util.isUnset(request.packageUrl)) {
12357
12456
  query["PackageUrl"] = request.packageUrl;
12358
12457
  }
@@ -13065,6 +13164,41 @@ export default class Client extends OpenApi {
13065
13164
  return $tea.cast<DescribeInstanceSpecificationsResponse>(await this.callApi(params, req, runtime), new DescribeInstanceSpecificationsResponse({}));
13066
13165
  }
13067
13166
 
13167
+ async describeJobStatus(request: DescribeJobStatusRequest): Promise<DescribeJobStatusResponse> {
13168
+ let runtime = new $Util.RuntimeOptions({ });
13169
+ let headers : {[key: string ]: string} = { };
13170
+ return await this.describeJobStatusWithOptions(request, headers, runtime);
13171
+ }
13172
+
13173
+ async describeJobStatusWithOptions(request: DescribeJobStatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeJobStatusResponse> {
13174
+ Util.validateModel(request);
13175
+ let query : {[key: string ]: any} = { };
13176
+ if (!Util.isUnset(request.appId)) {
13177
+ query["AppId"] = request.appId;
13178
+ }
13179
+
13180
+ if (!Util.isUnset(request.jobId)) {
13181
+ query["JobId"] = request.jobId;
13182
+ }
13183
+
13184
+ let req = new $OpenApi.OpenApiRequest({
13185
+ headers: headers,
13186
+ query: OpenApiUtil.query(query),
13187
+ });
13188
+ let params = new $OpenApi.Params({
13189
+ action: "DescribeJobStatus",
13190
+ version: "2019-05-06",
13191
+ protocol: "HTTPS",
13192
+ pathname: `/pop/v1/sam/job/describeJobStatus`,
13193
+ method: "GET",
13194
+ authType: "AK",
13195
+ style: "ROA",
13196
+ reqBodyType: "json",
13197
+ bodyType: "json",
13198
+ });
13199
+ return $tea.cast<DescribeJobStatusResponse>(await this.callApi(params, req, runtime), new DescribeJobStatusResponse({}));
13200
+ }
13201
+
13068
13202
  async describeNamespace(request: DescribeNamespaceRequest): Promise<DescribeNamespaceResponse> {
13069
13203
  let runtime = new $Util.RuntimeOptions({ });
13070
13204
  let headers : {[key: string ]: string} = { };