@alicloud/emr-serverless-spark20230808 1.0.0 → 1.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 CHANGED
@@ -56,6 +56,18 @@ export declare class Configuration extends $tea.Model {
56
56
  [key: string]: any;
57
57
  });
58
58
  }
59
+ export declare class ConfigurationOverrides extends $tea.Model {
60
+ configurations?: ConfigurationOverridesConfigurations[];
61
+ static names(): {
62
+ [key: string]: string;
63
+ };
64
+ static types(): {
65
+ [key: string]: any;
66
+ };
67
+ constructor(map?: {
68
+ [key: string]: any;
69
+ });
70
+ }
59
71
  export declare class Credential extends $tea.Model {
60
72
  accessId?: string;
61
73
  dir?: string;
@@ -114,8 +126,10 @@ export declare class ReleaseVersionImage extends $tea.Model {
114
126
  });
115
127
  }
116
128
  export declare class RunLog extends $tea.Model {
129
+ driverStartup?: string;
117
130
  driverStdError?: string;
118
131
  driverStdOut?: string;
132
+ driverSyslog?: string;
119
133
  static names(): {
120
134
  [key: string]: string;
121
135
  };
@@ -166,6 +180,7 @@ export declare class Tag extends $tea.Model {
166
180
  });
167
181
  }
168
182
  export declare class Task extends $tea.Model {
183
+ archives?: string[];
169
184
  artifactUrl?: string;
170
185
  bizId?: string;
171
186
  categoryBizId?: string;
@@ -176,10 +191,13 @@ export declare class Task extends $tea.Model {
176
191
  defaultResourceQueueId?: string;
177
192
  defaultSqlComputeId?: string;
178
193
  extraArtifactIds?: string[];
194
+ extraSparkSubmitParams?: string;
195
+ files?: string[];
179
196
  gmtCreated?: string;
180
197
  gmtModified?: string;
181
198
  hasChanged?: boolean;
182
199
  hasCommited?: boolean;
200
+ jars?: string[];
183
201
  lastRunResourceQueueId?: string;
184
202
  modifier?: number;
185
203
  name?: string;
@@ -440,6 +458,146 @@ export declare class ListJobRunsResponse extends $tea.Model {
440
458
  [key: string]: any;
441
459
  });
442
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 ListWorkspaceQueuesRequest extends $tea.Model {
509
+ environment?: string;
510
+ regionId?: string;
511
+ static names(): {
512
+ [key: string]: string;
513
+ };
514
+ static types(): {
515
+ [key: string]: any;
516
+ };
517
+ constructor(map?: {
518
+ [key: string]: any;
519
+ });
520
+ }
521
+ export declare class ListWorkspaceQueuesResponseBody extends $tea.Model {
522
+ maxResults?: number;
523
+ nextToken?: string;
524
+ queues?: ListWorkspaceQueuesResponseBodyQueues[];
525
+ requestId?: string;
526
+ totalCount?: number;
527
+ static names(): {
528
+ [key: string]: string;
529
+ };
530
+ static types(): {
531
+ [key: string]: any;
532
+ };
533
+ constructor(map?: {
534
+ [key: string]: any;
535
+ });
536
+ }
537
+ export declare class ListWorkspaceQueuesResponse extends $tea.Model {
538
+ headers?: {
539
+ [key: string]: string;
540
+ };
541
+ statusCode?: number;
542
+ body?: ListWorkspaceQueuesResponseBody;
543
+ static names(): {
544
+ [key: string]: string;
545
+ };
546
+ static types(): {
547
+ [key: string]: any;
548
+ };
549
+ constructor(map?: {
550
+ [key: string]: any;
551
+ });
552
+ }
553
+ export declare class ListWorkspacesRequest extends $tea.Model {
554
+ maxResults?: number;
555
+ name?: string;
556
+ nextToken?: string;
557
+ regionId?: string;
558
+ state?: 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 ListWorkspacesResponseBody extends $tea.Model {
570
+ maxResults?: number;
571
+ nextToken?: string;
572
+ requestId?: string;
573
+ totalCount?: number;
574
+ workspaces?: ListWorkspacesResponseBodyWorkspaces[];
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 ListWorkspacesResponse extends $tea.Model {
586
+ headers?: {
587
+ [key: string]: string;
588
+ };
589
+ statusCode?: number;
590
+ body?: ListWorkspacesResponseBody;
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
+ }
443
601
  export declare class StartJobRunRequest extends $tea.Model {
444
602
  clientToken?: string;
445
603
  codeType?: string;
@@ -491,6 +649,20 @@ export declare class StartJobRunResponse extends $tea.Model {
491
649
  [key: string]: any;
492
650
  });
493
651
  }
652
+ export declare class ConfigurationOverridesConfigurations extends $tea.Model {
653
+ configFileName?: string;
654
+ configItemKey?: string;
655
+ configItemValue?: string;
656
+ static names(): {
657
+ [key: string]: string;
658
+ };
659
+ static types(): {
660
+ [key: string]: any;
661
+ };
662
+ constructor(map?: {
663
+ [key: string]: any;
664
+ });
665
+ }
494
666
  export declare class JobDriverSparkSubmit extends $tea.Model {
495
667
  entryPoint?: string;
496
668
  entryPointArguments?: string[];
@@ -687,6 +859,108 @@ export declare class ListJobRunsResponseBodyJobRuns extends $tea.Model {
687
859
  [key: string]: any;
688
860
  });
689
861
  }
862
+ export declare class ListReleaseVersionsResponseBodyReleaseVersions extends $tea.Model {
863
+ communityVersion?: string;
864
+ cpuArchitectures?: string[];
865
+ gmtCreate?: number;
866
+ iaasType?: string;
867
+ releaseVersion?: string;
868
+ scalaVersion?: string;
869
+ state?: string;
870
+ type?: string;
871
+ static names(): {
872
+ [key: string]: string;
873
+ };
874
+ static types(): {
875
+ [key: string]: any;
876
+ };
877
+ constructor(map?: {
878
+ [key: string]: any;
879
+ });
880
+ }
881
+ export declare class ListWorkspaceQueuesResponseBodyQueuesAllowActions extends $tea.Model {
882
+ actionArn?: string;
883
+ actionName?: string;
884
+ dependencies?: string[];
885
+ description?: string;
886
+ displayName?: string;
887
+ static names(): {
888
+ [key: string]: string;
889
+ };
890
+ static types(): {
891
+ [key: string]: any;
892
+ };
893
+ constructor(map?: {
894
+ [key: string]: any;
895
+ });
896
+ }
897
+ export declare class ListWorkspaceQueuesResponseBodyQueues extends $tea.Model {
898
+ allowActions?: ListWorkspaceQueuesResponseBodyQueuesAllowActions[];
899
+ creator?: string;
900
+ environments?: string[];
901
+ maxResource?: string;
902
+ minResource?: string;
903
+ properties?: string;
904
+ queueName?: string;
905
+ queueScope?: string;
906
+ queueStatus?: string;
907
+ queueType?: string;
908
+ regionId?: string;
909
+ usedResource?: string;
910
+ workspaceId?: string;
911
+ static names(): {
912
+ [key: string]: string;
913
+ };
914
+ static types(): {
915
+ [key: string]: any;
916
+ };
917
+ constructor(map?: {
918
+ [key: string]: any;
919
+ });
920
+ }
921
+ export declare class ListWorkspacesResponseBodyWorkspacesStateChangeReason extends $tea.Model {
922
+ code?: string;
923
+ message?: string;
924
+ static names(): {
925
+ [key: string]: string;
926
+ };
927
+ static types(): {
928
+ [key: string]: any;
929
+ };
930
+ constructor(map?: {
931
+ [key: string]: any;
932
+ });
933
+ }
934
+ export declare class ListWorkspacesResponseBodyWorkspaces extends $tea.Model {
935
+ autoRenew?: boolean;
936
+ autoRenewPeriod?: number;
937
+ autoRenewPeriodUnit?: string;
938
+ createTime?: number;
939
+ dlfCatalogId?: string;
940
+ duration?: number;
941
+ endTime?: number;
942
+ failReason?: string;
943
+ paymentDurationUnit?: string;
944
+ paymentStatus?: string;
945
+ paymentType?: string;
946
+ regionId?: string;
947
+ releaseType?: string;
948
+ resourceSpec?: string;
949
+ stateChangeReason?: ListWorkspacesResponseBodyWorkspacesStateChangeReason;
950
+ storage?: string;
951
+ workspaceId?: string;
952
+ workspaceName?: string;
953
+ workspaceStatus?: string;
954
+ static names(): {
955
+ [key: string]: string;
956
+ };
957
+ static types(): {
958
+ [key: string]: any;
959
+ };
960
+ constructor(map?: {
961
+ [key: string]: any;
962
+ });
963
+ }
690
964
  export declare class StartJobRunRequestConfigurationOverridesConfigurations extends $tea.Model {
691
965
  configFileName?: string;
692
966
  configItemKey?: string;
@@ -718,20 +992,130 @@ export default class Client extends OpenApi {
718
992
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
719
993
  [key: string]: string;
720
994
  }, endpoint: string): string;
995
+ /**
996
+ * @summary 取消jobRun作业
997
+ *
998
+ * @param request CancelJobRunRequest
999
+ * @param headers map
1000
+ * @param runtime runtime options for this request RuntimeOptions
1001
+ * @return CancelJobRunResponse
1002
+ */
721
1003
  cancelJobRunWithOptions(workspaceId: string, jobRunId: string, request: CancelJobRunRequest, headers: {
722
1004
  [key: string]: string;
723
1005
  }, runtime: $Util.RuntimeOptions): Promise<CancelJobRunResponse>;
1006
+ /**
1007
+ * @summary 取消jobRun作业
1008
+ *
1009
+ * @param request CancelJobRunRequest
1010
+ * @return CancelJobRunResponse
1011
+ */
724
1012
  cancelJobRun(workspaceId: string, jobRunId: string, request: CancelJobRunRequest): Promise<CancelJobRunResponse>;
1013
+ /**
1014
+ * @summary 获取任务
1015
+ *
1016
+ * @param request GetJobRunRequest
1017
+ * @param headers map
1018
+ * @param runtime runtime options for this request RuntimeOptions
1019
+ * @return GetJobRunResponse
1020
+ */
725
1021
  getJobRunWithOptions(workspaceId: string, jobRunId: string, request: GetJobRunRequest, headers: {
726
1022
  [key: string]: string;
727
1023
  }, runtime: $Util.RuntimeOptions): Promise<GetJobRunResponse>;
1024
+ /**
1025
+ * @summary 获取任务
1026
+ *
1027
+ * @param request GetJobRunRequest
1028
+ * @return GetJobRunResponse
1029
+ */
728
1030
  getJobRun(workspaceId: string, jobRunId: string, request: GetJobRunRequest): Promise<GetJobRunResponse>;
1031
+ /**
1032
+ * @summary 查询run列表
1033
+ *
1034
+ * @param tmpReq ListJobRunsRequest
1035
+ * @param headers map
1036
+ * @param runtime runtime options for this request RuntimeOptions
1037
+ * @return ListJobRunsResponse
1038
+ */
729
1039
  listJobRunsWithOptions(workspaceId: string, tmpReq: ListJobRunsRequest, headers: {
730
1040
  [key: string]: string;
731
1041
  }, runtime: $Util.RuntimeOptions): Promise<ListJobRunsResponse>;
1042
+ /**
1043
+ * @summary 查询run列表
1044
+ *
1045
+ * @param request ListJobRunsRequest
1046
+ * @return ListJobRunsResponse
1047
+ */
732
1048
  listJobRuns(workspaceId: string, request: ListJobRunsRequest): Promise<ListJobRunsResponse>;
1049
+ /**
1050
+ * @summary 获取发布版本列表
1051
+ *
1052
+ * @param request ListReleaseVersionsRequest
1053
+ * @param headers map
1054
+ * @param runtime runtime options for this request RuntimeOptions
1055
+ * @return ListReleaseVersionsResponse
1056
+ */
1057
+ listReleaseVersionsWithOptions(request: ListReleaseVersionsRequest, headers: {
1058
+ [key: string]: string;
1059
+ }, runtime: $Util.RuntimeOptions): Promise<ListReleaseVersionsResponse>;
1060
+ /**
1061
+ * @summary 获取发布版本列表
1062
+ *
1063
+ * @param request ListReleaseVersionsRequest
1064
+ * @return ListReleaseVersionsResponse
1065
+ */
1066
+ listReleaseVersions(request: ListReleaseVersionsRequest): Promise<ListReleaseVersionsResponse>;
1067
+ /**
1068
+ * @summary 查看工作空间队列列表
1069
+ *
1070
+ * @param request ListWorkspaceQueuesRequest
1071
+ * @param headers map
1072
+ * @param runtime runtime options for this request RuntimeOptions
1073
+ * @return ListWorkspaceQueuesResponse
1074
+ */
1075
+ listWorkspaceQueuesWithOptions(workspaceId: string, request: ListWorkspaceQueuesRequest, headers: {
1076
+ [key: string]: string;
1077
+ }, runtime: $Util.RuntimeOptions): Promise<ListWorkspaceQueuesResponse>;
1078
+ /**
1079
+ * @summary 查看工作空间队列列表
1080
+ *
1081
+ * @param request ListWorkspaceQueuesRequest
1082
+ * @return ListWorkspaceQueuesResponse
1083
+ */
1084
+ listWorkspaceQueues(workspaceId: string, request: ListWorkspaceQueuesRequest): Promise<ListWorkspaceQueuesResponse>;
1085
+ /**
1086
+ * @summary 查看工作空间列表
1087
+ *
1088
+ * @param request ListWorkspacesRequest
1089
+ * @param headers map
1090
+ * @param runtime runtime options for this request RuntimeOptions
1091
+ * @return ListWorkspacesResponse
1092
+ */
1093
+ listWorkspacesWithOptions(request: ListWorkspacesRequest, headers: {
1094
+ [key: string]: string;
1095
+ }, runtime: $Util.RuntimeOptions): Promise<ListWorkspacesResponse>;
1096
+ /**
1097
+ * @summary 查看工作空间列表
1098
+ *
1099
+ * @param request ListWorkspacesRequest
1100
+ * @return ListWorkspacesResponse
1101
+ */
1102
+ listWorkspaces(request: ListWorkspacesRequest): Promise<ListWorkspacesResponse>;
1103
+ /**
1104
+ * @summary 启动作业
1105
+ *
1106
+ * @param request StartJobRunRequest
1107
+ * @param headers map
1108
+ * @param runtime runtime options for this request RuntimeOptions
1109
+ * @return StartJobRunResponse
1110
+ */
733
1111
  startJobRunWithOptions(workspaceId: string, request: StartJobRunRequest, headers: {
734
1112
  [key: string]: string;
735
1113
  }, runtime: $Util.RuntimeOptions): Promise<StartJobRunResponse>;
1114
+ /**
1115
+ * @summary 启动作业
1116
+ *
1117
+ * @param request StartJobRunRequest
1118
+ * @return StartJobRunResponse
1119
+ */
736
1120
  startJobRun(workspaceId: string, request: StartJobRunRequest): Promise<StartJobRunResponse>;
737
1121
  }