@aws-sdk/client-emr-serverless 3.1033.0 → 3.1035.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/README.md +42 -0
- package/dist-cjs/index.js +103 -0
- package/dist-cjs/schemas/schemas_0.js +140 -8
- package/dist-es/EMRServerless.js +14 -0
- package/dist-es/commands/GetResourceDashboardCommand.js +16 -0
- package/dist-es/commands/GetSessionCommand.js +16 -0
- package/dist-es/commands/GetSessionEndpointCommand.js +16 -0
- package/dist-es/commands/ListSessionsCommand.js +16 -0
- package/dist-es/commands/StartSessionCommand.js +16 -0
- package/dist-es/commands/TerminateSessionCommand.js +16 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +137 -6
- package/dist-types/EMRServerless.d.ts +49 -0
- package/dist-types/EMRServerlessClient.d.ts +8 -2
- package/dist-types/commands/CreateApplicationCommand.d.ts +1 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +1 -0
- package/dist-types/commands/GetResourceDashboardCommand.d.ts +85 -0
- package/dist-types/commands/GetSessionCommand.d.ts +141 -0
- package/dist-types/commands/GetSessionEndpointCommand.d.ts +88 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +105 -0
- package/dist-types/commands/StartSessionCommand.d.ts +117 -0
- package/dist-types/commands/TerminateSessionCommand.d.ts +85 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +29 -0
- package/dist-types/models/models_0.d.ts +429 -1
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/dist-types/ts3.4/EMRServerless.d.ts +109 -0
- package/dist-types/ts3.4/EMRServerlessClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetResourceDashboardCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +102 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/package.json +18 -18
|
@@ -27,6 +27,17 @@ export declare const ApplicationState: {
|
|
|
27
27
|
* @public
|
|
28
28
|
*/
|
|
29
29
|
export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const ResourceType: {
|
|
35
|
+
readonly SESSION: "SESSION";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
30
41
|
/**
|
|
31
42
|
* @public
|
|
32
43
|
* @enum
|
|
@@ -58,3 +69,21 @@ export declare const JobRunState: {
|
|
|
58
69
|
* @public
|
|
59
70
|
*/
|
|
60
71
|
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* @enum
|
|
75
|
+
*/
|
|
76
|
+
export declare const SessionState: {
|
|
77
|
+
readonly BUSY: "BUSY";
|
|
78
|
+
readonly FAILED: "FAILED";
|
|
79
|
+
readonly IDLE: "IDLE";
|
|
80
|
+
readonly STARTED: "STARTED";
|
|
81
|
+
readonly STARTING: "STARTING";
|
|
82
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
83
|
+
readonly TERMINATED: "TERMINATED";
|
|
84
|
+
readonly TERMINATING: "TERMINATING";
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export type SessionState = (typeof SessionState)[keyof typeof SessionState];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApplicationState, Architecture, JobRunMode, JobRunState } from "./enums";
|
|
1
|
+
import type { ApplicationState, Architecture, JobRunMode, JobRunState, ResourceType, SessionState } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
4
4
|
* @public
|
|
@@ -136,6 +136,11 @@ export interface InteractiveConfiguration {
|
|
|
136
136
|
* @public
|
|
137
137
|
*/
|
|
138
138
|
livyEndpointEnabled?: boolean | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>Enables interactive sessions on the application. When set to <code>true</code>, you can start interactive sessions using the <code>StartSession</code> operation.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
sessionEnabled?: boolean | undefined;
|
|
139
144
|
}
|
|
140
145
|
/**
|
|
141
146
|
* <p>The configuration object that enables job level cost allocation.</p>
|
|
@@ -451,6 +456,36 @@ export interface GetApplicationRequest {
|
|
|
451
456
|
*/
|
|
452
457
|
applicationId: string | undefined;
|
|
453
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
export interface GetResourceDashboardRequest {
|
|
463
|
+
/**
|
|
464
|
+
* <p>The ID of the application that the resource belongs to.</p>
|
|
465
|
+
* @public
|
|
466
|
+
*/
|
|
467
|
+
applicationId: string | undefined;
|
|
468
|
+
/**
|
|
469
|
+
* <p>The ID of the resource.</p>
|
|
470
|
+
* @public
|
|
471
|
+
*/
|
|
472
|
+
resourceId: string | undefined;
|
|
473
|
+
/**
|
|
474
|
+
* <p>The type of resource to access the dashboard for. Currently, only <code>Session</code> is supported.</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
resourceType: ResourceType | undefined;
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
export interface GetResourceDashboardResponse {
|
|
483
|
+
/**
|
|
484
|
+
* <p>A URL to the resource dashboard. For an active resource, this URL opens the live application UI. For a terminated resource, this URL opens the persistent application UI. This value is not included in the response if the URL is not available.</p>
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
url?: string | undefined;
|
|
488
|
+
}
|
|
454
489
|
/**
|
|
455
490
|
* @public
|
|
456
491
|
*/
|
|
@@ -1069,6 +1104,227 @@ export interface ListTagsForResourceResponse {
|
|
|
1069
1104
|
*/
|
|
1070
1105
|
tags?: Record<string, string> | undefined;
|
|
1071
1106
|
}
|
|
1107
|
+
/**
|
|
1108
|
+
* @public
|
|
1109
|
+
*/
|
|
1110
|
+
export interface GetSessionRequest {
|
|
1111
|
+
/**
|
|
1112
|
+
* <p>The ID of the application that the session belongs to.</p>
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
applicationId: string | undefined;
|
|
1116
|
+
/**
|
|
1117
|
+
* <p>The ID of the session.</p>
|
|
1118
|
+
* @public
|
|
1119
|
+
*/
|
|
1120
|
+
sessionId: string | undefined;
|
|
1121
|
+
}
|
|
1122
|
+
/**
|
|
1123
|
+
* @public
|
|
1124
|
+
*/
|
|
1125
|
+
export interface GetSessionEndpointRequest {
|
|
1126
|
+
/**
|
|
1127
|
+
* <p>The ID of the application that the session belongs to.</p>
|
|
1128
|
+
* @public
|
|
1129
|
+
*/
|
|
1130
|
+
applicationId: string | undefined;
|
|
1131
|
+
/**
|
|
1132
|
+
* <p>The ID of the session.</p>
|
|
1133
|
+
* @public
|
|
1134
|
+
*/
|
|
1135
|
+
sessionId: string | undefined;
|
|
1136
|
+
}
|
|
1137
|
+
/**
|
|
1138
|
+
* @public
|
|
1139
|
+
*/
|
|
1140
|
+
export interface GetSessionEndpointResponse {
|
|
1141
|
+
/**
|
|
1142
|
+
* <p>The output contains the ID of the application.</p>
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1145
|
+
applicationId: string | undefined;
|
|
1146
|
+
/**
|
|
1147
|
+
* <p>The output contains the ID of the session.</p>
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1150
|
+
sessionId: string | undefined;
|
|
1151
|
+
/**
|
|
1152
|
+
* The endpoint URL for connecting to the session.
|
|
1153
|
+
* @public
|
|
1154
|
+
*/
|
|
1155
|
+
endpoint: string | undefined;
|
|
1156
|
+
/**
|
|
1157
|
+
* Authentication token for accessing the session endpoint.
|
|
1158
|
+
* @public
|
|
1159
|
+
*/
|
|
1160
|
+
authToken: string | undefined;
|
|
1161
|
+
/**
|
|
1162
|
+
* The expiration time of the authentication token.
|
|
1163
|
+
* @public
|
|
1164
|
+
*/
|
|
1165
|
+
authTokenExpiresAt: Date | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* @public
|
|
1169
|
+
*/
|
|
1170
|
+
export interface ListSessionsRequest {
|
|
1171
|
+
/**
|
|
1172
|
+
* <p>The ID of the application to list sessions for.</p>
|
|
1173
|
+
* @public
|
|
1174
|
+
*/
|
|
1175
|
+
applicationId: string | undefined;
|
|
1176
|
+
/**
|
|
1177
|
+
* <p>The token for the next set of session results.</p>
|
|
1178
|
+
* @public
|
|
1179
|
+
*/
|
|
1180
|
+
nextToken?: string | undefined;
|
|
1181
|
+
/**
|
|
1182
|
+
* <p>The maximum number of sessions to return in each page of results.</p>
|
|
1183
|
+
* @public
|
|
1184
|
+
*/
|
|
1185
|
+
maxResults?: number | undefined;
|
|
1186
|
+
/**
|
|
1187
|
+
* <p>An optional filter for session states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p>
|
|
1188
|
+
* @public
|
|
1189
|
+
*/
|
|
1190
|
+
states?: SessionState[] | undefined;
|
|
1191
|
+
/**
|
|
1192
|
+
* <p>The lower bound of the option to filter by creation date and time.</p>
|
|
1193
|
+
* @public
|
|
1194
|
+
*/
|
|
1195
|
+
createdAtAfter?: Date | undefined;
|
|
1196
|
+
/**
|
|
1197
|
+
* <p>The upper bound of the option to filter by creation date and time.</p>
|
|
1198
|
+
* @public
|
|
1199
|
+
*/
|
|
1200
|
+
createdAtBefore?: Date | undefined;
|
|
1201
|
+
}
|
|
1202
|
+
/**
|
|
1203
|
+
* <p>The summary of attributes associated with a session.</p>
|
|
1204
|
+
* @public
|
|
1205
|
+
*/
|
|
1206
|
+
export interface SessionSummary {
|
|
1207
|
+
/**
|
|
1208
|
+
* <p>The ID of the application that the session belongs to.</p>
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
applicationId: string | undefined;
|
|
1212
|
+
/**
|
|
1213
|
+
* <p>The ID of the session.</p>
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1216
|
+
sessionId: string | undefined;
|
|
1217
|
+
/**
|
|
1218
|
+
* <p>The Amazon Resource Name (ARN) of the session.</p>
|
|
1219
|
+
* @public
|
|
1220
|
+
*/
|
|
1221
|
+
arn: string | undefined;
|
|
1222
|
+
/**
|
|
1223
|
+
* <p>The optional name of the session.</p>
|
|
1224
|
+
* @public
|
|
1225
|
+
*/
|
|
1226
|
+
name?: string | undefined;
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>The state of the session.</p>
|
|
1229
|
+
* @public
|
|
1230
|
+
*/
|
|
1231
|
+
state: SessionState | undefined;
|
|
1232
|
+
/**
|
|
1233
|
+
* <p>Additional details about the current state of the session.</p>
|
|
1234
|
+
* @public
|
|
1235
|
+
*/
|
|
1236
|
+
stateDetails: string | undefined;
|
|
1237
|
+
/**
|
|
1238
|
+
* <p>The Amazon EMR release label associated with the session.</p>
|
|
1239
|
+
* @public
|
|
1240
|
+
*/
|
|
1241
|
+
releaseLabel: string | undefined;
|
|
1242
|
+
/**
|
|
1243
|
+
* <p>The Amazon Resource Name (ARN) of the execution role for the session.</p>
|
|
1244
|
+
* @public
|
|
1245
|
+
*/
|
|
1246
|
+
executionRoleArn: string | undefined;
|
|
1247
|
+
/**
|
|
1248
|
+
* <p>The IAM principal that created the session.</p>
|
|
1249
|
+
* @public
|
|
1250
|
+
*/
|
|
1251
|
+
createdBy: string | undefined;
|
|
1252
|
+
/**
|
|
1253
|
+
* <p>The date and time that the session was created.</p>
|
|
1254
|
+
* @public
|
|
1255
|
+
*/
|
|
1256
|
+
createdAt: Date | undefined;
|
|
1257
|
+
/**
|
|
1258
|
+
* <p>The date and time that the session was last updated.</p>
|
|
1259
|
+
* @public
|
|
1260
|
+
*/
|
|
1261
|
+
updatedAt: Date | undefined;
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* @public
|
|
1265
|
+
*/
|
|
1266
|
+
export interface ListSessionsResponse {
|
|
1267
|
+
/**
|
|
1268
|
+
* <p>The output lists information about the specified sessions.</p>
|
|
1269
|
+
* @public
|
|
1270
|
+
*/
|
|
1271
|
+
sessions: SessionSummary[] | undefined;
|
|
1272
|
+
/**
|
|
1273
|
+
* <p>The output displays the token for the next set of session results. This is required for pagination and is available as a response of the previous request.</p>
|
|
1274
|
+
* @public
|
|
1275
|
+
*/
|
|
1276
|
+
nextToken?: string | undefined;
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* @public
|
|
1280
|
+
*/
|
|
1281
|
+
export interface StartSessionResponse {
|
|
1282
|
+
/**
|
|
1283
|
+
* <p>The output contains the application ID on which the session was started.</p>
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1286
|
+
applicationId: string | undefined;
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>The output contains the ID of the session.</p>
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1291
|
+
sessionId: string | undefined;
|
|
1292
|
+
/**
|
|
1293
|
+
* <p>The output contains the ARN of the session.</p>
|
|
1294
|
+
* @public
|
|
1295
|
+
*/
|
|
1296
|
+
arn: string | undefined;
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* @public
|
|
1300
|
+
*/
|
|
1301
|
+
export interface TerminateSessionRequest {
|
|
1302
|
+
/**
|
|
1303
|
+
* <p>The ID of the application that the session belongs to.</p>
|
|
1304
|
+
* @public
|
|
1305
|
+
*/
|
|
1306
|
+
applicationId: string | undefined;
|
|
1307
|
+
/**
|
|
1308
|
+
* <p>The ID of the session to terminate.</p>
|
|
1309
|
+
* @public
|
|
1310
|
+
*/
|
|
1311
|
+
sessionId: string | undefined;
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
* @public
|
|
1315
|
+
*/
|
|
1316
|
+
export interface TerminateSessionResponse {
|
|
1317
|
+
/**
|
|
1318
|
+
* <p>The output contains the application ID on which the session was terminated.</p>
|
|
1319
|
+
* @public
|
|
1320
|
+
*/
|
|
1321
|
+
applicationId: string | undefined;
|
|
1322
|
+
/**
|
|
1323
|
+
* <p>The output contains the ID of the terminated session.</p>
|
|
1324
|
+
* @public
|
|
1325
|
+
*/
|
|
1326
|
+
sessionId: string | undefined;
|
|
1327
|
+
}
|
|
1072
1328
|
/**
|
|
1073
1329
|
* @public
|
|
1074
1330
|
*/
|
|
@@ -1387,6 +1643,17 @@ export interface CreateApplicationRequest {
|
|
|
1387
1643
|
*/
|
|
1388
1644
|
jobLevelCostAllocationConfiguration?: JobLevelCostAllocationConfiguration | undefined;
|
|
1389
1645
|
}
|
|
1646
|
+
/**
|
|
1647
|
+
* <p>The configuration overrides for a session.</p>
|
|
1648
|
+
* @public
|
|
1649
|
+
*/
|
|
1650
|
+
export interface SessionConfigurationOverrides {
|
|
1651
|
+
/**
|
|
1652
|
+
* <p>The runtime configuration for the session. Contains Spark configuration properties specified at session creation time.</p>
|
|
1653
|
+
* @public
|
|
1654
|
+
*/
|
|
1655
|
+
runtimeConfiguration?: Configuration[] | undefined;
|
|
1656
|
+
}
|
|
1390
1657
|
/**
|
|
1391
1658
|
* @public
|
|
1392
1659
|
*/
|
|
@@ -1638,6 +1905,117 @@ export interface JobRun {
|
|
|
1638
1905
|
*/
|
|
1639
1906
|
queuedDurationMilliseconds?: number | undefined;
|
|
1640
1907
|
}
|
|
1908
|
+
/**
|
|
1909
|
+
* <p>Information about a session, including the session state, configuration, and timestamps.</p>
|
|
1910
|
+
* @public
|
|
1911
|
+
*/
|
|
1912
|
+
export interface Session {
|
|
1913
|
+
/**
|
|
1914
|
+
* <p>The ID of the application that the session belongs to.</p>
|
|
1915
|
+
* @public
|
|
1916
|
+
*/
|
|
1917
|
+
applicationId: string | undefined;
|
|
1918
|
+
/**
|
|
1919
|
+
* <p>The ID of the session.</p>
|
|
1920
|
+
* @public
|
|
1921
|
+
*/
|
|
1922
|
+
sessionId: string | undefined;
|
|
1923
|
+
/**
|
|
1924
|
+
* <p>The Amazon Resource Name (ARN) of the session.</p>
|
|
1925
|
+
* @public
|
|
1926
|
+
*/
|
|
1927
|
+
arn: string | undefined;
|
|
1928
|
+
/**
|
|
1929
|
+
* <p>The optional name of the session.</p>
|
|
1930
|
+
* @public
|
|
1931
|
+
*/
|
|
1932
|
+
name?: string | undefined;
|
|
1933
|
+
/**
|
|
1934
|
+
* <p>The state of the session.</p>
|
|
1935
|
+
* @public
|
|
1936
|
+
*/
|
|
1937
|
+
state: SessionState | undefined;
|
|
1938
|
+
/**
|
|
1939
|
+
* <p>Additional details about the current state of the session.</p>
|
|
1940
|
+
* @public
|
|
1941
|
+
*/
|
|
1942
|
+
stateDetails: string | undefined;
|
|
1943
|
+
/**
|
|
1944
|
+
* <p>The Amazon EMR release label associated with the session.</p>
|
|
1945
|
+
* @public
|
|
1946
|
+
*/
|
|
1947
|
+
releaseLabel: string | undefined;
|
|
1948
|
+
/**
|
|
1949
|
+
* <p>The Amazon Resource Name (ARN) of the execution role for the session.</p>
|
|
1950
|
+
* @public
|
|
1951
|
+
*/
|
|
1952
|
+
executionRoleArn: string | undefined;
|
|
1953
|
+
/**
|
|
1954
|
+
* <p>The IAM principal that created the session.</p>
|
|
1955
|
+
* @public
|
|
1956
|
+
*/
|
|
1957
|
+
createdBy: string | undefined;
|
|
1958
|
+
/**
|
|
1959
|
+
* <p>The date and time that the session was created.</p>
|
|
1960
|
+
* @public
|
|
1961
|
+
*/
|
|
1962
|
+
createdAt: Date | undefined;
|
|
1963
|
+
/**
|
|
1964
|
+
* <p>The date and time that the session was last updated.</p>
|
|
1965
|
+
* @public
|
|
1966
|
+
*/
|
|
1967
|
+
updatedAt: Date | undefined;
|
|
1968
|
+
/**
|
|
1969
|
+
* <p>The date and time that the session moved to a running state.</p>
|
|
1970
|
+
* @public
|
|
1971
|
+
*/
|
|
1972
|
+
startedAt?: Date | undefined;
|
|
1973
|
+
/**
|
|
1974
|
+
* <p>The date and time that the session was terminated or failed.</p>
|
|
1975
|
+
* @public
|
|
1976
|
+
*/
|
|
1977
|
+
endedAt?: Date | undefined;
|
|
1978
|
+
/**
|
|
1979
|
+
* <p>The date and time that the session became idle.</p>
|
|
1980
|
+
* @public
|
|
1981
|
+
*/
|
|
1982
|
+
idleSince?: Date | undefined;
|
|
1983
|
+
/**
|
|
1984
|
+
* <p>The configuration overrides for the session, including runtime configuration properties.</p>
|
|
1985
|
+
* @public
|
|
1986
|
+
*/
|
|
1987
|
+
configurationOverrides?: SessionConfigurationOverrides | undefined;
|
|
1988
|
+
/**
|
|
1989
|
+
* <p>The network configuration for customer VPC connectivity for the session.</p>
|
|
1990
|
+
* @public
|
|
1991
|
+
*/
|
|
1992
|
+
networkConfiguration?: NetworkConfiguration | undefined;
|
|
1993
|
+
/**
|
|
1994
|
+
* <p>The idle timeout in minutes for the session. After the session remains idle for this duration, it is automatically terminated.</p>
|
|
1995
|
+
* @public
|
|
1996
|
+
*/
|
|
1997
|
+
idleTimeoutMinutes?: number | undefined;
|
|
1998
|
+
/**
|
|
1999
|
+
* <p>The tags assigned to the session.</p>
|
|
2000
|
+
* @public
|
|
2001
|
+
*/
|
|
2002
|
+
tags?: Record<string, string> | undefined;
|
|
2003
|
+
/**
|
|
2004
|
+
* <p>The aggregate vCPU, memory, and storage resources used from the time the session starts to execute, until the time the session terminates, rounded up to the nearest second.</p>
|
|
2005
|
+
* @public
|
|
2006
|
+
*/
|
|
2007
|
+
totalResourceUtilization?: TotalResourceUtilization | undefined;
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the session. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.</p>
|
|
2010
|
+
* @public
|
|
2011
|
+
*/
|
|
2012
|
+
billedResourceUtilization?: ResourceUtilization | undefined;
|
|
2013
|
+
/**
|
|
2014
|
+
* <p>The total execution duration of the session in seconds.</p>
|
|
2015
|
+
* @public
|
|
2016
|
+
*/
|
|
2017
|
+
totalExecutionDurationSeconds?: number | undefined;
|
|
2018
|
+
}
|
|
1641
2019
|
/**
|
|
1642
2020
|
* @public
|
|
1643
2021
|
*/
|
|
@@ -1698,6 +2076,46 @@ export interface StartJobRunRequest {
|
|
|
1698
2076
|
*/
|
|
1699
2077
|
retryPolicy?: RetryPolicy | undefined;
|
|
1700
2078
|
}
|
|
2079
|
+
/**
|
|
2080
|
+
* @public
|
|
2081
|
+
*/
|
|
2082
|
+
export interface StartSessionRequest {
|
|
2083
|
+
/**
|
|
2084
|
+
* <p>The ID of the application on which to start the session.</p>
|
|
2085
|
+
* @public
|
|
2086
|
+
*/
|
|
2087
|
+
applicationId: string | undefined;
|
|
2088
|
+
/**
|
|
2089
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the successful response without performing the operation again.</p>
|
|
2090
|
+
* @public
|
|
2091
|
+
*/
|
|
2092
|
+
clientToken?: string | undefined;
|
|
2093
|
+
/**
|
|
2094
|
+
* <p>The execution role ARN for the session. Amazon EMR Serverless uses this role to access Amazon Web Services resources on your behalf during session execution.</p>
|
|
2095
|
+
* @public
|
|
2096
|
+
*/
|
|
2097
|
+
executionRoleArn: string | undefined;
|
|
2098
|
+
/**
|
|
2099
|
+
* <p>The configuration overrides for the session. Only runtime configuration overrides are supported.</p>
|
|
2100
|
+
* @public
|
|
2101
|
+
*/
|
|
2102
|
+
configurationOverrides?: SessionConfigurationOverrides | undefined;
|
|
2103
|
+
/**
|
|
2104
|
+
* <p>The tags to assign to the session.</p>
|
|
2105
|
+
* @public
|
|
2106
|
+
*/
|
|
2107
|
+
tags?: Record<string, string> | undefined;
|
|
2108
|
+
/**
|
|
2109
|
+
* <p>The idle timeout in minutes for the session. After the session remains idle for this duration, Amazon EMR Serverless automatically terminates it.</p>
|
|
2110
|
+
* @public
|
|
2111
|
+
*/
|
|
2112
|
+
idleTimeoutMinutes?: number | undefined;
|
|
2113
|
+
/**
|
|
2114
|
+
* <p>The optional name for the session.</p>
|
|
2115
|
+
* @public
|
|
2116
|
+
*/
|
|
2117
|
+
name?: string | undefined;
|
|
2118
|
+
}
|
|
1701
2119
|
/**
|
|
1702
2120
|
* @public
|
|
1703
2121
|
*/
|
|
@@ -1718,3 +2136,13 @@ export interface GetJobRunResponse {
|
|
|
1718
2136
|
*/
|
|
1719
2137
|
jobRun: JobRun | undefined;
|
|
1720
2138
|
}
|
|
2139
|
+
/**
|
|
2140
|
+
* @public
|
|
2141
|
+
*/
|
|
2142
|
+
export interface GetSessionResponse {
|
|
2143
|
+
/**
|
|
2144
|
+
* <p>The output displays information about the session.</p>
|
|
2145
|
+
* @public
|
|
2146
|
+
*/
|
|
2147
|
+
session: Session | undefined;
|
|
2148
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
|
|
3
|
+
import type { EMRServerlessPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListSessions: (config: EMRServerlessPaginationConfiguration, input: ListSessionsCommandInput, ...rest: any[]) => Paginator<ListSessionsCommandOutput>;
|
|
@@ -32,6 +32,12 @@ export declare var GetDashboardForJobRunRequest$: StaticStructureSchema;
|
|
|
32
32
|
export declare var GetDashboardForJobRunResponse$: StaticStructureSchema;
|
|
33
33
|
export declare var GetJobRunRequest$: StaticStructureSchema;
|
|
34
34
|
export declare var GetJobRunResponse$: StaticStructureSchema;
|
|
35
|
+
export declare var GetResourceDashboardRequest$: StaticStructureSchema;
|
|
36
|
+
export declare var GetResourceDashboardResponse$: StaticStructureSchema;
|
|
37
|
+
export declare var GetSessionEndpointRequest$: StaticStructureSchema;
|
|
38
|
+
export declare var GetSessionEndpointResponse$: StaticStructureSchema;
|
|
39
|
+
export declare var GetSessionRequest$: StaticStructureSchema;
|
|
40
|
+
export declare var GetSessionResponse$: StaticStructureSchema;
|
|
35
41
|
export declare var Hive$: StaticStructureSchema;
|
|
36
42
|
export declare var IdentityCenterConfiguration$: StaticStructureSchema;
|
|
37
43
|
export declare var IdentityCenterConfigurationInput$: StaticStructureSchema;
|
|
@@ -50,6 +56,8 @@ export declare var ListJobRunAttemptsRequest$: StaticStructureSchema;
|
|
|
50
56
|
export declare var ListJobRunAttemptsResponse$: StaticStructureSchema;
|
|
51
57
|
export declare var ListJobRunsRequest$: StaticStructureSchema;
|
|
52
58
|
export declare var ListJobRunsResponse$: StaticStructureSchema;
|
|
59
|
+
export declare var ListSessionsRequest$: StaticStructureSchema;
|
|
60
|
+
export declare var ListSessionsResponse$: StaticStructureSchema;
|
|
53
61
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
54
62
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
55
63
|
export declare var ManagedPersistenceMonitoringConfiguration$: StaticStructureSchema;
|
|
@@ -61,15 +69,22 @@ export declare var ResourceUtilization$: StaticStructureSchema;
|
|
|
61
69
|
export declare var RetryPolicy$: StaticStructureSchema;
|
|
62
70
|
export declare var S3MonitoringConfiguration$: StaticStructureSchema;
|
|
63
71
|
export declare var SchedulerConfiguration$: StaticStructureSchema;
|
|
72
|
+
export declare var Session$: StaticStructureSchema;
|
|
73
|
+
export declare var SessionConfigurationOverrides$: StaticStructureSchema;
|
|
74
|
+
export declare var SessionSummary$: StaticStructureSchema;
|
|
64
75
|
export declare var SparkSubmit$: StaticStructureSchema;
|
|
65
76
|
export declare var StartApplicationRequest$: StaticStructureSchema;
|
|
66
77
|
export declare var StartApplicationResponse$: StaticStructureSchema;
|
|
67
78
|
export declare var StartJobRunRequest$: StaticStructureSchema;
|
|
68
79
|
export declare var StartJobRunResponse$: StaticStructureSchema;
|
|
80
|
+
export declare var StartSessionRequest$: StaticStructureSchema;
|
|
81
|
+
export declare var StartSessionResponse$: StaticStructureSchema;
|
|
69
82
|
export declare var StopApplicationRequest$: StaticStructureSchema;
|
|
70
83
|
export declare var StopApplicationResponse$: StaticStructureSchema;
|
|
71
84
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
72
85
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
86
|
+
export declare var TerminateSessionRequest$: StaticStructureSchema;
|
|
87
|
+
export declare var TerminateSessionResponse$: StaticStructureSchema;
|
|
73
88
|
export declare var TotalResourceUtilization$: StaticStructureSchema;
|
|
74
89
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
75
90
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
@@ -85,13 +100,19 @@ export declare var DeleteApplication$: StaticOperationSchema;
|
|
|
85
100
|
export declare var GetApplication$: StaticOperationSchema;
|
|
86
101
|
export declare var GetDashboardForJobRun$: StaticOperationSchema;
|
|
87
102
|
export declare var GetJobRun$: StaticOperationSchema;
|
|
103
|
+
export declare var GetResourceDashboard$: StaticOperationSchema;
|
|
104
|
+
export declare var GetSession$: StaticOperationSchema;
|
|
105
|
+
export declare var GetSessionEndpoint$: StaticOperationSchema;
|
|
88
106
|
export declare var ListApplications$: StaticOperationSchema;
|
|
89
107
|
export declare var ListJobRunAttempts$: StaticOperationSchema;
|
|
90
108
|
export declare var ListJobRuns$: StaticOperationSchema;
|
|
109
|
+
export declare var ListSessions$: StaticOperationSchema;
|
|
91
110
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
92
111
|
export declare var StartApplication$: StaticOperationSchema;
|
|
93
112
|
export declare var StartJobRun$: StaticOperationSchema;
|
|
113
|
+
export declare var StartSession$: StaticOperationSchema;
|
|
94
114
|
export declare var StopApplication$: StaticOperationSchema;
|
|
95
115
|
export declare var TagResource$: StaticOperationSchema;
|
|
116
|
+
export declare var TerminateSession$: StaticOperationSchema;
|
|
96
117
|
export declare var UntagResource$: StaticOperationSchema;
|
|
97
118
|
export declare var UpdateApplication$: StaticOperationSchema;
|