@aws-sdk/client-emr 3.1060.0 → 3.1062.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 (45) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +85 -0
  3. package/dist-cjs/schemas/schemas_0.js +178 -32
  4. package/dist-es/EMR.js +12 -0
  5. package/dist-es/commands/GetSessionCommand.js +16 -0
  6. package/dist-es/commands/GetSessionEndpointCommand.js +16 -0
  7. package/dist-es/commands/ListSessionsCommand.js +16 -0
  8. package/dist-es/commands/StartSessionCommand.js +16 -0
  9. package/dist-es/commands/TerminateSessionCommand.js +16 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/enums.js +10 -0
  12. package/dist-es/pagination/ListSessionsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/schemas/schemas_0.js +171 -26
  15. package/dist-types/EMR.d.ts +42 -0
  16. package/dist-types/EMRClient.d.ts +7 -2
  17. package/dist-types/commands/AddTagsCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeClusterCommand.d.ts +1 -0
  19. package/dist-types/commands/GetSessionCommand.d.ts +155 -0
  20. package/dist-types/commands/GetSessionEndpointCommand.d.ts +92 -0
  21. package/dist-types/commands/ListSessionsCommand.d.ts +162 -0
  22. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -0
  23. package/dist-types/commands/RunJobFlowCommand.d.ts +1 -0
  24. package/dist-types/commands/StartSessionCommand.d.ts +141 -0
  25. package/dist-types/commands/TerminateSessionCommand.d.ts +86 -0
  26. package/dist-types/commands/index.d.ts +5 -0
  27. package/dist-types/models/enums.d.ts +18 -0
  28. package/dist-types/models/models_0.d.ts +473 -7
  29. package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
  30. package/dist-types/pagination/index.d.ts +1 -0
  31. package/dist-types/schemas/schemas_0.d.ts +21 -0
  32. package/dist-types/ts3.4/EMR.d.ts +92 -0
  33. package/dist-types/ts3.4/EMRClient.d.ts +30 -0
  34. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +49 -0
  35. package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
  36. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +49 -0
  37. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +49 -0
  38. package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +52 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  40. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +108 -0
  42. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  43. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  44. package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  45. package/package.json +2 -2
@@ -109,6 +109,14 @@ import {
109
109
  GetPersistentAppUIPresignedURLCommandInput,
110
110
  GetPersistentAppUIPresignedURLCommandOutput,
111
111
  } from "./commands/GetPersistentAppUIPresignedURLCommand";
112
+ import {
113
+ GetSessionCommandInput,
114
+ GetSessionCommandOutput,
115
+ } from "./commands/GetSessionCommand";
116
+ import {
117
+ GetSessionEndpointCommandInput,
118
+ GetSessionEndpointCommandOutput,
119
+ } from "./commands/GetSessionEndpointCommand";
112
120
  import {
113
121
  GetStudioSessionMappingCommandInput,
114
122
  GetStudioSessionMappingCommandOutput,
@@ -145,6 +153,10 @@ import {
145
153
  ListSecurityConfigurationsCommandInput,
146
154
  ListSecurityConfigurationsCommandOutput,
147
155
  } from "./commands/ListSecurityConfigurationsCommand";
156
+ import {
157
+ ListSessionsCommandInput,
158
+ ListSessionsCommandOutput,
159
+ } from "./commands/ListSessionsCommand";
148
160
  import {
149
161
  ListStepsCommandInput,
150
162
  ListStepsCommandOutput,
@@ -229,6 +241,10 @@ import {
229
241
  StartNotebookExecutionCommandInput,
230
242
  StartNotebookExecutionCommandOutput,
231
243
  } from "./commands/StartNotebookExecutionCommand";
244
+ import {
245
+ StartSessionCommandInput,
246
+ StartSessionCommandOutput,
247
+ } from "./commands/StartSessionCommand";
232
248
  import {
233
249
  StopNotebookExecutionCommandInput,
234
250
  StopNotebookExecutionCommandOutput,
@@ -237,6 +253,10 @@ import {
237
253
  TerminateJobFlowsCommandInput,
238
254
  TerminateJobFlowsCommandOutput,
239
255
  } from "./commands/TerminateJobFlowsCommand";
256
+ import {
257
+ TerminateSessionCommandInput,
258
+ TerminateSessionCommandOutput,
259
+ } from "./commands/TerminateSessionCommand";
240
260
  import {
241
261
  UpdateStudioCommandInput,
242
262
  UpdateStudioCommandOutput,
@@ -594,6 +614,32 @@ export interface EMR {
594
614
  options: __HttpHandlerOptions,
595
615
  cb: (err: any, data?: GetPersistentAppUIPresignedURLCommandOutput) => void
596
616
  ): void;
617
+ getSession(
618
+ args: GetSessionCommandInput,
619
+ options?: __HttpHandlerOptions
620
+ ): Promise<GetSessionCommandOutput>;
621
+ getSession(
622
+ args: GetSessionCommandInput,
623
+ cb: (err: any, data?: GetSessionCommandOutput) => void
624
+ ): void;
625
+ getSession(
626
+ args: GetSessionCommandInput,
627
+ options: __HttpHandlerOptions,
628
+ cb: (err: any, data?: GetSessionCommandOutput) => void
629
+ ): void;
630
+ getSessionEndpoint(
631
+ args: GetSessionEndpointCommandInput,
632
+ options?: __HttpHandlerOptions
633
+ ): Promise<GetSessionEndpointCommandOutput>;
634
+ getSessionEndpoint(
635
+ args: GetSessionEndpointCommandInput,
636
+ cb: (err: any, data?: GetSessionEndpointCommandOutput) => void
637
+ ): void;
638
+ getSessionEndpoint(
639
+ args: GetSessionEndpointCommandInput,
640
+ options: __HttpHandlerOptions,
641
+ cb: (err: any, data?: GetSessionEndpointCommandOutput) => void
642
+ ): void;
597
643
  getStudioSessionMapping(
598
644
  args: GetStudioSessionMappingCommandInput,
599
645
  options?: __HttpHandlerOptions
@@ -715,6 +761,19 @@ export interface EMR {
715
761
  options: __HttpHandlerOptions,
716
762
  cb: (err: any, data?: ListSecurityConfigurationsCommandOutput) => void
717
763
  ): void;
764
+ listSessions(
765
+ args: ListSessionsCommandInput,
766
+ options?: __HttpHandlerOptions
767
+ ): Promise<ListSessionsCommandOutput>;
768
+ listSessions(
769
+ args: ListSessionsCommandInput,
770
+ cb: (err: any, data?: ListSessionsCommandOutput) => void
771
+ ): void;
772
+ listSessions(
773
+ args: ListSessionsCommandInput,
774
+ options: __HttpHandlerOptions,
775
+ cb: (err: any, data?: ListSessionsCommandOutput) => void
776
+ ): void;
718
777
  listSteps(
719
778
  args: ListStepsCommandInput,
720
779
  options?: __HttpHandlerOptions
@@ -997,6 +1056,19 @@ export interface EMR {
997
1056
  options: __HttpHandlerOptions,
998
1057
  cb: (err: any, data?: StartNotebookExecutionCommandOutput) => void
999
1058
  ): void;
1059
+ startSession(
1060
+ args: StartSessionCommandInput,
1061
+ options?: __HttpHandlerOptions
1062
+ ): Promise<StartSessionCommandOutput>;
1063
+ startSession(
1064
+ args: StartSessionCommandInput,
1065
+ cb: (err: any, data?: StartSessionCommandOutput) => void
1066
+ ): void;
1067
+ startSession(
1068
+ args: StartSessionCommandInput,
1069
+ options: __HttpHandlerOptions,
1070
+ cb: (err: any, data?: StartSessionCommandOutput) => void
1071
+ ): void;
1000
1072
  stopNotebookExecution(
1001
1073
  args: StopNotebookExecutionCommandInput,
1002
1074
  options?: __HttpHandlerOptions
@@ -1023,6 +1095,19 @@ export interface EMR {
1023
1095
  options: __HttpHandlerOptions,
1024
1096
  cb: (err: any, data?: TerminateJobFlowsCommandOutput) => void
1025
1097
  ): void;
1098
+ terminateSession(
1099
+ args: TerminateSessionCommandInput,
1100
+ options?: __HttpHandlerOptions
1101
+ ): Promise<TerminateSessionCommandOutput>;
1102
+ terminateSession(
1103
+ args: TerminateSessionCommandInput,
1104
+ cb: (err: any, data?: TerminateSessionCommandOutput) => void
1105
+ ): void;
1106
+ terminateSession(
1107
+ args: TerminateSessionCommandInput,
1108
+ options: __HttpHandlerOptions,
1109
+ cb: (err: any, data?: TerminateSessionCommandOutput) => void
1110
+ ): void;
1026
1111
  updateStudio(
1027
1112
  args: UpdateStudioCommandInput,
1028
1113
  options?: __HttpHandlerOptions
@@ -1105,6 +1190,13 @@ export interface EMR {
1105
1190
  Exclude<keyof PaginationConfiguration, "client">
1106
1191
  >
1107
1192
  ): Paginator<ListSecurityConfigurationsCommandOutput>;
1193
+ paginateListSessions(
1194
+ args: ListSessionsCommandInput,
1195
+ paginationConfig?: Pick<
1196
+ PaginationConfiguration,
1197
+ Exclude<keyof PaginationConfiguration, "client">
1198
+ >
1199
+ ): Paginator<ListSessionsCommandOutput>;
1108
1200
  paginateListSteps(
1109
1201
  args: ListStepsCommandInput,
1110
1202
  paginationConfig?: Pick<
@@ -140,6 +140,14 @@ import {
140
140
  GetPersistentAppUIPresignedURLCommandInput,
141
141
  GetPersistentAppUIPresignedURLCommandOutput,
142
142
  } from "./commands/GetPersistentAppUIPresignedURLCommand";
143
+ import {
144
+ GetSessionCommandInput,
145
+ GetSessionCommandOutput,
146
+ } from "./commands/GetSessionCommand";
147
+ import {
148
+ GetSessionEndpointCommandInput,
149
+ GetSessionEndpointCommandOutput,
150
+ } from "./commands/GetSessionEndpointCommand";
143
151
  import {
144
152
  GetStudioSessionMappingCommandInput,
145
153
  GetStudioSessionMappingCommandOutput,
@@ -176,6 +184,10 @@ import {
176
184
  ListSecurityConfigurationsCommandInput,
177
185
  ListSecurityConfigurationsCommandOutput,
178
186
  } from "./commands/ListSecurityConfigurationsCommand";
187
+ import {
188
+ ListSessionsCommandInput,
189
+ ListSessionsCommandOutput,
190
+ } from "./commands/ListSessionsCommand";
179
191
  import {
180
192
  ListStepsCommandInput,
181
193
  ListStepsCommandOutput,
@@ -260,6 +272,10 @@ import {
260
272
  StartNotebookExecutionCommandInput,
261
273
  StartNotebookExecutionCommandOutput,
262
274
  } from "./commands/StartNotebookExecutionCommand";
275
+ import {
276
+ StartSessionCommandInput,
277
+ StartSessionCommandOutput,
278
+ } from "./commands/StartSessionCommand";
263
279
  import {
264
280
  StopNotebookExecutionCommandInput,
265
281
  StopNotebookExecutionCommandOutput,
@@ -268,6 +284,10 @@ import {
268
284
  TerminateJobFlowsCommandInput,
269
285
  TerminateJobFlowsCommandOutput,
270
286
  } from "./commands/TerminateJobFlowsCommand";
287
+ import {
288
+ TerminateSessionCommandInput,
289
+ TerminateSessionCommandOutput,
290
+ } from "./commands/TerminateSessionCommand";
271
291
  import {
272
292
  UpdateStudioCommandInput,
273
293
  UpdateStudioCommandOutput,
@@ -310,6 +330,8 @@ export type ServiceInputTypes =
310
330
  | GetManagedScalingPolicyCommandInput
311
331
  | GetOnClusterAppUIPresignedURLCommandInput
312
332
  | GetPersistentAppUIPresignedURLCommandInput
333
+ | GetSessionCommandInput
334
+ | GetSessionEndpointCommandInput
313
335
  | GetStudioSessionMappingCommandInput
314
336
  | ListBootstrapActionsCommandInput
315
337
  | ListClustersCommandInput
@@ -319,6 +341,7 @@ export type ServiceInputTypes =
319
341
  | ListNotebookExecutionsCommandInput
320
342
  | ListReleaseLabelsCommandInput
321
343
  | ListSecurityConfigurationsCommandInput
344
+ | ListSessionsCommandInput
322
345
  | ListStepsCommandInput
323
346
  | ListStudioSessionMappingsCommandInput
324
347
  | ListStudiosCommandInput
@@ -340,8 +363,10 @@ export type ServiceInputTypes =
340
363
  | SetUnhealthyNodeReplacementCommandInput
341
364
  | SetVisibleToAllUsersCommandInput
342
365
  | StartNotebookExecutionCommandInput
366
+ | StartSessionCommandInput
343
367
  | StopNotebookExecutionCommandInput
344
368
  | TerminateJobFlowsCommandInput
369
+ | TerminateSessionCommandInput
345
370
  | UpdateStudioCommandInput
346
371
  | UpdateStudioSessionMappingCommandInput;
347
372
  export type ServiceOutputTypes =
@@ -371,6 +396,8 @@ export type ServiceOutputTypes =
371
396
  | GetManagedScalingPolicyCommandOutput
372
397
  | GetOnClusterAppUIPresignedURLCommandOutput
373
398
  | GetPersistentAppUIPresignedURLCommandOutput
399
+ | GetSessionCommandOutput
400
+ | GetSessionEndpointCommandOutput
374
401
  | GetStudioSessionMappingCommandOutput
375
402
  | ListBootstrapActionsCommandOutput
376
403
  | ListClustersCommandOutput
@@ -380,6 +407,7 @@ export type ServiceOutputTypes =
380
407
  | ListNotebookExecutionsCommandOutput
381
408
  | ListReleaseLabelsCommandOutput
382
409
  | ListSecurityConfigurationsCommandOutput
410
+ | ListSessionsCommandOutput
383
411
  | ListStepsCommandOutput
384
412
  | ListStudioSessionMappingsCommandOutput
385
413
  | ListStudiosCommandOutput
@@ -401,8 +429,10 @@ export type ServiceOutputTypes =
401
429
  | SetUnhealthyNodeReplacementCommandOutput
402
430
  | SetVisibleToAllUsersCommandOutput
403
431
  | StartNotebookExecutionCommandOutput
432
+ | StartSessionCommandOutput
404
433
  | StopNotebookExecutionCommandOutput
405
434
  | TerminateJobFlowsCommandOutput
435
+ | TerminateSessionCommandOutput
406
436
  | UpdateStudioCommandOutput
407
437
  | UpdateStudioSessionMappingCommandOutput;
408
438
  export interface ClientDefaults
@@ -0,0 +1,49 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRClient";
8
+ import { GetSessionInput, GetSessionOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface GetSessionCommandInput extends GetSessionInput {}
12
+ export interface GetSessionCommandOutput
13
+ extends GetSessionOutput,
14
+ __MetadataBearer {}
15
+ declare const GetSessionCommand_base: {
16
+ new (
17
+ input: GetSessionCommandInput
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ GetSessionCommandInput,
20
+ GetSessionCommandOutput,
21
+ EMRClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: GetSessionCommandInput
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ GetSessionCommandInput,
29
+ GetSessionCommandOutput,
30
+ EMRClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
37
+ };
38
+ export declare class GetSessionCommand extends GetSessionCommand_base {
39
+ protected static __types: {
40
+ api: {
41
+ input: GetSessionInput;
42
+ output: GetSessionOutput;
43
+ };
44
+ sdk: {
45
+ input: GetSessionCommandInput;
46
+ output: GetSessionCommandOutput;
47
+ };
48
+ };
49
+ }
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRClient";
8
+ import {
9
+ GetSessionEndpointInput,
10
+ GetSessionEndpointOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetSessionEndpointCommandInput
15
+ extends GetSessionEndpointInput {}
16
+ export interface GetSessionEndpointCommandOutput
17
+ extends GetSessionEndpointOutput,
18
+ __MetadataBearer {}
19
+ declare const GetSessionEndpointCommand_base: {
20
+ new (
21
+ input: GetSessionEndpointCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetSessionEndpointCommandInput,
24
+ GetSessionEndpointCommandOutput,
25
+ EMRClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetSessionEndpointCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ GetSessionEndpointCommandInput,
33
+ GetSessionEndpointCommandOutput,
34
+ EMRClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class GetSessionEndpointCommand extends GetSessionEndpointCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: GetSessionEndpointInput;
46
+ output: GetSessionEndpointOutput;
47
+ };
48
+ sdk: {
49
+ input: GetSessionEndpointCommandInput;
50
+ output: GetSessionEndpointCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,49 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRClient";
8
+ import { ListSessionsInput, ListSessionsOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ListSessionsCommandInput extends ListSessionsInput {}
12
+ export interface ListSessionsCommandOutput
13
+ extends ListSessionsOutput,
14
+ __MetadataBearer {}
15
+ declare const ListSessionsCommand_base: {
16
+ new (
17
+ input: ListSessionsCommandInput
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ ListSessionsCommandInput,
20
+ ListSessionsCommandOutput,
21
+ EMRClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: ListSessionsCommandInput
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ ListSessionsCommandInput,
29
+ ListSessionsCommandOutput,
30
+ EMRClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
37
+ };
38
+ export declare class ListSessionsCommand extends ListSessionsCommand_base {
39
+ protected static __types: {
40
+ api: {
41
+ input: ListSessionsInput;
42
+ output: ListSessionsOutput;
43
+ };
44
+ sdk: {
45
+ input: ListSessionsCommandInput;
46
+ output: ListSessionsCommandOutput;
47
+ };
48
+ };
49
+ }
@@ -0,0 +1,49 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRClient";
8
+ import { StartSessionInput, StartSessionOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface StartSessionCommandInput extends StartSessionInput {}
12
+ export interface StartSessionCommandOutput
13
+ extends StartSessionOutput,
14
+ __MetadataBearer {}
15
+ declare const StartSessionCommand_base: {
16
+ new (
17
+ input: StartSessionCommandInput
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ StartSessionCommandInput,
20
+ StartSessionCommandOutput,
21
+ EMRClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: StartSessionCommandInput
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ StartSessionCommandInput,
29
+ StartSessionCommandOutput,
30
+ EMRClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
37
+ };
38
+ export declare class StartSessionCommand extends StartSessionCommand_base {
39
+ protected static __types: {
40
+ api: {
41
+ input: StartSessionInput;
42
+ output: StartSessionOutput;
43
+ };
44
+ sdk: {
45
+ input: StartSessionCommandInput;
46
+ output: StartSessionCommandOutput;
47
+ };
48
+ };
49
+ }
@@ -0,0 +1,52 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRClient";
8
+ import {
9
+ TerminateSessionInput,
10
+ TerminateSessionOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface TerminateSessionCommandInput extends TerminateSessionInput {}
15
+ export interface TerminateSessionCommandOutput
16
+ extends TerminateSessionOutput,
17
+ __MetadataBearer {}
18
+ declare const TerminateSessionCommand_base: {
19
+ new (
20
+ input: TerminateSessionCommandInput
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ TerminateSessionCommandInput,
23
+ TerminateSessionCommandOutput,
24
+ EMRClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: TerminateSessionCommandInput
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ TerminateSessionCommandInput,
32
+ TerminateSessionCommandOutput,
33
+ EMRClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
40
+ };
41
+ export declare class TerminateSessionCommand extends TerminateSessionCommand_base {
42
+ protected static __types: {
43
+ api: {
44
+ input: TerminateSessionInput;
45
+ output: TerminateSessionOutput;
46
+ };
47
+ sdk: {
48
+ input: TerminateSessionCommandInput;
49
+ output: TerminateSessionCommandOutput;
50
+ };
51
+ };
52
+ }
@@ -24,6 +24,8 @@ export * from "./GetClusterSessionCredentialsCommand";
24
24
  export * from "./GetManagedScalingPolicyCommand";
25
25
  export * from "./GetOnClusterAppUIPresignedURLCommand";
26
26
  export * from "./GetPersistentAppUIPresignedURLCommand";
27
+ export * from "./GetSessionCommand";
28
+ export * from "./GetSessionEndpointCommand";
27
29
  export * from "./GetStudioSessionMappingCommand";
28
30
  export * from "./ListBootstrapActionsCommand";
29
31
  export * from "./ListClustersCommand";
@@ -33,6 +35,7 @@ export * from "./ListInstancesCommand";
33
35
  export * from "./ListNotebookExecutionsCommand";
34
36
  export * from "./ListReleaseLabelsCommand";
35
37
  export * from "./ListSecurityConfigurationsCommand";
38
+ export * from "./ListSessionsCommand";
36
39
  export * from "./ListStepsCommand";
37
40
  export * from "./ListStudioSessionMappingsCommand";
38
41
  export * from "./ListStudiosCommand";
@@ -54,7 +57,9 @@ export * from "./SetTerminationProtectionCommand";
54
57
  export * from "./SetUnhealthyNodeReplacementCommand";
55
58
  export * from "./SetVisibleToAllUsersCommand";
56
59
  export * from "./StartNotebookExecutionCommand";
60
+ export * from "./StartSessionCommand";
57
61
  export * from "./StopNotebookExecutionCommand";
58
62
  export * from "./TerminateJobFlowsCommand";
63
+ export * from "./TerminateSessionCommand";
59
64
  export * from "./UpdateStudioCommand";
60
65
  export * from "./UpdateStudioSessionMappingCommand";
@@ -329,6 +329,17 @@ export declare const OnClusterAppUIType: {
329
329
  };
330
330
  export type OnClusterAppUIType =
331
331
  (typeof OnClusterAppUIType)[keyof typeof OnClusterAppUIType];
332
+ export declare const SessionState: {
333
+ readonly BUSY: "BUSY";
334
+ readonly FAILED: "FAILED";
335
+ readonly IDLE: "IDLE";
336
+ readonly STARTED: "STARTED";
337
+ readonly STARTING: "STARTING";
338
+ readonly SUBMITTED: "SUBMITTED";
339
+ readonly TERMINATED: "TERMINATED";
340
+ readonly TERMINATING: "TERMINATING";
341
+ };
342
+ export type SessionState = (typeof SessionState)[keyof typeof SessionState];
332
343
  export declare const InstanceFleetState: {
333
344
  readonly BOOTSTRAPPING: "BOOTSTRAPPING";
334
345
  readonly PROVISIONING: "PROVISIONING";