@aws-sdk/client-emr 3.1061.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.
- package/README.md +35 -0
- package/dist-cjs/index.js +85 -0
- package/dist-cjs/schemas/schemas_0.js +178 -32
- package/dist-es/EMR.js +12 -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 +5 -0
- package/dist-es/models/enums.js +10 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +171 -26
- package/dist-types/EMR.d.ts +42 -0
- package/dist-types/EMRClient.d.ts +7 -2
- package/dist-types/commands/AddTagsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -0
- package/dist-types/commands/GetSessionCommand.d.ts +155 -0
- package/dist-types/commands/GetSessionEndpointCommand.d.ts +92 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +162 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -0
- package/dist-types/commands/RunJobFlowCommand.d.ts +1 -0
- package/dist-types/commands/StartSessionCommand.d.ts +141 -0
- package/dist-types/commands/TerminateSessionCommand.d.ts +86 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +473 -7
- 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/EMR.d.ts +92 -0
- package/dist-types/ts3.4/EMRClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +108 -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 +2 -2
package/dist-types/EMR.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ import { type GetClusterSessionCredentialsCommandInput, type GetClusterSessionCr
|
|
|
26
26
|
import { type GetManagedScalingPolicyCommandInput, type GetManagedScalingPolicyCommandOutput } from "./commands/GetManagedScalingPolicyCommand";
|
|
27
27
|
import { type GetOnClusterAppUIPresignedURLCommandInput, type GetOnClusterAppUIPresignedURLCommandOutput } from "./commands/GetOnClusterAppUIPresignedURLCommand";
|
|
28
28
|
import { type GetPersistentAppUIPresignedURLCommandInput, type GetPersistentAppUIPresignedURLCommandOutput } from "./commands/GetPersistentAppUIPresignedURLCommand";
|
|
29
|
+
import { type GetSessionCommandInput, type GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
30
|
+
import { type GetSessionEndpointCommandInput, type GetSessionEndpointCommandOutput } from "./commands/GetSessionEndpointCommand";
|
|
29
31
|
import { type GetStudioSessionMappingCommandInput, type GetStudioSessionMappingCommandOutput } from "./commands/GetStudioSessionMappingCommand";
|
|
30
32
|
import { type ListBootstrapActionsCommandInput, type ListBootstrapActionsCommandOutput } from "./commands/ListBootstrapActionsCommand";
|
|
31
33
|
import { type ListClustersCommandInput, type ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
@@ -35,6 +37,7 @@ import { type ListInstancesCommandInput, type ListInstancesCommandOutput } from
|
|
|
35
37
|
import { type ListNotebookExecutionsCommandInput, type ListNotebookExecutionsCommandOutput } from "./commands/ListNotebookExecutionsCommand";
|
|
36
38
|
import { type ListReleaseLabelsCommandInput, type ListReleaseLabelsCommandOutput } from "./commands/ListReleaseLabelsCommand";
|
|
37
39
|
import { type ListSecurityConfigurationsCommandInput, type ListSecurityConfigurationsCommandOutput } from "./commands/ListSecurityConfigurationsCommand";
|
|
40
|
+
import { type ListSessionsCommandInput, type ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
38
41
|
import { type ListStepsCommandInput, type ListStepsCommandOutput } from "./commands/ListStepsCommand";
|
|
39
42
|
import { type ListStudiosCommandInput, type ListStudiosCommandOutput } from "./commands/ListStudiosCommand";
|
|
40
43
|
import { type ListStudioSessionMappingsCommandInput, type ListStudioSessionMappingsCommandOutput } from "./commands/ListStudioSessionMappingsCommand";
|
|
@@ -56,8 +59,10 @@ import { type SetTerminationProtectionCommandInput, type SetTerminationProtectio
|
|
|
56
59
|
import { type SetUnhealthyNodeReplacementCommandInput, type SetUnhealthyNodeReplacementCommandOutput } from "./commands/SetUnhealthyNodeReplacementCommand";
|
|
57
60
|
import { type SetVisibleToAllUsersCommandInput, type SetVisibleToAllUsersCommandOutput } from "./commands/SetVisibleToAllUsersCommand";
|
|
58
61
|
import { type StartNotebookExecutionCommandInput, type StartNotebookExecutionCommandOutput } from "./commands/StartNotebookExecutionCommand";
|
|
62
|
+
import { type StartSessionCommandInput, type StartSessionCommandOutput } from "./commands/StartSessionCommand";
|
|
59
63
|
import { type StopNotebookExecutionCommandInput, type StopNotebookExecutionCommandOutput } from "./commands/StopNotebookExecutionCommand";
|
|
60
64
|
import { type TerminateJobFlowsCommandInput, type TerminateJobFlowsCommandOutput } from "./commands/TerminateJobFlowsCommand";
|
|
65
|
+
import { type TerminateSessionCommandInput, type TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand";
|
|
61
66
|
import { type UpdateStudioCommandInput, type UpdateStudioCommandOutput } from "./commands/UpdateStudioCommand";
|
|
62
67
|
import { type UpdateStudioSessionMappingCommandInput, type UpdateStudioSessionMappingCommandOutput } from "./commands/UpdateStudioSessionMappingCommand";
|
|
63
68
|
import { EMRClient } from "./EMRClient";
|
|
@@ -221,6 +226,18 @@ export interface EMR {
|
|
|
221
226
|
getPersistentAppUIPresignedURL(args: GetPersistentAppUIPresignedURLCommandInput, options?: __HttpHandlerOptions): Promise<GetPersistentAppUIPresignedURLCommandOutput>;
|
|
222
227
|
getPersistentAppUIPresignedURL(args: GetPersistentAppUIPresignedURLCommandInput, cb: (err: any, data?: GetPersistentAppUIPresignedURLCommandOutput) => void): void;
|
|
223
228
|
getPersistentAppUIPresignedURL(args: GetPersistentAppUIPresignedURLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPersistentAppUIPresignedURLCommandOutput) => void): void;
|
|
229
|
+
/**
|
|
230
|
+
* @see {@link GetSessionCommand}
|
|
231
|
+
*/
|
|
232
|
+
getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
|
|
233
|
+
getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
234
|
+
getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
235
|
+
/**
|
|
236
|
+
* @see {@link GetSessionEndpointCommand}
|
|
237
|
+
*/
|
|
238
|
+
getSessionEndpoint(args: GetSessionEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionEndpointCommandOutput>;
|
|
239
|
+
getSessionEndpoint(args: GetSessionEndpointCommandInput, cb: (err: any, data?: GetSessionEndpointCommandOutput) => void): void;
|
|
240
|
+
getSessionEndpoint(args: GetSessionEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionEndpointCommandOutput) => void): void;
|
|
224
241
|
/**
|
|
225
242
|
* @see {@link GetStudioSessionMappingCommand}
|
|
226
243
|
*/
|
|
@@ -279,6 +296,12 @@ export interface EMR {
|
|
|
279
296
|
listSecurityConfigurations(args: ListSecurityConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSecurityConfigurationsCommandOutput>;
|
|
280
297
|
listSecurityConfigurations(args: ListSecurityConfigurationsCommandInput, cb: (err: any, data?: ListSecurityConfigurationsCommandOutput) => void): void;
|
|
281
298
|
listSecurityConfigurations(args: ListSecurityConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSecurityConfigurationsCommandOutput) => void): void;
|
|
299
|
+
/**
|
|
300
|
+
* @see {@link ListSessionsCommand}
|
|
301
|
+
*/
|
|
302
|
+
listSessions(args: ListSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSessionsCommandOutput>;
|
|
303
|
+
listSessions(args: ListSessionsCommandInput, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
|
|
304
|
+
listSessions(args: ListSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
|
|
282
305
|
/**
|
|
283
306
|
* @see {@link ListStepsCommand}
|
|
284
307
|
*/
|
|
@@ -408,6 +431,12 @@ export interface EMR {
|
|
|
408
431
|
startNotebookExecution(args: StartNotebookExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartNotebookExecutionCommandOutput>;
|
|
409
432
|
startNotebookExecution(args: StartNotebookExecutionCommandInput, cb: (err: any, data?: StartNotebookExecutionCommandOutput) => void): void;
|
|
410
433
|
startNotebookExecution(args: StartNotebookExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartNotebookExecutionCommandOutput) => void): void;
|
|
434
|
+
/**
|
|
435
|
+
* @see {@link StartSessionCommand}
|
|
436
|
+
*/
|
|
437
|
+
startSession(args: StartSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartSessionCommandOutput>;
|
|
438
|
+
startSession(args: StartSessionCommandInput, cb: (err: any, data?: StartSessionCommandOutput) => void): void;
|
|
439
|
+
startSession(args: StartSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSessionCommandOutput) => void): void;
|
|
411
440
|
/**
|
|
412
441
|
* @see {@link StopNotebookExecutionCommand}
|
|
413
442
|
*/
|
|
@@ -420,6 +449,12 @@ export interface EMR {
|
|
|
420
449
|
terminateJobFlows(args: TerminateJobFlowsCommandInput, options?: __HttpHandlerOptions): Promise<TerminateJobFlowsCommandOutput>;
|
|
421
450
|
terminateJobFlows(args: TerminateJobFlowsCommandInput, cb: (err: any, data?: TerminateJobFlowsCommandOutput) => void): void;
|
|
422
451
|
terminateJobFlows(args: TerminateJobFlowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateJobFlowsCommandOutput) => void): void;
|
|
452
|
+
/**
|
|
453
|
+
* @see {@link TerminateSessionCommand}
|
|
454
|
+
*/
|
|
455
|
+
terminateSession(args: TerminateSessionCommandInput, options?: __HttpHandlerOptions): Promise<TerminateSessionCommandOutput>;
|
|
456
|
+
terminateSession(args: TerminateSessionCommandInput, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void;
|
|
457
|
+
terminateSession(args: TerminateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void;
|
|
423
458
|
/**
|
|
424
459
|
* @see {@link UpdateStudioCommand}
|
|
425
460
|
*/
|
|
@@ -488,6 +523,13 @@ export interface EMR {
|
|
|
488
523
|
* @returns AsyncIterable of {@link ListSecurityConfigurationsCommandOutput}.
|
|
489
524
|
*/
|
|
490
525
|
paginateListSecurityConfigurations(args?: ListSecurityConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSecurityConfigurationsCommandOutput>;
|
|
526
|
+
/**
|
|
527
|
+
* @see {@link ListSessionsCommand}
|
|
528
|
+
* @param args - command input.
|
|
529
|
+
* @param paginationConfig - optional pagination config.
|
|
530
|
+
* @returns AsyncIterable of {@link ListSessionsCommandOutput}.
|
|
531
|
+
*/
|
|
532
|
+
paginateListSessions(args: ListSessionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSessionsCommandOutput>;
|
|
491
533
|
/**
|
|
492
534
|
* @see {@link ListStepsCommand}
|
|
493
535
|
* @param args - command input.
|
|
@@ -32,6 +32,8 @@ import type { GetClusterSessionCredentialsCommandInput, GetClusterSessionCredent
|
|
|
32
32
|
import type { GetManagedScalingPolicyCommandInput, GetManagedScalingPolicyCommandOutput } from "./commands/GetManagedScalingPolicyCommand";
|
|
33
33
|
import type { GetOnClusterAppUIPresignedURLCommandInput, GetOnClusterAppUIPresignedURLCommandOutput } from "./commands/GetOnClusterAppUIPresignedURLCommand";
|
|
34
34
|
import type { GetPersistentAppUIPresignedURLCommandInput, GetPersistentAppUIPresignedURLCommandOutput } from "./commands/GetPersistentAppUIPresignedURLCommand";
|
|
35
|
+
import type { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
36
|
+
import type { GetSessionEndpointCommandInput, GetSessionEndpointCommandOutput } from "./commands/GetSessionEndpointCommand";
|
|
35
37
|
import type { GetStudioSessionMappingCommandInput, GetStudioSessionMappingCommandOutput } from "./commands/GetStudioSessionMappingCommand";
|
|
36
38
|
import type { ListBootstrapActionsCommandInput, ListBootstrapActionsCommandOutput } from "./commands/ListBootstrapActionsCommand";
|
|
37
39
|
import type { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
@@ -41,6 +43,7 @@ import type { ListInstancesCommandInput, ListInstancesCommandOutput } from "./co
|
|
|
41
43
|
import type { ListNotebookExecutionsCommandInput, ListNotebookExecutionsCommandOutput } from "./commands/ListNotebookExecutionsCommand";
|
|
42
44
|
import type { ListReleaseLabelsCommandInput, ListReleaseLabelsCommandOutput } from "./commands/ListReleaseLabelsCommand";
|
|
43
45
|
import type { ListSecurityConfigurationsCommandInput, ListSecurityConfigurationsCommandOutput } from "./commands/ListSecurityConfigurationsCommand";
|
|
46
|
+
import type { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
44
47
|
import type { ListStepsCommandInput, ListStepsCommandOutput } from "./commands/ListStepsCommand";
|
|
45
48
|
import type { ListStudiosCommandInput, ListStudiosCommandOutput } from "./commands/ListStudiosCommand";
|
|
46
49
|
import type { ListStudioSessionMappingsCommandInput, ListStudioSessionMappingsCommandOutput } from "./commands/ListStudioSessionMappingsCommand";
|
|
@@ -62,8 +65,10 @@ import type { SetTerminationProtectionCommandInput, SetTerminationProtectionComm
|
|
|
62
65
|
import type { SetUnhealthyNodeReplacementCommandInput, SetUnhealthyNodeReplacementCommandOutput } from "./commands/SetUnhealthyNodeReplacementCommand";
|
|
63
66
|
import type { SetVisibleToAllUsersCommandInput, SetVisibleToAllUsersCommandOutput } from "./commands/SetVisibleToAllUsersCommand";
|
|
64
67
|
import type { StartNotebookExecutionCommandInput, StartNotebookExecutionCommandOutput } from "./commands/StartNotebookExecutionCommand";
|
|
68
|
+
import type { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand";
|
|
65
69
|
import type { StopNotebookExecutionCommandInput, StopNotebookExecutionCommandOutput } from "./commands/StopNotebookExecutionCommand";
|
|
66
70
|
import type { TerminateJobFlowsCommandInput, TerminateJobFlowsCommandOutput } from "./commands/TerminateJobFlowsCommand";
|
|
71
|
+
import type { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand";
|
|
67
72
|
import type { UpdateStudioCommandInput, UpdateStudioCommandOutput } from "./commands/UpdateStudioCommand";
|
|
68
73
|
import type { UpdateStudioSessionMappingCommandInput, UpdateStudioSessionMappingCommandOutput } from "./commands/UpdateStudioSessionMappingCommand";
|
|
69
74
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -72,11 +77,11 @@ export { __Client };
|
|
|
72
77
|
/**
|
|
73
78
|
* @public
|
|
74
79
|
*/
|
|
75
|
-
export type ServiceInputTypes = AddInstanceFleetCommandInput | AddInstanceGroupsCommandInput | AddJobFlowStepsCommandInput | AddTagsCommandInput | CancelStepsCommandInput | CreatePersistentAppUICommandInput | CreateSecurityConfigurationCommandInput | CreateStudioCommandInput | CreateStudioSessionMappingCommandInput | DeleteSecurityConfigurationCommandInput | DeleteStudioCommandInput | DeleteStudioSessionMappingCommandInput | DescribeClusterCommandInput | DescribeJobFlowsCommandInput | DescribeNotebookExecutionCommandInput | DescribePersistentAppUICommandInput | DescribeReleaseLabelCommandInput | DescribeSecurityConfigurationCommandInput | DescribeStepCommandInput | DescribeStudioCommandInput | GetAutoTerminationPolicyCommandInput | GetBlockPublicAccessConfigurationCommandInput | GetClusterSessionCredentialsCommandInput | GetManagedScalingPolicyCommandInput | GetOnClusterAppUIPresignedURLCommandInput | GetPersistentAppUIPresignedURLCommandInput | GetStudioSessionMappingCommandInput | ListBootstrapActionsCommandInput | ListClustersCommandInput | ListInstanceFleetsCommandInput | ListInstanceGroupsCommandInput | ListInstancesCommandInput | ListNotebookExecutionsCommandInput | ListReleaseLabelsCommandInput | ListSecurityConfigurationsCommandInput | ListStepsCommandInput | ListStudioSessionMappingsCommandInput | ListStudiosCommandInput | ListSupportedInstanceTypesCommandInput | ModifyClusterCommandInput | ModifyInstanceFleetCommandInput | ModifyInstanceGroupsCommandInput | PutAutoScalingPolicyCommandInput | PutAutoTerminationPolicyCommandInput | PutBlockPublicAccessConfigurationCommandInput | PutManagedScalingPolicyCommandInput | RemoveAutoScalingPolicyCommandInput | RemoveAutoTerminationPolicyCommandInput | RemoveManagedScalingPolicyCommandInput | RemoveTagsCommandInput | RunJobFlowCommandInput | SetKeepJobFlowAliveWhenNoStepsCommandInput | SetTerminationProtectionCommandInput | SetUnhealthyNodeReplacementCommandInput | SetVisibleToAllUsersCommandInput | StartNotebookExecutionCommandInput | StopNotebookExecutionCommandInput | TerminateJobFlowsCommandInput | UpdateStudioCommandInput | UpdateStudioSessionMappingCommandInput;
|
|
80
|
+
export type ServiceInputTypes = AddInstanceFleetCommandInput | AddInstanceGroupsCommandInput | AddJobFlowStepsCommandInput | AddTagsCommandInput | CancelStepsCommandInput | CreatePersistentAppUICommandInput | CreateSecurityConfigurationCommandInput | CreateStudioCommandInput | CreateStudioSessionMappingCommandInput | DeleteSecurityConfigurationCommandInput | DeleteStudioCommandInput | DeleteStudioSessionMappingCommandInput | DescribeClusterCommandInput | DescribeJobFlowsCommandInput | DescribeNotebookExecutionCommandInput | DescribePersistentAppUICommandInput | DescribeReleaseLabelCommandInput | DescribeSecurityConfigurationCommandInput | DescribeStepCommandInput | DescribeStudioCommandInput | GetAutoTerminationPolicyCommandInput | GetBlockPublicAccessConfigurationCommandInput | GetClusterSessionCredentialsCommandInput | GetManagedScalingPolicyCommandInput | GetOnClusterAppUIPresignedURLCommandInput | GetPersistentAppUIPresignedURLCommandInput | GetSessionCommandInput | GetSessionEndpointCommandInput | GetStudioSessionMappingCommandInput | ListBootstrapActionsCommandInput | ListClustersCommandInput | ListInstanceFleetsCommandInput | ListInstanceGroupsCommandInput | ListInstancesCommandInput | ListNotebookExecutionsCommandInput | ListReleaseLabelsCommandInput | ListSecurityConfigurationsCommandInput | ListSessionsCommandInput | ListStepsCommandInput | ListStudioSessionMappingsCommandInput | ListStudiosCommandInput | ListSupportedInstanceTypesCommandInput | ModifyClusterCommandInput | ModifyInstanceFleetCommandInput | ModifyInstanceGroupsCommandInput | PutAutoScalingPolicyCommandInput | PutAutoTerminationPolicyCommandInput | PutBlockPublicAccessConfigurationCommandInput | PutManagedScalingPolicyCommandInput | RemoveAutoScalingPolicyCommandInput | RemoveAutoTerminationPolicyCommandInput | RemoveManagedScalingPolicyCommandInput | RemoveTagsCommandInput | RunJobFlowCommandInput | SetKeepJobFlowAliveWhenNoStepsCommandInput | SetTerminationProtectionCommandInput | SetUnhealthyNodeReplacementCommandInput | SetVisibleToAllUsersCommandInput | StartNotebookExecutionCommandInput | StartSessionCommandInput | StopNotebookExecutionCommandInput | TerminateJobFlowsCommandInput | TerminateSessionCommandInput | UpdateStudioCommandInput | UpdateStudioSessionMappingCommandInput;
|
|
76
81
|
/**
|
|
77
82
|
* @public
|
|
78
83
|
*/
|
|
79
|
-
export type ServiceOutputTypes = AddInstanceFleetCommandOutput | AddInstanceGroupsCommandOutput | AddJobFlowStepsCommandOutput | AddTagsCommandOutput | CancelStepsCommandOutput | CreatePersistentAppUICommandOutput | CreateSecurityConfigurationCommandOutput | CreateStudioCommandOutput | CreateStudioSessionMappingCommandOutput | DeleteSecurityConfigurationCommandOutput | DeleteStudioCommandOutput | DeleteStudioSessionMappingCommandOutput | DescribeClusterCommandOutput | DescribeJobFlowsCommandOutput | DescribeNotebookExecutionCommandOutput | DescribePersistentAppUICommandOutput | DescribeReleaseLabelCommandOutput | DescribeSecurityConfigurationCommandOutput | DescribeStepCommandOutput | DescribeStudioCommandOutput | GetAutoTerminationPolicyCommandOutput | GetBlockPublicAccessConfigurationCommandOutput | GetClusterSessionCredentialsCommandOutput | GetManagedScalingPolicyCommandOutput | GetOnClusterAppUIPresignedURLCommandOutput | GetPersistentAppUIPresignedURLCommandOutput | GetStudioSessionMappingCommandOutput | ListBootstrapActionsCommandOutput | ListClustersCommandOutput | ListInstanceFleetsCommandOutput | ListInstanceGroupsCommandOutput | ListInstancesCommandOutput | ListNotebookExecutionsCommandOutput | ListReleaseLabelsCommandOutput | ListSecurityConfigurationsCommandOutput | ListStepsCommandOutput | ListStudioSessionMappingsCommandOutput | ListStudiosCommandOutput | ListSupportedInstanceTypesCommandOutput | ModifyClusterCommandOutput | ModifyInstanceFleetCommandOutput | ModifyInstanceGroupsCommandOutput | PutAutoScalingPolicyCommandOutput | PutAutoTerminationPolicyCommandOutput | PutBlockPublicAccessConfigurationCommandOutput | PutManagedScalingPolicyCommandOutput | RemoveAutoScalingPolicyCommandOutput | RemoveAutoTerminationPolicyCommandOutput | RemoveManagedScalingPolicyCommandOutput | RemoveTagsCommandOutput | RunJobFlowCommandOutput | SetKeepJobFlowAliveWhenNoStepsCommandOutput | SetTerminationProtectionCommandOutput | SetUnhealthyNodeReplacementCommandOutput | SetVisibleToAllUsersCommandOutput | StartNotebookExecutionCommandOutput | StopNotebookExecutionCommandOutput | TerminateJobFlowsCommandOutput | UpdateStudioCommandOutput | UpdateStudioSessionMappingCommandOutput;
|
|
84
|
+
export type ServiceOutputTypes = AddInstanceFleetCommandOutput | AddInstanceGroupsCommandOutput | AddJobFlowStepsCommandOutput | AddTagsCommandOutput | CancelStepsCommandOutput | CreatePersistentAppUICommandOutput | CreateSecurityConfigurationCommandOutput | CreateStudioCommandOutput | CreateStudioSessionMappingCommandOutput | DeleteSecurityConfigurationCommandOutput | DeleteStudioCommandOutput | DeleteStudioSessionMappingCommandOutput | DescribeClusterCommandOutput | DescribeJobFlowsCommandOutput | DescribeNotebookExecutionCommandOutput | DescribePersistentAppUICommandOutput | DescribeReleaseLabelCommandOutput | DescribeSecurityConfigurationCommandOutput | DescribeStepCommandOutput | DescribeStudioCommandOutput | GetAutoTerminationPolicyCommandOutput | GetBlockPublicAccessConfigurationCommandOutput | GetClusterSessionCredentialsCommandOutput | GetManagedScalingPolicyCommandOutput | GetOnClusterAppUIPresignedURLCommandOutput | GetPersistentAppUIPresignedURLCommandOutput | GetSessionCommandOutput | GetSessionEndpointCommandOutput | GetStudioSessionMappingCommandOutput | ListBootstrapActionsCommandOutput | ListClustersCommandOutput | ListInstanceFleetsCommandOutput | ListInstanceGroupsCommandOutput | ListInstancesCommandOutput | ListNotebookExecutionsCommandOutput | ListReleaseLabelsCommandOutput | ListSecurityConfigurationsCommandOutput | ListSessionsCommandOutput | ListStepsCommandOutput | ListStudioSessionMappingsCommandOutput | ListStudiosCommandOutput | ListSupportedInstanceTypesCommandOutput | ModifyClusterCommandOutput | ModifyInstanceFleetCommandOutput | ModifyInstanceGroupsCommandOutput | PutAutoScalingPolicyCommandOutput | PutAutoTerminationPolicyCommandOutput | PutBlockPublicAccessConfigurationCommandOutput | PutManagedScalingPolicyCommandOutput | RemoveAutoScalingPolicyCommandOutput | RemoveAutoTerminationPolicyCommandOutput | RemoveManagedScalingPolicyCommandOutput | RemoveTagsCommandOutput | RunJobFlowCommandOutput | SetKeepJobFlowAliveWhenNoStepsCommandOutput | SetTerminationProtectionCommandOutput | SetUnhealthyNodeReplacementCommandOutput | SetVisibleToAllUsersCommandOutput | StartNotebookExecutionCommandOutput | StartSessionCommandOutput | StopNotebookExecutionCommandOutput | TerminateJobFlowsCommandOutput | TerminateSessionCommandOutput | UpdateStudioCommandOutput | UpdateStudioSessionMappingCommandOutput;
|
|
80
85
|
/**
|
|
81
86
|
* @public
|
|
82
87
|
*/
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRClient";
|
|
4
|
+
import type { GetSessionInput, GetSessionOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSessionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSessionCommandInput extends GetSessionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSessionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSessionCommandOutput extends GetSessionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSessionCommand_base: {
|
|
25
|
+
new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Returns detailed information about a session.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EMRClient, GetSessionCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
37
|
+
* // const { EMRClient, GetSessionCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
38
|
+
* // import type { EMRClientConfig } from "@aws-sdk/client-emr";
|
|
39
|
+
* const config = {}; // type is EMRClientConfig
|
|
40
|
+
* const client = new EMRClient(config);
|
|
41
|
+
* const input = { // GetSessionInput
|
|
42
|
+
* ClusterId: "STRING_VALUE", // required
|
|
43
|
+
* SessionId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetSessionCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetSessionOutput
|
|
48
|
+
* // Session: { // Session
|
|
49
|
+
* // Id: "STRING_VALUE", // required
|
|
50
|
+
* // ClusterId: "STRING_VALUE", // required
|
|
51
|
+
* // Name: "STRING_VALUE",
|
|
52
|
+
* // Arn: "STRING_VALUE", // required
|
|
53
|
+
* // State: "SUBMITTED" || "STARTING" || "STARTED" || "IDLE" || "BUSY" || "TERMINATING" || "TERMINATED" || "FAILED", // required
|
|
54
|
+
* // StateChangeReason: "STRING_VALUE",
|
|
55
|
+
* // ReleaseLabel: "STRING_VALUE",
|
|
56
|
+
* // ExecutionRoleArn: "STRING_VALUE",
|
|
57
|
+
* // AccountId: "STRING_VALUE",
|
|
58
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // IdleSince: new Date("TIMESTAMP"),
|
|
63
|
+
* // EngineConfigurations: [ // ConfigurationList
|
|
64
|
+
* // { // Configuration
|
|
65
|
+
* // Classification: "STRING_VALUE",
|
|
66
|
+
* // Configurations: [
|
|
67
|
+
* // {
|
|
68
|
+
* // Classification: "STRING_VALUE",
|
|
69
|
+
* // Configurations: "<ConfigurationList>",
|
|
70
|
+
* // Properties: { // StringMap
|
|
71
|
+
* // "<keys>": "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // Properties: {
|
|
76
|
+
* // "<keys>": "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // MonitoringConfiguration: { // SessionMonitoringConfiguration
|
|
81
|
+
* // CloudWatchLoggingConfiguration: { // SessionCloudWatchLoggingConfiguration
|
|
82
|
+
* // Enabled: true || false,
|
|
83
|
+
* // LogGroup: "STRING_VALUE",
|
|
84
|
+
* // LogStreamNamePrefix: "STRING_VALUE",
|
|
85
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
86
|
+
* // LogTypes: { // LogTypesMap
|
|
87
|
+
* // "<keys>": [ // XmlStringList
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // ManagedLoggingConfiguration: { // SessionManagedLoggingConfiguration
|
|
93
|
+
* // Enabled: true || false,
|
|
94
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // S3LoggingConfiguration: { // SessionS3LoggingConfiguration
|
|
97
|
+
* // Enabled: true || false,
|
|
98
|
+
* // LogUri: "STRING_VALUE",
|
|
99
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
100
|
+
* // LogTypes: {
|
|
101
|
+
* // "<keys>": [
|
|
102
|
+
* // "STRING_VALUE",
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // SessionIdleTimeoutInMinutes: Number("long"),
|
|
108
|
+
* // CertificateAuthority: { // CertificateAuthority
|
|
109
|
+
* // CertificateArn: "STRING_VALUE",
|
|
110
|
+
* // CertificateData: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // ServerUrl: "STRING_VALUE",
|
|
113
|
+
* // Tags: [ // TagList
|
|
114
|
+
* // { // Tag
|
|
115
|
+
* // Key: "STRING_VALUE",
|
|
116
|
+
* // Value: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // },
|
|
120
|
+
* // };
|
|
121
|
+
*
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* @param GetSessionCommandInput - {@link GetSessionCommandInput}
|
|
125
|
+
* @returns {@link GetSessionCommandOutput}
|
|
126
|
+
* @see {@link GetSessionCommandInput} for command's `input` shape.
|
|
127
|
+
* @see {@link GetSessionCommandOutput} for command's `response` shape.
|
|
128
|
+
* @see {@link EMRClientResolvedConfig | config} for EMRClient's `config` shape.
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link InternalServerException} (server fault)
|
|
131
|
+
* <p>This exception occurs when there is an internal failure in the Amazon EMR
|
|
132
|
+
* service.</p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
135
|
+
* <p>This exception occurs when there is something wrong with user input.</p>
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link EMRServiceException}
|
|
138
|
+
* <p>Base exception class for all service exceptions from EMR service.</p>
|
|
139
|
+
*
|
|
140
|
+
*
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export declare class GetSessionCommand extends GetSessionCommand_base {
|
|
144
|
+
/** @internal type navigation helper, not in runtime. */
|
|
145
|
+
protected static __types: {
|
|
146
|
+
api: {
|
|
147
|
+
input: GetSessionInput;
|
|
148
|
+
output: GetSessionOutput;
|
|
149
|
+
};
|
|
150
|
+
sdk: {
|
|
151
|
+
input: GetSessionCommandInput;
|
|
152
|
+
output: GetSessionCommandOutput;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRClient";
|
|
4
|
+
import type { GetSessionEndpointInput, GetSessionEndpointOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSessionEndpointCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSessionEndpointCommandInput extends GetSessionEndpointInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSessionEndpointCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSessionEndpointCommandOutput extends GetSessionEndpointOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSessionEndpointCommand_base: {
|
|
25
|
+
new (input: GetSessionEndpointCommandInput): import("@smithy/core/client").CommandImpl<GetSessionEndpointCommandInput, GetSessionEndpointCommandOutput, EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetSessionEndpointCommandInput): import("@smithy/core/client").CommandImpl<GetSessionEndpointCommandInput, GetSessionEndpointCommandOutput, EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Returns the Spark Connect endpoint URL and a time-limited authentication token for the specified session. Use the endpoint and token to connect a PySpark client to the session. Call this operation again when the token expires to obtain a new one.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EMRClient, GetSessionEndpointCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
37
|
+
* // const { EMRClient, GetSessionEndpointCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
38
|
+
* // import type { EMRClientConfig } from "@aws-sdk/client-emr";
|
|
39
|
+
* const config = {}; // type is EMRClientConfig
|
|
40
|
+
* const client = new EMRClient(config);
|
|
41
|
+
* const input = { // GetSessionEndpointInput
|
|
42
|
+
* ClusterId: "STRING_VALUE", // required
|
|
43
|
+
* SessionId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetSessionEndpointCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetSessionEndpointOutput
|
|
48
|
+
* // Endpoint: "STRING_VALUE", // required
|
|
49
|
+
* // AuthToken: "STRING_VALUE",
|
|
50
|
+
* // AuthTokenExpirationTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // Credentials: { // Credentials Union: only one key present
|
|
52
|
+
* // UsernamePassword: { // UsernamePassword
|
|
53
|
+
* // Username: "STRING_VALUE",
|
|
54
|
+
* // Password: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetSessionEndpointCommandInput - {@link GetSessionEndpointCommandInput}
|
|
62
|
+
* @returns {@link GetSessionEndpointCommandOutput}
|
|
63
|
+
* @see {@link GetSessionEndpointCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetSessionEndpointCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link EMRClientResolvedConfig | config} for EMRClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>This exception occurs when there is an internal failure in the Amazon EMR
|
|
69
|
+
* service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
72
|
+
* <p>This exception occurs when there is something wrong with user input.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link EMRServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from EMR service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetSessionEndpointCommand extends GetSessionEndpointCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: GetSessionEndpointInput;
|
|
85
|
+
output: GetSessionEndpointOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: GetSessionEndpointCommandInput;
|
|
89
|
+
output: GetSessionEndpointCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRClient";
|
|
4
|
+
import type { ListSessionsInput, ListSessionsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListSessionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListSessionsCommandInput extends ListSessionsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListSessionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListSessionsCommandOutput extends ListSessionsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListSessionsCommand_base: {
|
|
25
|
+
new (input: ListSessionsCommandInput): import("@smithy/core/client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListSessionsCommandInput): import("@smithy/core/client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists the sessions on a cluster. You can filter the results by session state. Newer sessions are returned first.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { EMRClient, ListSessionsCommand } from "@aws-sdk/client-emr"; // ES Modules import
|
|
37
|
+
* // const { EMRClient, ListSessionsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
|
|
38
|
+
* // import type { EMRClientConfig } from "@aws-sdk/client-emr";
|
|
39
|
+
* const config = {}; // type is EMRClientConfig
|
|
40
|
+
* const client = new EMRClient(config);
|
|
41
|
+
* const input = { // ListSessionsInput
|
|
42
|
+
* ClusterId: "STRING_VALUE", // required
|
|
43
|
+
* SessionStates: [ // SessionStateList
|
|
44
|
+
* "SUBMITTED" || "STARTING" || "STARTED" || "IDLE" || "BUSY" || "TERMINATING" || "TERMINATED" || "FAILED",
|
|
45
|
+
* ],
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* MaxResults: Number("int"),
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListSessionsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListSessionsOutput
|
|
52
|
+
* // Sessions: [ // SessionList
|
|
53
|
+
* // { // Session
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // ClusterId: "STRING_VALUE", // required
|
|
56
|
+
* // Name: "STRING_VALUE",
|
|
57
|
+
* // Arn: "STRING_VALUE", // required
|
|
58
|
+
* // State: "SUBMITTED" || "STARTING" || "STARTED" || "IDLE" || "BUSY" || "TERMINATING" || "TERMINATED" || "FAILED", // required
|
|
59
|
+
* // StateChangeReason: "STRING_VALUE",
|
|
60
|
+
* // ReleaseLabel: "STRING_VALUE",
|
|
61
|
+
* // ExecutionRoleArn: "STRING_VALUE",
|
|
62
|
+
* // AccountId: "STRING_VALUE",
|
|
63
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
65
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
66
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // IdleSince: new Date("TIMESTAMP"),
|
|
68
|
+
* // EngineConfigurations: [ // ConfigurationList
|
|
69
|
+
* // { // Configuration
|
|
70
|
+
* // Classification: "STRING_VALUE",
|
|
71
|
+
* // Configurations: [
|
|
72
|
+
* // {
|
|
73
|
+
* // Classification: "STRING_VALUE",
|
|
74
|
+
* // Configurations: "<ConfigurationList>",
|
|
75
|
+
* // Properties: { // StringMap
|
|
76
|
+
* // "<keys>": "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // Properties: {
|
|
81
|
+
* // "<keys>": "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // MonitoringConfiguration: { // SessionMonitoringConfiguration
|
|
86
|
+
* // CloudWatchLoggingConfiguration: { // SessionCloudWatchLoggingConfiguration
|
|
87
|
+
* // Enabled: true || false,
|
|
88
|
+
* // LogGroup: "STRING_VALUE",
|
|
89
|
+
* // LogStreamNamePrefix: "STRING_VALUE",
|
|
90
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
91
|
+
* // LogTypes: { // LogTypesMap
|
|
92
|
+
* // "<keys>": [ // XmlStringList
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // ManagedLoggingConfiguration: { // SessionManagedLoggingConfiguration
|
|
98
|
+
* // Enabled: true || false,
|
|
99
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // S3LoggingConfiguration: { // SessionS3LoggingConfiguration
|
|
102
|
+
* // Enabled: true || false,
|
|
103
|
+
* // LogUri: "STRING_VALUE",
|
|
104
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
105
|
+
* // LogTypes: {
|
|
106
|
+
* // "<keys>": [
|
|
107
|
+
* // "STRING_VALUE",
|
|
108
|
+
* // ],
|
|
109
|
+
* // },
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // SessionIdleTimeoutInMinutes: Number("long"),
|
|
113
|
+
* // CertificateAuthority: { // CertificateAuthority
|
|
114
|
+
* // CertificateArn: "STRING_VALUE",
|
|
115
|
+
* // CertificateData: "STRING_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // ServerUrl: "STRING_VALUE",
|
|
118
|
+
* // Tags: [ // TagList
|
|
119
|
+
* // { // Tag
|
|
120
|
+
* // Key: "STRING_VALUE",
|
|
121
|
+
* // Value: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // NextToken: "STRING_VALUE",
|
|
127
|
+
* // };
|
|
128
|
+
*
|
|
129
|
+
* ```
|
|
130
|
+
*
|
|
131
|
+
* @param ListSessionsCommandInput - {@link ListSessionsCommandInput}
|
|
132
|
+
* @returns {@link ListSessionsCommandOutput}
|
|
133
|
+
* @see {@link ListSessionsCommandInput} for command's `input` shape.
|
|
134
|
+
* @see {@link ListSessionsCommandOutput} for command's `response` shape.
|
|
135
|
+
* @see {@link EMRClientResolvedConfig | config} for EMRClient's `config` shape.
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link InternalServerException} (server fault)
|
|
138
|
+
* <p>This exception occurs when there is an internal failure in the Amazon EMR
|
|
139
|
+
* service.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
142
|
+
* <p>This exception occurs when there is something wrong with user input.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link EMRServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from EMR service.</p>
|
|
146
|
+
*
|
|
147
|
+
*
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export declare class ListSessionsCommand extends ListSessionsCommand_base {
|
|
151
|
+
/** @internal type navigation helper, not in runtime. */
|
|
152
|
+
protected static __types: {
|
|
153
|
+
api: {
|
|
154
|
+
input: ListSessionsInput;
|
|
155
|
+
output: ListSessionsOutput;
|
|
156
|
+
};
|
|
157
|
+
sdk: {
|
|
158
|
+
input: ListSessionsCommandInput;
|
|
159
|
+
output: ListSessionsCommandOutput;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}
|