@aws-sdk/client-emr-serverless 3.582.0 → 3.587.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.
Files changed (33) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +114 -5
  3. package/dist-es/EMRServerless.js +2 -0
  4. package/dist-es/commands/ListJobRunAttemptsCommand.js +24 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +4 -0
  7. package/dist-es/pagination/ListJobRunAttemptsPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/protocols/Aws_restJson1.js +84 -5
  10. package/dist-types/EMRServerless.d.ts +7 -0
  11. package/dist-types/EMRServerlessClient.d.ts +3 -2
  12. package/dist-types/commands/CreateApplicationCommand.d.ts +4 -0
  13. package/dist-types/commands/GetApplicationCommand.d.ts +4 -0
  14. package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +1 -0
  15. package/dist-types/commands/GetJobRunCommand.d.ts +9 -0
  16. package/dist-types/commands/ListJobRunAttemptsCommand.d.ts +91 -0
  17. package/dist-types/commands/ListJobRunsCommand.d.ts +5 -0
  18. package/dist-types/commands/StartJobRunCommand.d.ts +5 -0
  19. package/dist-types/commands/UpdateApplicationCommand.d.ts +8 -0
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/models/models_0.d.ts +255 -0
  22. package/dist-types/pagination/ListJobRunAttemptsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  25. package/dist-types/ts3.4/EMRServerless.d.ts +17 -0
  26. package/dist-types/ts3.4/EMRServerlessClient.d.ts +6 -0
  27. package/dist-types/ts3.4/commands/ListJobRunAttemptsCommand.d.ts +39 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +57 -0
  30. package/dist-types/ts3.4/pagination/ListJobRunAttemptsPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  33. package/package.json +18 -18
@@ -44,6 +44,7 @@ declare const GetDashboardForJobRunCommand_base: {
44
44
  * const input = { // GetDashboardForJobRunRequest
45
45
  * applicationId: "STRING_VALUE", // required
46
46
  * jobRunId: "STRING_VALUE", // required
47
+ * attempt: Number("int"),
47
48
  * };
48
49
  * const command = new GetDashboardForJobRunCommand(input);
49
50
  * const response = await client.send(command);
@@ -36,6 +36,7 @@ declare const GetJobRunCommand_base: {
36
36
  * const input = { // GetJobRunRequest
37
37
  * applicationId: "STRING_VALUE", // required
38
38
  * jobRunId: "STRING_VALUE", // required
39
+ * attempt: Number("int"),
39
40
  * };
40
41
  * const command = new GetJobRunCommand(input);
41
42
  * const response = await client.send(command);
@@ -132,6 +133,14 @@ declare const GetJobRunCommand_base: {
132
133
  * // memoryGBHour: Number("double"),
133
134
  * // storageGBHour: Number("double"),
134
135
  * // },
136
+ * // mode: "STRING_VALUE",
137
+ * // retryPolicy: { // RetryPolicy
138
+ * // maxAttempts: Number("int"),
139
+ * // maxFailedAttemptsPerHour: Number("int"),
140
+ * // },
141
+ * // attempt: Number("int"),
142
+ * // attemptCreatedAt: new Date("TIMESTAMP"),
143
+ * // attemptUpdatedAt: new Date("TIMESTAMP"),
135
144
  * // },
136
145
  * // };
137
146
  *
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
4
+ import { ListJobRunAttemptsRequest, ListJobRunAttemptsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListJobRunAttemptsCommand}.
13
+ */
14
+ export interface ListJobRunAttemptsCommandInput extends ListJobRunAttemptsRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListJobRunAttemptsCommand}.
20
+ */
21
+ export interface ListJobRunAttemptsCommandOutput extends ListJobRunAttemptsResponse, __MetadataBearer {
22
+ }
23
+ declare const ListJobRunAttemptsCommand_base: {
24
+ new (input: ListJobRunAttemptsCommandInput): import("@smithy/smithy-client").CommandImpl<ListJobRunAttemptsCommandInput, ListJobRunAttemptsCommandOutput, EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListJobRunAttemptsCommandInput): import("@smithy/smithy-client").CommandImpl<ListJobRunAttemptsCommandInput, ListJobRunAttemptsCommandOutput, EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Lists all attempt of a job run.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { EMRServerlessClient, ListJobRunAttemptsCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
34
+ * // const { EMRServerlessClient, ListJobRunAttemptsCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
35
+ * const client = new EMRServerlessClient(config);
36
+ * const input = { // ListJobRunAttemptsRequest
37
+ * applicationId: "STRING_VALUE", // required
38
+ * jobRunId: "STRING_VALUE", // required
39
+ * nextToken: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * };
42
+ * const command = new ListJobRunAttemptsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListJobRunAttemptsResponse
45
+ * // jobRunAttempts: [ // JobRunAttempts // required
46
+ * // { // JobRunAttemptSummary
47
+ * // applicationId: "STRING_VALUE", // required
48
+ * // id: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE",
50
+ * // mode: "STRING_VALUE",
51
+ * // arn: "STRING_VALUE", // required
52
+ * // createdBy: "STRING_VALUE", // required
53
+ * // jobCreatedAt: new Date("TIMESTAMP"), // required
54
+ * // createdAt: new Date("TIMESTAMP"), // required
55
+ * // updatedAt: new Date("TIMESTAMP"), // required
56
+ * // executionRole: "STRING_VALUE", // required
57
+ * // state: "STRING_VALUE", // required
58
+ * // stateDetails: "STRING_VALUE", // required
59
+ * // releaseLabel: "STRING_VALUE", // required
60
+ * // type: "STRING_VALUE",
61
+ * // attempt: Number("int"),
62
+ * // },
63
+ * // ],
64
+ * // nextToken: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param ListJobRunAttemptsCommandInput - {@link ListJobRunAttemptsCommandInput}
70
+ * @returns {@link ListJobRunAttemptsCommandOutput}
71
+ * @see {@link ListJobRunAttemptsCommandInput} for command's `input` shape.
72
+ * @see {@link ListJobRunAttemptsCommandOutput} for command's `response` shape.
73
+ * @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p>Request processing failed because of an error or failure with the service.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>The specified resource was not found.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
83
+ * service.</p>
84
+ *
85
+ * @throws {@link EMRServerlessServiceException}
86
+ * <p>Base exception class for all service exceptions from EMRServerless service.</p>
87
+ *
88
+ * @public
89
+ */
90
+ export declare class ListJobRunAttemptsCommand extends ListJobRunAttemptsCommand_base {
91
+ }
@@ -42,6 +42,7 @@ declare const ListJobRunsCommand_base: {
42
42
  * states: [ // JobRunStateSet
43
43
  * "STRING_VALUE",
44
44
  * ],
45
+ * mode: "STRING_VALUE",
45
46
  * };
46
47
  * const command = new ListJobRunsCommand(input);
47
48
  * const response = await client.send(command);
@@ -51,6 +52,7 @@ declare const ListJobRunsCommand_base: {
51
52
  * // applicationId: "STRING_VALUE", // required
52
53
  * // id: "STRING_VALUE", // required
53
54
  * // name: "STRING_VALUE",
55
+ * // mode: "STRING_VALUE",
54
56
  * // arn: "STRING_VALUE", // required
55
57
  * // createdBy: "STRING_VALUE", // required
56
58
  * // createdAt: new Date("TIMESTAMP"), // required
@@ -60,6 +62,9 @@ declare const ListJobRunsCommand_base: {
60
62
  * // stateDetails: "STRING_VALUE", // required
61
63
  * // releaseLabel: "STRING_VALUE", // required
62
64
  * // type: "STRING_VALUE",
65
+ * // attempt: Number("int"),
66
+ * // attemptCreatedAt: new Date("TIMESTAMP"),
67
+ * // attemptUpdatedAt: new Date("TIMESTAMP"),
63
68
  * // },
64
69
  * // ],
65
70
  * // nextToken: "STRING_VALUE",
@@ -99,6 +99,11 @@ declare const StartJobRunCommand_base: {
99
99
  * },
100
100
  * executionTimeoutMinutes: Number("long"),
101
101
  * name: "STRING_VALUE",
102
+ * mode: "STRING_VALUE",
103
+ * retryPolicy: { // RetryPolicy
104
+ * maxAttempts: Number("int"),
105
+ * maxFailedAttemptsPerHour: Number("int"),
106
+ * },
102
107
  * };
103
108
  * const command = new StartJobRunCommand(input);
104
109
  * const response = await client.send(command);
@@ -79,6 +79,10 @@ declare const UpdateApplicationCommand_base: {
79
79
  * },
80
80
  * },
81
81
  * },
82
+ * interactiveConfiguration: { // InteractiveConfiguration
83
+ * studioEnabled: true || false,
84
+ * livyEndpointEnabled: true || false,
85
+ * },
82
86
  * releaseLabel: "STRING_VALUE",
83
87
  * runtimeConfiguration: [ // ConfigurationList
84
88
  * { // Configuration
@@ -223,6 +227,10 @@ declare const UpdateApplicationCommand_base: {
223
227
  * // remoteWriteUrl: "STRING_VALUE",
224
228
  * // },
225
229
  * // },
230
+ * // interactiveConfiguration: { // InteractiveConfiguration
231
+ * // studioEnabled: true || false,
232
+ * // livyEndpointEnabled: true || false,
233
+ * // },
226
234
  * // },
227
235
  * // };
228
236
  *
@@ -5,6 +5,7 @@ export * from "./GetApplicationCommand";
5
5
  export * from "./GetDashboardForJobRunCommand";
6
6
  export * from "./GetJobRunCommand";
7
7
  export * from "./ListApplicationsCommand";
8
+ export * from "./ListJobRunAttemptsCommand";
8
9
  export * from "./ListJobRunsCommand";
9
10
  export * from "./ListTagsForResourceCommand";
10
11
  export * from "./StartApplicationCommand";
@@ -104,6 +104,22 @@ export interface InitialCapacityConfig {
104
104
  */
105
105
  workerConfiguration?: WorkerResourceConfig;
106
106
  }
107
+ /**
108
+ * <p>The configuration to use to enable the different types of interactive use cases in an application.</p>
109
+ * @public
110
+ */
111
+ export interface InteractiveConfiguration {
112
+ /**
113
+ * <p>Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.</p>
114
+ * @public
115
+ */
116
+ studioEnabled?: boolean;
117
+ /**
118
+ * <p>Enables an Apache Livy endpoint that you can connect to and run interactive jobs.</p>
119
+ * @public
120
+ */
121
+ livyEndpointEnabled?: boolean;
122
+ }
107
123
  /**
108
124
  * <p>The maximum allowed cumulative resources for an application. No new resources will be
109
125
  * created once the limit is hit.</p>
@@ -593,6 +609,12 @@ export interface GetDashboardForJobRunRequest {
593
609
  * @public
594
610
  */
595
611
  jobRunId: string | undefined;
612
+ /**
613
+ * <p>An optimal parameter that indicates the amount of attempts for the job. If not specified,
614
+ * this value defaults to the attempt of the latest job.</p>
615
+ * @public
616
+ */
617
+ attempt?: number;
596
618
  }
597
619
  /**
598
620
  * @public
@@ -618,6 +640,12 @@ export interface GetJobRunRequest {
618
640
  * @public
619
641
  */
620
642
  jobRunId: string | undefined;
643
+ /**
644
+ * <p>An optimal parameter that indicates the amount of attempts for the job. If not specified,
645
+ * this value defaults to the attempt of the latest job.</p>
646
+ * @public
647
+ */
648
+ attempt?: number;
621
649
  }
622
650
  /**
623
651
  * <p>The resource utilization for memory, storage, and vCPU for jobs.</p>
@@ -727,6 +755,34 @@ export declare namespace JobDriver {
727
755
  }
728
756
  const visit: <T>(value: JobDriver, visitor: Visitor<T>) => T;
729
757
  }
758
+ /**
759
+ * @public
760
+ * @enum
761
+ */
762
+ export declare const JobRunMode: {
763
+ readonly BATCH: "BATCH";
764
+ readonly STREAMING: "STREAMING";
765
+ };
766
+ /**
767
+ * @public
768
+ */
769
+ export type JobRunMode = (typeof JobRunMode)[keyof typeof JobRunMode];
770
+ /**
771
+ * <p>The retry policy to use for a job run.</p>
772
+ * @public
773
+ */
774
+ export interface RetryPolicy {
775
+ /**
776
+ * <p>Maximum number of attempts for the job run. This parameter is only applicable for <code>BATCH</code> mode.</p>
777
+ * @public
778
+ */
779
+ maxAttempts?: number;
780
+ /**
781
+ * <p>Maximum number of failed attempts per hour. This [arameter is only applicable for <code>STREAMING</code> mode.</p>
782
+ * @public
783
+ */
784
+ maxFailedAttemptsPerHour?: number;
785
+ }
730
786
  /**
731
787
  * @public
732
788
  * @enum
@@ -770,6 +826,128 @@ export interface TotalResourceUtilization {
770
826
  */
771
827
  storageGBHour?: number;
772
828
  }
829
+ /**
830
+ * @public
831
+ */
832
+ export interface ListJobRunAttemptsRequest {
833
+ /**
834
+ * <p>The ID of the application for which to list job runs.</p>
835
+ * @public
836
+ */
837
+ applicationId: string | undefined;
838
+ /**
839
+ * <p>The ID of the job run to list.</p>
840
+ * @public
841
+ */
842
+ jobRunId: string | undefined;
843
+ /**
844
+ * <p>The token for the next set of job run attempt results.</p>
845
+ * @public
846
+ */
847
+ nextToken?: string;
848
+ /**
849
+ * <p>The maximum number of job run attempts to list.</p>
850
+ * @public
851
+ */
852
+ maxResults?: number;
853
+ }
854
+ /**
855
+ * <p>The summary of attributes associated with a job run attempt.</p>
856
+ * @public
857
+ */
858
+ export interface JobRunAttemptSummary {
859
+ /**
860
+ * <p>The ID of the application the job is running on.</p>
861
+ * @public
862
+ */
863
+ applicationId: string | undefined;
864
+ /**
865
+ * <p>The ID of the job run attempt.</p>
866
+ * @public
867
+ */
868
+ id: string | undefined;
869
+ /**
870
+ * <p>The name of the job run attempt.</p>
871
+ * @public
872
+ */
873
+ name?: string;
874
+ /**
875
+ * <p>The mode of the job run attempt.</p>
876
+ * @public
877
+ */
878
+ mode?: JobRunMode;
879
+ /**
880
+ * <p>The Amazon Resource Name (ARN) of the job run.</p>
881
+ * @public
882
+ */
883
+ arn: string | undefined;
884
+ /**
885
+ * <p>The user who created the job run.</p>
886
+ * @public
887
+ */
888
+ createdBy: string | undefined;
889
+ /**
890
+ * <p>The date and time of when the job run was created.</p>
891
+ * @public
892
+ */
893
+ jobCreatedAt: Date | undefined;
894
+ /**
895
+ * <p>The date and time when the job run attempt was created.</p>
896
+ * @public
897
+ */
898
+ createdAt: Date | undefined;
899
+ /**
900
+ * <p>The date and time of when the job run attempt was last updated.</p>
901
+ * @public
902
+ */
903
+ updatedAt: Date | undefined;
904
+ /**
905
+ * <p>The Amazon Resource Name (ARN) of the execution role of the job run..</p>
906
+ * @public
907
+ */
908
+ executionRole: string | undefined;
909
+ /**
910
+ * <p>The state of the job run attempt.</p>
911
+ * @public
912
+ */
913
+ state: JobRunState | undefined;
914
+ /**
915
+ * <p>The state details of the job run attempt.</p>
916
+ * @public
917
+ */
918
+ stateDetails: string | undefined;
919
+ /**
920
+ * <p>The Amazon EMR release label of the job run attempt.</p>
921
+ * @public
922
+ */
923
+ releaseLabel: string | undefined;
924
+ /**
925
+ * <p>The type of the job run, such as Spark or Hive.</p>
926
+ * @public
927
+ */
928
+ type?: string;
929
+ /**
930
+ * <p>The attempt number of the job run execution.</p>
931
+ * @public
932
+ */
933
+ attempt?: number;
934
+ }
935
+ /**
936
+ * @public
937
+ */
938
+ export interface ListJobRunAttemptsResponse {
939
+ /**
940
+ * <p>The array of the listed job run attempt objects.</p>
941
+ * @public
942
+ */
943
+ jobRunAttempts: JobRunAttemptSummary[] | undefined;
944
+ /**
945
+ * <p>The output displays the token for the next set of application results.
946
+ * This is required for pagination and is available as a response of the previous request.</p>
947
+ * @public
948
+ */
949
+ nextToken?: string;
950
+ }
773
951
  /**
774
952
  * @public
775
953
  */
@@ -805,6 +983,11 @@ export interface ListJobRunsRequest {
805
983
  * @public
806
984
  */
807
985
  states?: JobRunState[];
986
+ /**
987
+ * <p>The mode of the job runs to list.</p>
988
+ * @public
989
+ */
990
+ mode?: JobRunMode;
808
991
  }
809
992
  /**
810
993
  * <p>The summary of attributes associated with a job run.</p>
@@ -826,6 +1009,11 @@ export interface JobRunSummary {
826
1009
  * @public
827
1010
  */
828
1011
  name?: string;
1012
+ /**
1013
+ * <p>The mode of the job run.</p>
1014
+ * @public
1015
+ */
1016
+ mode?: JobRunMode;
829
1017
  /**
830
1018
  * <p>The ARN of the job run.</p>
831
1019
  * @public
@@ -872,6 +1060,21 @@ export interface JobRunSummary {
872
1060
  * @public
873
1061
  */
874
1062
  type?: string;
1063
+ /**
1064
+ * <p>The attempt number of the job run execution.</p>
1065
+ * @public
1066
+ */
1067
+ attempt?: number;
1068
+ /**
1069
+ * <p>The date and time of when the job run attempt was created.</p>
1070
+ * @public
1071
+ */
1072
+ attemptCreatedAt?: Date;
1073
+ /**
1074
+ * <p>The date and time of when the job run attempt was last updated.</p>
1075
+ * @public
1076
+ */
1077
+ attemptUpdatedAt?: Date;
875
1078
  }
876
1079
  /**
877
1080
  * @public
@@ -1111,6 +1314,11 @@ export interface Application {
1111
1314
  * @public
1112
1315
  */
1113
1316
  monitoringConfiguration?: MonitoringConfiguration;
1317
+ /**
1318
+ * <p>The interactive configuration object that enables the interactive use cases for an application.</p>
1319
+ * @public
1320
+ */
1321
+ interactiveConfiguration?: InteractiveConfiguration;
1114
1322
  }
1115
1323
  /**
1116
1324
  * <p>A configuration specification to be used to override existing configurations.</p>
@@ -1221,6 +1429,12 @@ export interface CreateApplicationRequest {
1221
1429
  * @public
1222
1430
  */
1223
1431
  monitoringConfiguration?: MonitoringConfiguration;
1432
+ /**
1433
+ * <p>The interactive configuration object that enables the interactive use cases
1434
+ * to use when running an application.</p>
1435
+ * @public
1436
+ */
1437
+ interactiveConfiguration?: InteractiveConfiguration;
1224
1438
  }
1225
1439
  /**
1226
1440
  * @public
@@ -1288,6 +1502,12 @@ export interface UpdateApplicationRequest {
1288
1502
  * @public
1289
1503
  */
1290
1504
  workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
1505
+ /**
1506
+ * <p>The interactive configuration object that contains new interactive use cases
1507
+ * when the application is updated.</p>
1508
+ * @public
1509
+ */
1510
+ interactiveConfiguration?: InteractiveConfiguration;
1291
1511
  /**
1292
1512
  * <p>The Amazon EMR release label for the application. You can change the release
1293
1513
  * label to use a different release of Amazon EMR.</p>
@@ -1427,6 +1647,31 @@ export interface JobRun {
1427
1647
  * @public
1428
1648
  */
1429
1649
  billedResourceUtilization?: ResourceUtilization;
1650
+ /**
1651
+ * <p>The mode of the job run.</p>
1652
+ * @public
1653
+ */
1654
+ mode?: JobRunMode;
1655
+ /**
1656
+ * <p>The retry policy of the job run.</p>
1657
+ * @public
1658
+ */
1659
+ retryPolicy?: RetryPolicy;
1660
+ /**
1661
+ * <p>The attempt of the job run.</p>
1662
+ * @public
1663
+ */
1664
+ attempt?: number;
1665
+ /**
1666
+ * <p>The date and time of when the job run attempt was created.</p>
1667
+ * @public
1668
+ */
1669
+ attemptCreatedAt?: Date;
1670
+ /**
1671
+ * <p>The date and time of when the job run attempt was last updated.</p>
1672
+ * @public
1673
+ */
1674
+ attemptUpdatedAt?: Date;
1430
1675
  }
1431
1676
  /**
1432
1677
  * @public
@@ -1474,6 +1719,16 @@ export interface StartJobRunRequest {
1474
1719
  * @public
1475
1720
  */
1476
1721
  name?: string;
1722
+ /**
1723
+ * <p>The mode of the job run when it starts.</p>
1724
+ * @public
1725
+ */
1726
+ mode?: JobRunMode;
1727
+ /**
1728
+ * <p>The retry policy when job run starts.</p>
1729
+ * @public
1730
+ */
1731
+ retryPolicy?: RetryPolicy;
1477
1732
  }
1478
1733
  /**
1479
1734
  * @public
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListJobRunAttemptsCommandInput, ListJobRunAttemptsCommandOutput } from "../commands/ListJobRunAttemptsCommand";
3
+ import { EMRServerlessPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListJobRunAttempts: (config: EMRServerlessPaginationConfiguration, input: ListJobRunAttemptsCommandInput, ...rest: any[]) => Paginator<ListJobRunAttemptsCommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListApplicationsPaginator";
3
+ export * from "./ListJobRunAttemptsPaginator";
3
4
  export * from "./ListJobRunsPaginator";
@@ -7,6 +7,7 @@ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "../comm
7
7
  import { GetDashboardForJobRunCommandInput, GetDashboardForJobRunCommandOutput } from "../commands/GetDashboardForJobRunCommand";
8
8
  import { GetJobRunCommandInput, GetJobRunCommandOutput } from "../commands/GetJobRunCommand";
9
9
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
10
+ import { ListJobRunAttemptsCommandInput, ListJobRunAttemptsCommandOutput } from "../commands/ListJobRunAttemptsCommand";
10
11
  import { ListJobRunsCommandInput, ListJobRunsCommandOutput } from "../commands/ListJobRunsCommand";
11
12
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
12
13
  import { StartApplicationCommandInput, StartApplicationCommandOutput } from "../commands/StartApplicationCommand";
@@ -43,6 +44,10 @@ export declare const se_GetJobRunCommand: (input: GetJobRunCommandInput, context
43
44
  * serializeAws_restJson1ListApplicationsCommand
44
45
  */
45
46
  export declare const se_ListApplicationsCommand: (input: ListApplicationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ /**
48
+ * serializeAws_restJson1ListJobRunAttemptsCommand
49
+ */
50
+ export declare const se_ListJobRunAttemptsCommand: (input: ListJobRunAttemptsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
51
  /**
47
52
  * serializeAws_restJson1ListJobRunsCommand
48
53
  */
@@ -103,6 +108,10 @@ export declare const de_GetJobRunCommand: (output: __HttpResponse, context: __Se
103
108
  * deserializeAws_restJson1ListApplicationsCommand
104
109
  */
105
110
  export declare const de_ListApplicationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListApplicationsCommandOutput>;
111
+ /**
112
+ * deserializeAws_restJson1ListJobRunAttemptsCommand
113
+ */
114
+ export declare const de_ListJobRunAttemptsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobRunAttemptsCommandOutput>;
106
115
  /**
107
116
  * deserializeAws_restJson1ListJobRunsCommand
108
117
  */
@@ -27,6 +27,10 @@ import {
27
27
  ListApplicationsCommandInput,
28
28
  ListApplicationsCommandOutput,
29
29
  } from "./commands/ListApplicationsCommand";
30
+ import {
31
+ ListJobRunAttemptsCommandInput,
32
+ ListJobRunAttemptsCommandOutput,
33
+ } from "./commands/ListJobRunAttemptsCommand";
30
34
  import {
31
35
  ListJobRunsCommandInput,
32
36
  ListJobRunsCommandOutput,
@@ -153,6 +157,19 @@ export interface EMRServerless {
153
157
  options: __HttpHandlerOptions,
154
158
  cb: (err: any, data?: ListApplicationsCommandOutput) => void
155
159
  ): void;
160
+ listJobRunAttempts(
161
+ args: ListJobRunAttemptsCommandInput,
162
+ options?: __HttpHandlerOptions
163
+ ): Promise<ListJobRunAttemptsCommandOutput>;
164
+ listJobRunAttempts(
165
+ args: ListJobRunAttemptsCommandInput,
166
+ cb: (err: any, data?: ListJobRunAttemptsCommandOutput) => void
167
+ ): void;
168
+ listJobRunAttempts(
169
+ args: ListJobRunAttemptsCommandInput,
170
+ options: __HttpHandlerOptions,
171
+ cb: (err: any, data?: ListJobRunAttemptsCommandOutput) => void
172
+ ): void;
156
173
  listJobRuns(
157
174
  args: ListJobRunsCommandInput,
158
175
  options?: __HttpHandlerOptions
@@ -73,6 +73,10 @@ import {
73
73
  ListApplicationsCommandInput,
74
74
  ListApplicationsCommandOutput,
75
75
  } from "./commands/ListApplicationsCommand";
76
+ import {
77
+ ListJobRunAttemptsCommandInput,
78
+ ListJobRunAttemptsCommandOutput,
79
+ } from "./commands/ListJobRunAttemptsCommand";
76
80
  import {
77
81
  ListJobRunsCommandInput,
78
82
  ListJobRunsCommandOutput,
@@ -120,6 +124,7 @@ export type ServiceInputTypes =
120
124
  | GetDashboardForJobRunCommandInput
121
125
  | GetJobRunCommandInput
122
126
  | ListApplicationsCommandInput
127
+ | ListJobRunAttemptsCommandInput
123
128
  | ListJobRunsCommandInput
124
129
  | ListTagsForResourceCommandInput
125
130
  | StartApplicationCommandInput
@@ -136,6 +141,7 @@ export type ServiceOutputTypes =
136
141
  | GetDashboardForJobRunCommandOutput
137
142
  | GetJobRunCommandOutput
138
143
  | ListApplicationsCommandOutput
144
+ | ListJobRunAttemptsCommandOutput
139
145
  | ListJobRunsCommandOutput
140
146
  | ListTagsForResourceCommandOutput
141
147
  | StartApplicationCommandOutput
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRServerlessClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRServerlessClient";
8
+ import {
9
+ ListJobRunAttemptsRequest,
10
+ ListJobRunAttemptsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface ListJobRunAttemptsCommandInput
14
+ extends ListJobRunAttemptsRequest {}
15
+ export interface ListJobRunAttemptsCommandOutput
16
+ extends ListJobRunAttemptsResponse,
17
+ __MetadataBearer {}
18
+ declare const ListJobRunAttemptsCommand_base: {
19
+ new (
20
+ input: ListJobRunAttemptsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListJobRunAttemptsCommandInput,
23
+ ListJobRunAttemptsCommandOutput,
24
+ EMRServerlessClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: ListJobRunAttemptsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListJobRunAttemptsCommandInput,
32
+ ListJobRunAttemptsCommandOutput,
33
+ EMRServerlessClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ListJobRunAttemptsCommand extends ListJobRunAttemptsCommand_base {}
@@ -5,6 +5,7 @@ export * from "./GetApplicationCommand";
5
5
  export * from "./GetDashboardForJobRunCommand";
6
6
  export * from "./GetJobRunCommand";
7
7
  export * from "./ListApplicationsCommand";
8
+ export * from "./ListJobRunAttemptsCommand";
8
9
  export * from "./ListJobRunsCommand";
9
10
  export * from "./ListTagsForResourceCommand";
10
11
  export * from "./StartApplicationCommand";