@alicloud/emr-serverless-spark20230808 1.0.1 → 1.2.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 CHANGED
@@ -458,6 +458,194 @@ export declare class ListJobRunsResponse extends $tea.Model {
458
458
  [key: string]: any;
459
459
  });
460
460
  }
461
+ export declare class ListReleaseVersionsRequest extends $tea.Model {
462
+ regionId?: string;
463
+ releaseType?: string;
464
+ releaseVersion?: string;
465
+ releaseVersionStatus?: string;
466
+ static names(): {
467
+ [key: string]: string;
468
+ };
469
+ static types(): {
470
+ [key: string]: any;
471
+ };
472
+ constructor(map?: {
473
+ [key: string]: any;
474
+ });
475
+ }
476
+ export declare class ListReleaseVersionsResponseBody extends $tea.Model {
477
+ maxResults?: number;
478
+ nextToken?: string;
479
+ releaseVersions?: ListReleaseVersionsResponseBodyReleaseVersions[];
480
+ requestId?: string;
481
+ totalCount?: number;
482
+ static names(): {
483
+ [key: string]: string;
484
+ };
485
+ static types(): {
486
+ [key: string]: any;
487
+ };
488
+ constructor(map?: {
489
+ [key: string]: any;
490
+ });
491
+ }
492
+ export declare class ListReleaseVersionsResponse extends $tea.Model {
493
+ headers?: {
494
+ [key: string]: string;
495
+ };
496
+ statusCode?: number;
497
+ body?: ListReleaseVersionsResponseBody;
498
+ static names(): {
499
+ [key: string]: string;
500
+ };
501
+ static types(): {
502
+ [key: string]: any;
503
+ };
504
+ constructor(map?: {
505
+ [key: string]: any;
506
+ });
507
+ }
508
+ export declare class ListSessionClustersRequest extends $tea.Model {
509
+ maxResults?: number;
510
+ nextToken?: string;
511
+ queueName?: string;
512
+ regionId?: string;
513
+ sessionClusterId?: string;
514
+ static names(): {
515
+ [key: string]: string;
516
+ };
517
+ static types(): {
518
+ [key: string]: any;
519
+ };
520
+ constructor(map?: {
521
+ [key: string]: any;
522
+ });
523
+ }
524
+ export declare class ListSessionClustersResponseBody extends $tea.Model {
525
+ maxResults?: number;
526
+ nextToken?: string;
527
+ requestId?: string;
528
+ sessionClusters?: ListSessionClustersResponseBodySessionClusters[];
529
+ totalCount?: number;
530
+ static names(): {
531
+ [key: string]: string;
532
+ };
533
+ static types(): {
534
+ [key: string]: any;
535
+ };
536
+ constructor(map?: {
537
+ [key: string]: any;
538
+ });
539
+ }
540
+ export declare class ListSessionClustersResponse extends $tea.Model {
541
+ headers?: {
542
+ [key: string]: string;
543
+ };
544
+ statusCode?: number;
545
+ body?: ListSessionClustersResponseBody;
546
+ static names(): {
547
+ [key: string]: string;
548
+ };
549
+ static types(): {
550
+ [key: string]: any;
551
+ };
552
+ constructor(map?: {
553
+ [key: string]: any;
554
+ });
555
+ }
556
+ export declare class ListWorkspaceQueuesRequest extends $tea.Model {
557
+ environment?: string;
558
+ regionId?: string;
559
+ static names(): {
560
+ [key: string]: string;
561
+ };
562
+ static types(): {
563
+ [key: string]: any;
564
+ };
565
+ constructor(map?: {
566
+ [key: string]: any;
567
+ });
568
+ }
569
+ export declare class ListWorkspaceQueuesResponseBody extends $tea.Model {
570
+ maxResults?: number;
571
+ nextToken?: string;
572
+ queues?: ListWorkspaceQueuesResponseBodyQueues[];
573
+ requestId?: string;
574
+ totalCount?: number;
575
+ static names(): {
576
+ [key: string]: string;
577
+ };
578
+ static types(): {
579
+ [key: string]: any;
580
+ };
581
+ constructor(map?: {
582
+ [key: string]: any;
583
+ });
584
+ }
585
+ export declare class ListWorkspaceQueuesResponse extends $tea.Model {
586
+ headers?: {
587
+ [key: string]: string;
588
+ };
589
+ statusCode?: number;
590
+ body?: ListWorkspaceQueuesResponseBody;
591
+ static names(): {
592
+ [key: string]: string;
593
+ };
594
+ static types(): {
595
+ [key: string]: any;
596
+ };
597
+ constructor(map?: {
598
+ [key: string]: any;
599
+ });
600
+ }
601
+ export declare class ListWorkspacesRequest extends $tea.Model {
602
+ maxResults?: number;
603
+ name?: string;
604
+ nextToken?: string;
605
+ regionId?: string;
606
+ state?: string;
607
+ static names(): {
608
+ [key: string]: string;
609
+ };
610
+ static types(): {
611
+ [key: string]: any;
612
+ };
613
+ constructor(map?: {
614
+ [key: string]: any;
615
+ });
616
+ }
617
+ export declare class ListWorkspacesResponseBody extends $tea.Model {
618
+ maxResults?: number;
619
+ nextToken?: string;
620
+ requestId?: string;
621
+ totalCount?: number;
622
+ workspaces?: ListWorkspacesResponseBodyWorkspaces[];
623
+ static names(): {
624
+ [key: string]: string;
625
+ };
626
+ static types(): {
627
+ [key: string]: any;
628
+ };
629
+ constructor(map?: {
630
+ [key: string]: any;
631
+ });
632
+ }
633
+ export declare class ListWorkspacesResponse extends $tea.Model {
634
+ headers?: {
635
+ [key: string]: string;
636
+ };
637
+ statusCode?: number;
638
+ body?: ListWorkspacesResponseBody;
639
+ static names(): {
640
+ [key: string]: string;
641
+ };
642
+ static types(): {
643
+ [key: string]: any;
644
+ };
645
+ constructor(map?: {
646
+ [key: string]: any;
647
+ });
648
+ }
461
649
  export declare class StartJobRunRequest extends $tea.Model {
462
650
  clientToken?: string;
463
651
  codeType?: string;
@@ -719,6 +907,182 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
719
907
  [key: string]: any;
720
908
  });
721
909
  }
910
+ export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
911
+ communityVersion?: string;
912
+ cpuArchitectures?: string[];
913
+ gmtCreate?: number;
914
+ iaasType?: string;
915
+ releaseVersion?: string;
916
+ scalaVersion?: string;
917
+ state?: string;
918
+ type?: string;
919
+ static names(): {
920
+ [key: string]: string;
921
+ };
922
+ static types(): {
923
+ [key: string]: any;
924
+ };
925
+ constructor(map?: {
926
+ [key: string]: any;
927
+ });
928
+ }
929
+ export declare class ListSessionClustersResponseBodySessionClustersApplicationConfigs extends $tea.Model {
930
+ configFileName?: string;
931
+ configItemKey?: string;
932
+ configItemValue?: string;
933
+ static names(): {
934
+ [key: string]: string;
935
+ };
936
+ static types(): {
937
+ [key: string]: any;
938
+ };
939
+ constructor(map?: {
940
+ [key: string]: any;
941
+ });
942
+ }
943
+ export declare class ListSessionClustersResponseBodySessionClustersAutoStartConfiguration extends $tea.Model {
944
+ enable?: boolean;
945
+ static names(): {
946
+ [key: string]: string;
947
+ };
948
+ static types(): {
949
+ [key: string]: any;
950
+ };
951
+ constructor(map?: {
952
+ [key: string]: any;
953
+ });
954
+ }
955
+ export declare class ListSessionClustersResponseBodySessionClustersAutoStopConfiguration extends $tea.Model {
956
+ enable?: boolean;
957
+ idleTimeoutMinutes?: number;
958
+ static names(): {
959
+ [key: string]: string;
960
+ };
961
+ static types(): {
962
+ [key: string]: any;
963
+ };
964
+ constructor(map?: {
965
+ [key: string]: any;
966
+ });
967
+ }
968
+ export declare class ListSessionClustersResponseBodySessionClustersStateChangeReason extends $tea.Model {
969
+ code?: string;
970
+ message?: string;
971
+ static names(): {
972
+ [key: string]: string;
973
+ };
974
+ static types(): {
975
+ [key: string]: any;
976
+ };
977
+ constructor(map?: {
978
+ [key: string]: any;
979
+ });
980
+ }
981
+ export declare class ListSessionClustersResponseBodySessionClusters extends $tea.Model {
982
+ applicationConfigs?: ListSessionClustersResponseBodySessionClustersApplicationConfigs[];
983
+ autoStartConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStartConfiguration;
984
+ autoStopConfiguration?: ListSessionClustersResponseBodySessionClustersAutoStopConfiguration;
985
+ name?: string;
986
+ queueName?: string;
987
+ sessionClusterId?: string;
988
+ state?: string;
989
+ stateChangeReason?: ListSessionClustersResponseBodySessionClustersStateChangeReason;
990
+ userId?: string;
991
+ userName?: string;
992
+ workspaceId?: string;
993
+ static names(): {
994
+ [key: string]: string;
995
+ };
996
+ static types(): {
997
+ [key: string]: any;
998
+ };
999
+ constructor(map?: {
1000
+ [key: string]: any;
1001
+ });
1002
+ }
1003
+ export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $tea.Model {
1004
+ actionArn?: string;
1005
+ actionName?: string;
1006
+ dependencies?: string[];
1007
+ description?: string;
1008
+ displayName?: string;
1009
+ static names(): {
1010
+ [key: string]: string;
1011
+ };
1012
+ static types(): {
1013
+ [key: string]: any;
1014
+ };
1015
+ constructor(map?: {
1016
+ [key: string]: any;
1017
+ });
1018
+ }
1019
+ export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
1020
+ allowActions?: ListWorkspaceQueuesResponseBodyQueuesAllowActions[];
1021
+ creator?: string;
1022
+ environments?: string[];
1023
+ maxResource?: string;
1024
+ minResource?: string;
1025
+ properties?: string;
1026
+ queueName?: string;
1027
+ queueScope?: string;
1028
+ queueStatus?: string;
1029
+ queueType?: string;
1030
+ regionId?: string;
1031
+ usedResource?: string;
1032
+ workspaceId?: string;
1033
+ static names(): {
1034
+ [key: string]: string;
1035
+ };
1036
+ static types(): {
1037
+ [key: string]: any;
1038
+ };
1039
+ constructor(map?: {
1040
+ [key: string]: any;
1041
+ });
1042
+ }
1043
+ export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason extends $tea.Model {
1044
+ code?: string;
1045
+ message?: string;
1046
+ static names(): {
1047
+ [key: string]: string;
1048
+ };
1049
+ static types(): {
1050
+ [key: string]: any;
1051
+ };
1052
+ constructor(map?: {
1053
+ [key: string]: any;
1054
+ });
1055
+ }
1056
+ export declare class ListWorkspacesResponseBodyWorkspaces extends $tea.Model {
1057
+ autoRenew?: boolean;
1058
+ autoRenewPeriod?: number;
1059
+ autoRenewPeriodUnit?: string;
1060
+ createTime?: number;
1061
+ dlfCatalogId?: string;
1062
+ duration?: number;
1063
+ endTime?: number;
1064
+ failReason?: string;
1065
+ paymentDurationUnit?: string;
1066
+ paymentStatus?: string;
1067
+ paymentType?: string;
1068
+ regionId?: string;
1069
+ releaseType?: string;
1070
+ resourceSpec?: string;
1071
+ stateChangeReason?: ListWorkspacesResponseBodyWorkspacesStateChangeReason;
1072
+ storage?: string;
1073
+ workspaceId?: string;
1074
+ workspaceName?: string;
1075
+ workspaceStatus?: string;
1076
+ static names(): {
1077
+ [key: string]: string;
1078
+ };
1079
+ static types(): {
1080
+ [key: string]: any;
1081
+ };
1082
+ constructor(map?: {
1083
+ [key: string]: any;
1084
+ });
1085
+ }
722
1086
  export declare class StartJobRunRequestConfigurationOverridesConfigurations extends $tea.Model {
723
1087
  configFileName?: string;
724
1088
  configItemKey?: string;
@@ -804,6 +1168,78 @@ export default class Client extends OpenApi {
804
1168
  * @return ListJobRunsResponse
805
1169
  */
806
1170
  listJobRuns(workspaceId: string, request: ListJobRunsRequest): Promise<ListJobRunsResponse>;
1171
+ /**
1172
+ * @summary 获取发布版本列表
1173
+ *
1174
+ * @param request ListReleaseVersionsRequest
1175
+ * @param headers map
1176
+ * @param runtime runtime options for this request RuntimeOptions
1177
+ * @return ListReleaseVersionsResponse
1178
+ */
1179
+ listReleaseVersionsWithOptions(request: ListReleaseVersionsRequest, headers: {
1180
+ [key: string]: string;
1181
+ }, runtime: $Util.RuntimeOptions): Promise<ListReleaseVersionsResponse>;
1182
+ /**
1183
+ * @summary 获取发布版本列表
1184
+ *
1185
+ * @param request ListReleaseVersionsRequest
1186
+ * @return ListReleaseVersionsResponse
1187
+ */
1188
+ listReleaseVersions(request: ListReleaseVersionsRequest): Promise<ListReleaseVersionsResponse>;
1189
+ /**
1190
+ * @summary 查询run列表
1191
+ *
1192
+ * @param request ListSessionClustersRequest
1193
+ * @param headers map
1194
+ * @param runtime runtime options for this request RuntimeOptions
1195
+ * @return ListSessionClustersResponse
1196
+ */
1197
+ listSessionClustersWithOptions(workspaceId: string, request: ListSessionClustersRequest, headers: {
1198
+ [key: string]: string;
1199
+ }, runtime: $Util.RuntimeOptions): Promise<ListSessionClustersResponse>;
1200
+ /**
1201
+ * @summary 查询run列表
1202
+ *
1203
+ * @param request ListSessionClustersRequest
1204
+ * @return ListSessionClustersResponse
1205
+ */
1206
+ listSessionClusters(workspaceId: string, request: ListSessionClustersRequest): Promise<ListSessionClustersResponse>;
1207
+ /**
1208
+ * @summary 查看工作空间队列列表
1209
+ *
1210
+ * @param request ListWorkspaceQueuesRequest
1211
+ * @param headers map
1212
+ * @param runtime runtime options for this request RuntimeOptions
1213
+ * @return ListWorkspaceQueuesResponse
1214
+ */
1215
+ listWorkspaceQueuesWithOptions(workspaceId: string, request: ListWorkspaceQueuesRequest, headers: {
1216
+ [key: string]: string;
1217
+ }, runtime: $Util.RuntimeOptions): Promise<ListWorkspaceQueuesResponse>;
1218
+ /**
1219
+ * @summary 查看工作空间队列列表
1220
+ *
1221
+ * @param request ListWorkspaceQueuesRequest
1222
+ * @return ListWorkspaceQueuesResponse
1223
+ */
1224
+ listWorkspaceQueues(workspaceId: string, request: ListWorkspaceQueuesRequest): Promise<ListWorkspaceQueuesResponse>;
1225
+ /**
1226
+ * @summary 查看工作空间列表
1227
+ *
1228
+ * @param request ListWorkspacesRequest
1229
+ * @param headers map
1230
+ * @param runtime runtime options for this request RuntimeOptions
1231
+ * @return ListWorkspacesResponse
1232
+ */
1233
+ listWorkspacesWithOptions(request: ListWorkspacesRequest, headers: {
1234
+ [key: string]: string;
1235
+ }, runtime: $Util.RuntimeOptions): Promise<ListWorkspacesResponse>;
1236
+ /**
1237
+ * @summary 查看工作空间列表
1238
+ *
1239
+ * @param request ListWorkspacesRequest
1240
+ * @return ListWorkspacesResponse
1241
+ */
1242
+ listWorkspaces(request: ListWorkspacesRequest): Promise<ListWorkspacesResponse>;
807
1243
  /**
808
1244
  * @summary 启动作业
809
1245
  *