@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.
Files changed (47) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +103 -0
  3. package/dist-cjs/schemas/schemas_0.js +140 -8
  4. package/dist-es/EMRServerless.js +14 -0
  5. package/dist-es/commands/GetResourceDashboardCommand.js +16 -0
  6. package/dist-es/commands/GetSessionCommand.js +16 -0
  7. package/dist-es/commands/GetSessionEndpointCommand.js +16 -0
  8. package/dist-es/commands/ListSessionsCommand.js +16 -0
  9. package/dist-es/commands/StartSessionCommand.js +16 -0
  10. package/dist-es/commands/TerminateSessionCommand.js +16 -0
  11. package/dist-es/commands/index.js +6 -0
  12. package/dist-es/models/enums.js +13 -0
  13. package/dist-es/pagination/ListSessionsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/schemas/schemas_0.js +137 -6
  16. package/dist-types/EMRServerless.d.ts +49 -0
  17. package/dist-types/EMRServerlessClient.d.ts +8 -2
  18. package/dist-types/commands/CreateApplicationCommand.d.ts +1 -0
  19. package/dist-types/commands/GetApplicationCommand.d.ts +1 -0
  20. package/dist-types/commands/GetResourceDashboardCommand.d.ts +85 -0
  21. package/dist-types/commands/GetSessionCommand.d.ts +141 -0
  22. package/dist-types/commands/GetSessionEndpointCommand.d.ts +88 -0
  23. package/dist-types/commands/ListSessionsCommand.d.ts +105 -0
  24. package/dist-types/commands/StartSessionCommand.d.ts +117 -0
  25. package/dist-types/commands/TerminateSessionCommand.d.ts +85 -0
  26. package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -0
  27. package/dist-types/commands/index.d.ts +6 -0
  28. package/dist-types/models/enums.d.ts +29 -0
  29. package/dist-types/models/models_0.d.ts +429 -1
  30. package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/schemas/schemas_0.d.ts +21 -0
  33. package/dist-types/ts3.4/EMRServerless.d.ts +109 -0
  34. package/dist-types/ts3.4/EMRServerlessClient.d.ts +36 -0
  35. package/dist-types/ts3.4/commands/GetResourceDashboardCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
  37. package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
  39. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +47 -0
  40. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +50 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  42. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +102 -0
  44. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  47. package/package.json +18 -18
@@ -27,6 +27,18 @@ import {
27
27
  GetJobRunCommandInput,
28
28
  GetJobRunCommandOutput,
29
29
  } from "./commands/GetJobRunCommand";
30
+ import {
31
+ GetResourceDashboardCommandInput,
32
+ GetResourceDashboardCommandOutput,
33
+ } from "./commands/GetResourceDashboardCommand";
34
+ import {
35
+ GetSessionCommandInput,
36
+ GetSessionCommandOutput,
37
+ } from "./commands/GetSessionCommand";
38
+ import {
39
+ GetSessionEndpointCommandInput,
40
+ GetSessionEndpointCommandOutput,
41
+ } from "./commands/GetSessionEndpointCommand";
30
42
  import {
31
43
  ListApplicationsCommandInput,
32
44
  ListApplicationsCommandOutput,
@@ -39,6 +51,10 @@ import {
39
51
  ListJobRunsCommandInput,
40
52
  ListJobRunsCommandOutput,
41
53
  } from "./commands/ListJobRunsCommand";
54
+ import {
55
+ ListSessionsCommandInput,
56
+ ListSessionsCommandOutput,
57
+ } from "./commands/ListSessionsCommand";
42
58
  import {
43
59
  ListTagsForResourceCommandInput,
44
60
  ListTagsForResourceCommandOutput,
@@ -51,6 +67,10 @@ import {
51
67
  StartJobRunCommandInput,
52
68
  StartJobRunCommandOutput,
53
69
  } from "./commands/StartJobRunCommand";
70
+ import {
71
+ StartSessionCommandInput,
72
+ StartSessionCommandOutput,
73
+ } from "./commands/StartSessionCommand";
54
74
  import {
55
75
  StopApplicationCommandInput,
56
76
  StopApplicationCommandOutput,
@@ -59,6 +79,10 @@ import {
59
79
  TagResourceCommandInput,
60
80
  TagResourceCommandOutput,
61
81
  } from "./commands/TagResourceCommand";
82
+ import {
83
+ TerminateSessionCommandInput,
84
+ TerminateSessionCommandOutput,
85
+ } from "./commands/TerminateSessionCommand";
62
86
  import {
63
87
  UntagResourceCommandInput,
64
88
  UntagResourceCommandOutput,
@@ -147,6 +171,45 @@ export interface EMRServerless {
147
171
  options: __HttpHandlerOptions,
148
172
  cb: (err: any, data?: GetJobRunCommandOutput) => void
149
173
  ): void;
174
+ getResourceDashboard(
175
+ args: GetResourceDashboardCommandInput,
176
+ options?: __HttpHandlerOptions
177
+ ): Promise<GetResourceDashboardCommandOutput>;
178
+ getResourceDashboard(
179
+ args: GetResourceDashboardCommandInput,
180
+ cb: (err: any, data?: GetResourceDashboardCommandOutput) => void
181
+ ): void;
182
+ getResourceDashboard(
183
+ args: GetResourceDashboardCommandInput,
184
+ options: __HttpHandlerOptions,
185
+ cb: (err: any, data?: GetResourceDashboardCommandOutput) => void
186
+ ): void;
187
+ getSession(
188
+ args: GetSessionCommandInput,
189
+ options?: __HttpHandlerOptions
190
+ ): Promise<GetSessionCommandOutput>;
191
+ getSession(
192
+ args: GetSessionCommandInput,
193
+ cb: (err: any, data?: GetSessionCommandOutput) => void
194
+ ): void;
195
+ getSession(
196
+ args: GetSessionCommandInput,
197
+ options: __HttpHandlerOptions,
198
+ cb: (err: any, data?: GetSessionCommandOutput) => void
199
+ ): void;
200
+ getSessionEndpoint(
201
+ args: GetSessionEndpointCommandInput,
202
+ options?: __HttpHandlerOptions
203
+ ): Promise<GetSessionEndpointCommandOutput>;
204
+ getSessionEndpoint(
205
+ args: GetSessionEndpointCommandInput,
206
+ cb: (err: any, data?: GetSessionEndpointCommandOutput) => void
207
+ ): void;
208
+ getSessionEndpoint(
209
+ args: GetSessionEndpointCommandInput,
210
+ options: __HttpHandlerOptions,
211
+ cb: (err: any, data?: GetSessionEndpointCommandOutput) => void
212
+ ): void;
150
213
  listApplications(): Promise<ListApplicationsCommandOutput>;
151
214
  listApplications(
152
215
  args: ListApplicationsCommandInput,
@@ -187,6 +250,19 @@ export interface EMRServerless {
187
250
  options: __HttpHandlerOptions,
188
251
  cb: (err: any, data?: ListJobRunsCommandOutput) => void
189
252
  ): void;
253
+ listSessions(
254
+ args: ListSessionsCommandInput,
255
+ options?: __HttpHandlerOptions
256
+ ): Promise<ListSessionsCommandOutput>;
257
+ listSessions(
258
+ args: ListSessionsCommandInput,
259
+ cb: (err: any, data?: ListSessionsCommandOutput) => void
260
+ ): void;
261
+ listSessions(
262
+ args: ListSessionsCommandInput,
263
+ options: __HttpHandlerOptions,
264
+ cb: (err: any, data?: ListSessionsCommandOutput) => void
265
+ ): void;
190
266
  listTagsForResource(
191
267
  args: ListTagsForResourceCommandInput,
192
268
  options?: __HttpHandlerOptions
@@ -226,6 +302,19 @@ export interface EMRServerless {
226
302
  options: __HttpHandlerOptions,
227
303
  cb: (err: any, data?: StartJobRunCommandOutput) => void
228
304
  ): void;
305
+ startSession(
306
+ args: StartSessionCommandInput,
307
+ options?: __HttpHandlerOptions
308
+ ): Promise<StartSessionCommandOutput>;
309
+ startSession(
310
+ args: StartSessionCommandInput,
311
+ cb: (err: any, data?: StartSessionCommandOutput) => void
312
+ ): void;
313
+ startSession(
314
+ args: StartSessionCommandInput,
315
+ options: __HttpHandlerOptions,
316
+ cb: (err: any, data?: StartSessionCommandOutput) => void
317
+ ): void;
229
318
  stopApplication(
230
319
  args: StopApplicationCommandInput,
231
320
  options?: __HttpHandlerOptions
@@ -252,6 +341,19 @@ export interface EMRServerless {
252
341
  options: __HttpHandlerOptions,
253
342
  cb: (err: any, data?: TagResourceCommandOutput) => void
254
343
  ): void;
344
+ terminateSession(
345
+ args: TerminateSessionCommandInput,
346
+ options?: __HttpHandlerOptions
347
+ ): Promise<TerminateSessionCommandOutput>;
348
+ terminateSession(
349
+ args: TerminateSessionCommandInput,
350
+ cb: (err: any, data?: TerminateSessionCommandOutput) => void
351
+ ): void;
352
+ terminateSession(
353
+ args: TerminateSessionCommandInput,
354
+ options: __HttpHandlerOptions,
355
+ cb: (err: any, data?: TerminateSessionCommandOutput) => void
356
+ ): void;
255
357
  untagResource(
256
358
  args: UntagResourceCommandInput,
257
359
  options?: __HttpHandlerOptions
@@ -299,6 +401,13 @@ export interface EMRServerless {
299
401
  Exclude<keyof PaginationConfiguration, "client">
300
402
  >
301
403
  ): Paginator<ListJobRunsCommandOutput>;
404
+ paginateListSessions(
405
+ args: ListSessionsCommandInput,
406
+ paginationConfig?: Pick<
407
+ PaginationConfiguration,
408
+ Exclude<keyof PaginationConfiguration, "client">
409
+ >
410
+ ): Paginator<ListSessionsCommandOutput>;
302
411
  }
303
412
  export declare class EMRServerless
304
413
  extends EMRServerlessClient
@@ -68,6 +68,18 @@ import {
68
68
  GetJobRunCommandInput,
69
69
  GetJobRunCommandOutput,
70
70
  } from "./commands/GetJobRunCommand";
71
+ import {
72
+ GetResourceDashboardCommandInput,
73
+ GetResourceDashboardCommandOutput,
74
+ } from "./commands/GetResourceDashboardCommand";
75
+ import {
76
+ GetSessionCommandInput,
77
+ GetSessionCommandOutput,
78
+ } from "./commands/GetSessionCommand";
79
+ import {
80
+ GetSessionEndpointCommandInput,
81
+ GetSessionEndpointCommandOutput,
82
+ } from "./commands/GetSessionEndpointCommand";
71
83
  import {
72
84
  ListApplicationsCommandInput,
73
85
  ListApplicationsCommandOutput,
@@ -80,6 +92,10 @@ import {
80
92
  ListJobRunsCommandInput,
81
93
  ListJobRunsCommandOutput,
82
94
  } from "./commands/ListJobRunsCommand";
95
+ import {
96
+ ListSessionsCommandInput,
97
+ ListSessionsCommandOutput,
98
+ } from "./commands/ListSessionsCommand";
83
99
  import {
84
100
  ListTagsForResourceCommandInput,
85
101
  ListTagsForResourceCommandOutput,
@@ -92,6 +108,10 @@ import {
92
108
  StartJobRunCommandInput,
93
109
  StartJobRunCommandOutput,
94
110
  } from "./commands/StartJobRunCommand";
111
+ import {
112
+ StartSessionCommandInput,
113
+ StartSessionCommandOutput,
114
+ } from "./commands/StartSessionCommand";
95
115
  import {
96
116
  StopApplicationCommandInput,
97
117
  StopApplicationCommandOutput,
@@ -100,6 +120,10 @@ import {
100
120
  TagResourceCommandInput,
101
121
  TagResourceCommandOutput,
102
122
  } from "./commands/TagResourceCommand";
123
+ import {
124
+ TerminateSessionCommandInput,
125
+ TerminateSessionCommandOutput,
126
+ } from "./commands/TerminateSessionCommand";
103
127
  import {
104
128
  UntagResourceCommandInput,
105
129
  UntagResourceCommandOutput,
@@ -122,14 +146,20 @@ export type ServiceInputTypes =
122
146
  | GetApplicationCommandInput
123
147
  | GetDashboardForJobRunCommandInput
124
148
  | GetJobRunCommandInput
149
+ | GetResourceDashboardCommandInput
150
+ | GetSessionCommandInput
151
+ | GetSessionEndpointCommandInput
125
152
  | ListApplicationsCommandInput
126
153
  | ListJobRunAttemptsCommandInput
127
154
  | ListJobRunsCommandInput
155
+ | ListSessionsCommandInput
128
156
  | ListTagsForResourceCommandInput
129
157
  | StartApplicationCommandInput
130
158
  | StartJobRunCommandInput
159
+ | StartSessionCommandInput
131
160
  | StopApplicationCommandInput
132
161
  | TagResourceCommandInput
162
+ | TerminateSessionCommandInput
133
163
  | UntagResourceCommandInput
134
164
  | UpdateApplicationCommandInput;
135
165
  export type ServiceOutputTypes =
@@ -139,14 +169,20 @@ export type ServiceOutputTypes =
139
169
  | GetApplicationCommandOutput
140
170
  | GetDashboardForJobRunCommandOutput
141
171
  | GetJobRunCommandOutput
172
+ | GetResourceDashboardCommandOutput
173
+ | GetSessionCommandOutput
174
+ | GetSessionEndpointCommandOutput
142
175
  | ListApplicationsCommandOutput
143
176
  | ListJobRunAttemptsCommandOutput
144
177
  | ListJobRunsCommandOutput
178
+ | ListSessionsCommandOutput
145
179
  | ListTagsForResourceCommandOutput
146
180
  | StartApplicationCommandOutput
147
181
  | StartJobRunCommandOutput
182
+ | StartSessionCommandOutput
148
183
  | StopApplicationCommandOutput
149
184
  | TagResourceCommandOutput
185
+ | TerminateSessionCommandOutput
150
186
  | UntagResourceCommandOutput
151
187
  | UpdateApplicationCommandOutput;
152
188
  export interface ClientDefaults
@@ -0,0 +1,51 @@
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
+ GetResourceDashboardRequest,
10
+ GetResourceDashboardResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetResourceDashboardCommandInput
15
+ extends GetResourceDashboardRequest {}
16
+ export interface GetResourceDashboardCommandOutput
17
+ extends GetResourceDashboardResponse,
18
+ __MetadataBearer {}
19
+ declare const GetResourceDashboardCommand_base: {
20
+ new (
21
+ input: GetResourceDashboardCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetResourceDashboardCommandInput,
24
+ GetResourceDashboardCommandOutput,
25
+ EMRServerlessClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetResourceDashboardCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetResourceDashboardCommandInput,
33
+ GetResourceDashboardCommandOutput,
34
+ EMRServerlessClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetResourceDashboardCommand extends GetResourceDashboardCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetResourceDashboardRequest;
44
+ output: GetResourceDashboardResponse;
45
+ };
46
+ sdk: {
47
+ input: GetResourceDashboardCommandInput;
48
+ output: GetResourceDashboardCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
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 { GetSessionRequest, GetSessionResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface GetSessionCommandInput extends GetSessionRequest {}
12
+ export interface GetSessionCommandOutput
13
+ extends GetSessionResponse,
14
+ __MetadataBearer {}
15
+ declare const GetSessionCommand_base: {
16
+ new (
17
+ input: GetSessionCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ GetSessionCommandInput,
20
+ GetSessionCommandOutput,
21
+ EMRServerlessClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: GetSessionCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ GetSessionCommandInput,
29
+ GetSessionCommandOutput,
30
+ EMRServerlessClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class GetSessionCommand extends GetSessionCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: GetSessionRequest;
40
+ output: GetSessionResponse;
41
+ };
42
+ sdk: {
43
+ input: GetSessionCommandInput;
44
+ output: GetSessionCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,51 @@
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
+ GetSessionEndpointRequest,
10
+ GetSessionEndpointResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetSessionEndpointCommandInput
15
+ extends GetSessionEndpointRequest {}
16
+ export interface GetSessionEndpointCommandOutput
17
+ extends GetSessionEndpointResponse,
18
+ __MetadataBearer {}
19
+ declare const GetSessionEndpointCommand_base: {
20
+ new (
21
+ input: GetSessionEndpointCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetSessionEndpointCommandInput,
24
+ GetSessionEndpointCommandOutput,
25
+ EMRServerlessClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetSessionEndpointCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetSessionEndpointCommandInput,
33
+ GetSessionEndpointCommandOutput,
34
+ EMRServerlessClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetSessionEndpointCommand extends GetSessionEndpointCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetSessionEndpointRequest;
44
+ output: GetSessionEndpointResponse;
45
+ };
46
+ sdk: {
47
+ input: GetSessionEndpointCommandInput;
48
+ output: GetSessionEndpointCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
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 { ListSessionsRequest, ListSessionsResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ListSessionsCommandInput extends ListSessionsRequest {}
12
+ export interface ListSessionsCommandOutput
13
+ extends ListSessionsResponse,
14
+ __MetadataBearer {}
15
+ declare const ListSessionsCommand_base: {
16
+ new (
17
+ input: ListSessionsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ListSessionsCommandInput,
20
+ ListSessionsCommandOutput,
21
+ EMRServerlessClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: ListSessionsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ListSessionsCommandInput,
29
+ ListSessionsCommandOutput,
30
+ EMRServerlessClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ListSessionsCommand extends ListSessionsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ListSessionsRequest;
40
+ output: ListSessionsResponse;
41
+ };
42
+ sdk: {
43
+ input: ListSessionsCommandInput;
44
+ output: ListSessionsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,47 @@
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 { StartSessionRequest, StartSessionResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface StartSessionCommandInput extends StartSessionRequest {}
12
+ export interface StartSessionCommandOutput
13
+ extends StartSessionResponse,
14
+ __MetadataBearer {}
15
+ declare const StartSessionCommand_base: {
16
+ new (
17
+ input: StartSessionCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ StartSessionCommandInput,
20
+ StartSessionCommandOutput,
21
+ EMRServerlessClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: StartSessionCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ StartSessionCommandInput,
29
+ StartSessionCommandOutput,
30
+ EMRServerlessClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class StartSessionCommand extends StartSessionCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: StartSessionRequest;
40
+ output: StartSessionResponse;
41
+ };
42
+ sdk: {
43
+ input: StartSessionCommandInput;
44
+ output: StartSessionCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,50 @@
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
+ TerminateSessionRequest,
10
+ TerminateSessionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface TerminateSessionCommandInput extends TerminateSessionRequest {}
15
+ export interface TerminateSessionCommandOutput
16
+ extends TerminateSessionResponse,
17
+ __MetadataBearer {}
18
+ declare const TerminateSessionCommand_base: {
19
+ new (
20
+ input: TerminateSessionCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ TerminateSessionCommandInput,
23
+ TerminateSessionCommandOutput,
24
+ EMRServerlessClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: TerminateSessionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ TerminateSessionCommandInput,
32
+ TerminateSessionCommandOutput,
33
+ EMRServerlessClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class TerminateSessionCommand extends TerminateSessionCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: TerminateSessionRequest;
43
+ output: TerminateSessionResponse;
44
+ };
45
+ sdk: {
46
+ input: TerminateSessionCommandInput;
47
+ output: TerminateSessionCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -4,13 +4,19 @@ export * from "./DeleteApplicationCommand";
4
4
  export * from "./GetApplicationCommand";
5
5
  export * from "./GetDashboardForJobRunCommand";
6
6
  export * from "./GetJobRunCommand";
7
+ export * from "./GetResourceDashboardCommand";
8
+ export * from "./GetSessionCommand";
9
+ export * from "./GetSessionEndpointCommand";
7
10
  export * from "./ListApplicationsCommand";
8
11
  export * from "./ListJobRunAttemptsCommand";
9
12
  export * from "./ListJobRunsCommand";
13
+ export * from "./ListSessionsCommand";
10
14
  export * from "./ListTagsForResourceCommand";
11
15
  export * from "./StartApplicationCommand";
12
16
  export * from "./StartJobRunCommand";
17
+ export * from "./StartSessionCommand";
13
18
  export * from "./StopApplicationCommand";
14
19
  export * from "./TagResourceCommand";
20
+ export * from "./TerminateSessionCommand";
15
21
  export * from "./UntagResourceCommand";
16
22
  export * from "./UpdateApplicationCommand";
@@ -14,6 +14,10 @@ export declare const ApplicationState: {
14
14
  };
15
15
  export type ApplicationState =
16
16
  (typeof ApplicationState)[keyof typeof ApplicationState];
17
+ export declare const ResourceType: {
18
+ readonly SESSION: "SESSION";
19
+ };
20
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
17
21
  export declare const JobRunMode: {
18
22
  readonly BATCH: "BATCH";
19
23
  readonly STREAMING: "STREAMING";
@@ -31,3 +35,14 @@ export declare const JobRunState: {
31
35
  readonly SUCCESS: "SUCCESS";
32
36
  };
33
37
  export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
38
+ export declare const SessionState: {
39
+ readonly BUSY: "BUSY";
40
+ readonly FAILED: "FAILED";
41
+ readonly IDLE: "IDLE";
42
+ readonly STARTED: "STARTED";
43
+ readonly STARTING: "STARTING";
44
+ readonly SUBMITTED: "SUBMITTED";
45
+ readonly TERMINATED: "TERMINATED";
46
+ readonly TERMINATING: "TERMINATING";
47
+ };
48
+ export type SessionState = (typeof SessionState)[keyof typeof SessionState];