@aws-sdk/client-emr 3.810.0 → 3.812.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 (29) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +189 -0
  3. package/dist-es/EMR.js +8 -0
  4. package/dist-es/commands/CreatePersistentAppUICommand.js +22 -0
  5. package/dist-es/commands/DescribePersistentAppUICommand.js +22 -0
  6. package/dist-es/commands/GetOnClusterAppUIPresignedURLCommand.js +22 -0
  7. package/dist-es/commands/GetPersistentAppUIPresignedURLCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +18 -0
  10. package/dist-es/protocols/Aws_json1_1.js +93 -0
  11. package/dist-types/EMR.d.ts +28 -0
  12. package/dist-types/EMRClient.d.ts +6 -2
  13. package/dist-types/commands/CreatePersistentAppUICommand.d.ts +91 -0
  14. package/dist-types/commands/DescribePersistentAppUICommand.d.ts +95 -0
  15. package/dist-types/commands/GetOnClusterAppUIPresignedURLCommand.d.ts +84 -0
  16. package/dist-types/commands/GetPersistentAppUIPresignedURLCommand.d.ts +84 -0
  17. package/dist-types/commands/index.d.ts +4 -0
  18. package/dist-types/models/models_0.d.ts +258 -0
  19. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  20. package/dist-types/ts3.4/EMR.d.ts +68 -0
  21. package/dist-types/ts3.4/EMRClient.d.ts +24 -0
  22. package/dist-types/ts3.4/commands/CreatePersistentAppUICommand.d.ts +51 -0
  23. package/dist-types/ts3.4/commands/DescribePersistentAppUICommand.d.ts +51 -0
  24. package/dist-types/ts3.4/commands/GetOnClusterAppUIPresignedURLCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/GetPersistentAppUIPresignedURLCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +75 -0
  28. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  29. package/package.json +5 -5
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRClient";
8
+ import {
9
+ GetOnClusterAppUIPresignedURLInput,
10
+ GetOnClusterAppUIPresignedURLOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetOnClusterAppUIPresignedURLCommandInput
15
+ extends GetOnClusterAppUIPresignedURLInput {}
16
+ export interface GetOnClusterAppUIPresignedURLCommandOutput
17
+ extends GetOnClusterAppUIPresignedURLOutput,
18
+ __MetadataBearer {}
19
+ declare const GetOnClusterAppUIPresignedURLCommand_base: {
20
+ new (
21
+ input: GetOnClusterAppUIPresignedURLCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetOnClusterAppUIPresignedURLCommandInput,
24
+ GetOnClusterAppUIPresignedURLCommandOutput,
25
+ EMRClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetOnClusterAppUIPresignedURLCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetOnClusterAppUIPresignedURLCommandInput,
33
+ GetOnClusterAppUIPresignedURLCommandOutput,
34
+ EMRClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetOnClusterAppUIPresignedURLCommand extends GetOnClusterAppUIPresignedURLCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetOnClusterAppUIPresignedURLInput;
44
+ output: GetOnClusterAppUIPresignedURLOutput;
45
+ };
46
+ sdk: {
47
+ input: GetOnClusterAppUIPresignedURLCommandInput;
48
+ output: GetOnClusterAppUIPresignedURLCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EMRClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EMRClient";
8
+ import {
9
+ GetPersistentAppUIPresignedURLInput,
10
+ GetPersistentAppUIPresignedURLOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetPersistentAppUIPresignedURLCommandInput
15
+ extends GetPersistentAppUIPresignedURLInput {}
16
+ export interface GetPersistentAppUIPresignedURLCommandOutput
17
+ extends GetPersistentAppUIPresignedURLOutput,
18
+ __MetadataBearer {}
19
+ declare const GetPersistentAppUIPresignedURLCommand_base: {
20
+ new (
21
+ input: GetPersistentAppUIPresignedURLCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetPersistentAppUIPresignedURLCommandInput,
24
+ GetPersistentAppUIPresignedURLCommandOutput,
25
+ EMRClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetPersistentAppUIPresignedURLCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetPersistentAppUIPresignedURLCommandInput,
33
+ GetPersistentAppUIPresignedURLCommandOutput,
34
+ EMRClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetPersistentAppUIPresignedURLCommand extends GetPersistentAppUIPresignedURLCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetPersistentAppUIPresignedURLInput;
44
+ output: GetPersistentAppUIPresignedURLOutput;
45
+ };
46
+ sdk: {
47
+ input: GetPersistentAppUIPresignedURLCommandInput;
48
+ output: GetPersistentAppUIPresignedURLCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -3,6 +3,7 @@ export * from "./AddInstanceGroupsCommand";
3
3
  export * from "./AddJobFlowStepsCommand";
4
4
  export * from "./AddTagsCommand";
5
5
  export * from "./CancelStepsCommand";
6
+ export * from "./CreatePersistentAppUICommand";
6
7
  export * from "./CreateSecurityConfigurationCommand";
7
8
  export * from "./CreateStudioCommand";
8
9
  export * from "./CreateStudioSessionMappingCommand";
@@ -12,6 +13,7 @@ export * from "./DeleteStudioSessionMappingCommand";
12
13
  export * from "./DescribeClusterCommand";
13
14
  export * from "./DescribeJobFlowsCommand";
14
15
  export * from "./DescribeNotebookExecutionCommand";
16
+ export * from "./DescribePersistentAppUICommand";
15
17
  export * from "./DescribeReleaseLabelCommand";
16
18
  export * from "./DescribeSecurityConfigurationCommand";
17
19
  export * from "./DescribeStepCommand";
@@ -20,6 +22,8 @@ export * from "./GetAutoTerminationPolicyCommand";
20
22
  export * from "./GetBlockPublicAccessConfigurationCommand";
21
23
  export * from "./GetClusterSessionCredentialsCommand";
22
24
  export * from "./GetManagedScalingPolicyCommand";
25
+ export * from "./GetOnClusterAppUIPresignedURLCommand";
26
+ export * from "./GetPersistentAppUIPresignedURLCommand";
23
27
  export * from "./GetStudioSessionMappingCommand";
24
28
  export * from "./ListBootstrapActionsCommand";
25
29
  export * from "./ListClustersCommand";
@@ -476,6 +476,26 @@ export interface ComputeLimits {
476
476
  MaximumOnDemandCapacityUnits?: number | undefined;
477
477
  MaximumCoreCapacityUnits?: number | undefined;
478
478
  }
479
+ export interface EMRContainersConfig {
480
+ JobRunId?: string | undefined;
481
+ }
482
+ export declare const ProfilerType: {
483
+ readonly SHS: "SHS";
484
+ readonly TEZUI: "TEZUI";
485
+ readonly YTS: "YTS";
486
+ };
487
+ export type ProfilerType = (typeof ProfilerType)[keyof typeof ProfilerType];
488
+ export interface CreatePersistentAppUIInput {
489
+ TargetResourceArn: string | undefined;
490
+ EMRContainersConfig?: EMRContainersConfig | undefined;
491
+ Tags?: Tag[] | undefined;
492
+ XReferer?: string | undefined;
493
+ ProfilerType?: ProfilerType | undefined;
494
+ }
495
+ export interface CreatePersistentAppUIOutput {
496
+ PersistentAppUIId?: string | undefined;
497
+ RuntimeRoleEnabledCluster?: boolean | undefined;
498
+ }
479
499
  export interface CreateSecurityConfigurationInput {
480
500
  Name: string | undefined;
481
501
  SecurityConfiguration: string | undefined;
@@ -746,6 +766,29 @@ export interface NotebookExecution {
746
766
  export interface DescribeNotebookExecutionOutput {
747
767
  NotebookExecution?: NotebookExecution | undefined;
748
768
  }
769
+ export interface DescribePersistentAppUIInput {
770
+ PersistentAppUIId: string | undefined;
771
+ }
772
+ export declare const PersistentAppUIType: {
773
+ readonly SHS: "SHS";
774
+ readonly TEZ: "TEZ";
775
+ readonly YTS: "YTS";
776
+ };
777
+ export type PersistentAppUIType =
778
+ (typeof PersistentAppUIType)[keyof typeof PersistentAppUIType];
779
+ export interface PersistentAppUI {
780
+ PersistentAppUIId?: string | undefined;
781
+ PersistentAppUITypeList?: PersistentAppUIType[] | undefined;
782
+ PersistentAppUIStatus?: string | undefined;
783
+ AuthorId?: string | undefined;
784
+ CreationTime?: Date | undefined;
785
+ LastModifiedTime?: Date | undefined;
786
+ LastStateChangeReason?: string | undefined;
787
+ Tags?: Tag[] | undefined;
788
+ }
789
+ export interface DescribePersistentAppUIOutput {
790
+ PersistentAppUI?: PersistentAppUI | undefined;
791
+ }
749
792
  export interface DescribeReleaseLabelInput {
750
793
  ReleaseLabel?: string | undefined;
751
794
  NextToken?: string | undefined;
@@ -897,6 +940,38 @@ export interface ManagedScalingPolicy {
897
940
  export interface GetManagedScalingPolicyOutput {
898
941
  ManagedScalingPolicy?: ManagedScalingPolicy | undefined;
899
942
  }
943
+ export declare const OnClusterAppUIType: {
944
+ readonly ApplicationMaster: "ApplicationMaster";
945
+ readonly JobHistoryServer: "JobHistoryServer";
946
+ readonly ResourceManager: "ResourceManager";
947
+ readonly SparkHistoryServer: "SparkHistoryServer";
948
+ readonly TezUI: "TezUI";
949
+ readonly YarnTimelineService: "YarnTimelineService";
950
+ };
951
+ export type OnClusterAppUIType =
952
+ (typeof OnClusterAppUIType)[keyof typeof OnClusterAppUIType];
953
+ export interface GetOnClusterAppUIPresignedURLInput {
954
+ ClusterId: string | undefined;
955
+ OnClusterAppUIType?: OnClusterAppUIType | undefined;
956
+ ApplicationId?: string | undefined;
957
+ DryRun?: boolean | undefined;
958
+ ExecutionRoleArn?: string | undefined;
959
+ }
960
+ export interface GetOnClusterAppUIPresignedURLOutput {
961
+ PresignedURLReady?: boolean | undefined;
962
+ PresignedURL?: string | undefined;
963
+ }
964
+ export interface GetPersistentAppUIPresignedURLInput {
965
+ PersistentAppUIId: string | undefined;
966
+ PersistentAppUIType?: PersistentAppUIType | undefined;
967
+ ApplicationId?: string | undefined;
968
+ AuthProxyCall?: boolean | undefined;
969
+ ExecutionRoleArn?: string | undefined;
970
+ }
971
+ export interface GetPersistentAppUIPresignedURLOutput {
972
+ PresignedURLReady?: boolean | undefined;
973
+ PresignedURL?: string | undefined;
974
+ }
900
975
  export interface GetStudioSessionMappingInput {
901
976
  StudioId: string | undefined;
902
977
  IdentityId?: string | undefined;
@@ -23,6 +23,10 @@ import {
23
23
  CancelStepsCommandInput,
24
24
  CancelStepsCommandOutput,
25
25
  } from "../commands/CancelStepsCommand";
26
+ import {
27
+ CreatePersistentAppUICommandInput,
28
+ CreatePersistentAppUICommandOutput,
29
+ } from "../commands/CreatePersistentAppUICommand";
26
30
  import {
27
31
  CreateSecurityConfigurationCommandInput,
28
32
  CreateSecurityConfigurationCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  DescribeNotebookExecutionCommandInput,
60
64
  DescribeNotebookExecutionCommandOutput,
61
65
  } from "../commands/DescribeNotebookExecutionCommand";
66
+ import {
67
+ DescribePersistentAppUICommandInput,
68
+ DescribePersistentAppUICommandOutput,
69
+ } from "../commands/DescribePersistentAppUICommand";
62
70
  import {
63
71
  DescribeReleaseLabelCommandInput,
64
72
  DescribeReleaseLabelCommandOutput,
@@ -91,6 +99,14 @@ import {
91
99
  GetManagedScalingPolicyCommandInput,
92
100
  GetManagedScalingPolicyCommandOutput,
93
101
  } from "../commands/GetManagedScalingPolicyCommand";
102
+ import {
103
+ GetOnClusterAppUIPresignedURLCommandInput,
104
+ GetOnClusterAppUIPresignedURLCommandOutput,
105
+ } from "../commands/GetOnClusterAppUIPresignedURLCommand";
106
+ import {
107
+ GetPersistentAppUIPresignedURLCommandInput,
108
+ GetPersistentAppUIPresignedURLCommandOutput,
109
+ } from "../commands/GetPersistentAppUIPresignedURLCommand";
94
110
  import {
95
111
  GetStudioSessionMappingCommandInput,
96
112
  GetStudioSessionMappingCommandOutput,
@@ -247,6 +263,10 @@ export declare const se_CancelStepsCommand: (
247
263
  input: CancelStepsCommandInput,
248
264
  context: __SerdeContext
249
265
  ) => Promise<__HttpRequest>;
266
+ export declare const se_CreatePersistentAppUICommand: (
267
+ input: CreatePersistentAppUICommandInput,
268
+ context: __SerdeContext
269
+ ) => Promise<__HttpRequest>;
250
270
  export declare const se_CreateSecurityConfigurationCommand: (
251
271
  input: CreateSecurityConfigurationCommandInput,
252
272
  context: __SerdeContext
@@ -283,6 +303,10 @@ export declare const se_DescribeNotebookExecutionCommand: (
283
303
  input: DescribeNotebookExecutionCommandInput,
284
304
  context: __SerdeContext
285
305
  ) => Promise<__HttpRequest>;
306
+ export declare const se_DescribePersistentAppUICommand: (
307
+ input: DescribePersistentAppUICommandInput,
308
+ context: __SerdeContext
309
+ ) => Promise<__HttpRequest>;
286
310
  export declare const se_DescribeReleaseLabelCommand: (
287
311
  input: DescribeReleaseLabelCommandInput,
288
312
  context: __SerdeContext
@@ -315,6 +339,14 @@ export declare const se_GetManagedScalingPolicyCommand: (
315
339
  input: GetManagedScalingPolicyCommandInput,
316
340
  context: __SerdeContext
317
341
  ) => Promise<__HttpRequest>;
342
+ export declare const se_GetOnClusterAppUIPresignedURLCommand: (
343
+ input: GetOnClusterAppUIPresignedURLCommandInput,
344
+ context: __SerdeContext
345
+ ) => Promise<__HttpRequest>;
346
+ export declare const se_GetPersistentAppUIPresignedURLCommand: (
347
+ input: GetPersistentAppUIPresignedURLCommandInput,
348
+ context: __SerdeContext
349
+ ) => Promise<__HttpRequest>;
318
350
  export declare const se_GetStudioSessionMappingCommand: (
319
351
  input: GetStudioSessionMappingCommandInput,
320
352
  context: __SerdeContext
@@ -471,6 +503,10 @@ export declare const de_CancelStepsCommand: (
471
503
  output: __HttpResponse,
472
504
  context: __SerdeContext
473
505
  ) => Promise<CancelStepsCommandOutput>;
506
+ export declare const de_CreatePersistentAppUICommand: (
507
+ output: __HttpResponse,
508
+ context: __SerdeContext
509
+ ) => Promise<CreatePersistentAppUICommandOutput>;
474
510
  export declare const de_CreateSecurityConfigurationCommand: (
475
511
  output: __HttpResponse,
476
512
  context: __SerdeContext
@@ -507,6 +543,10 @@ export declare const de_DescribeNotebookExecutionCommand: (
507
543
  output: __HttpResponse,
508
544
  context: __SerdeContext
509
545
  ) => Promise<DescribeNotebookExecutionCommandOutput>;
546
+ export declare const de_DescribePersistentAppUICommand: (
547
+ output: __HttpResponse,
548
+ context: __SerdeContext
549
+ ) => Promise<DescribePersistentAppUICommandOutput>;
510
550
  export declare const de_DescribeReleaseLabelCommand: (
511
551
  output: __HttpResponse,
512
552
  context: __SerdeContext
@@ -539,6 +579,14 @@ export declare const de_GetManagedScalingPolicyCommand: (
539
579
  output: __HttpResponse,
540
580
  context: __SerdeContext
541
581
  ) => Promise<GetManagedScalingPolicyCommandOutput>;
582
+ export declare const de_GetOnClusterAppUIPresignedURLCommand: (
583
+ output: __HttpResponse,
584
+ context: __SerdeContext
585
+ ) => Promise<GetOnClusterAppUIPresignedURLCommandOutput>;
586
+ export declare const de_GetPersistentAppUIPresignedURLCommand: (
587
+ output: __HttpResponse,
588
+ context: __SerdeContext
589
+ ) => Promise<GetPersistentAppUIPresignedURLCommandOutput>;
542
590
  export declare const de_GetStudioSessionMappingCommand: (
543
591
  output: __HttpResponse,
544
592
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr",
3
3
  "description": "AWS SDK for JavaScript Emr Client for Node.js, Browser and React Native",
4
- "version": "3.810.0",
4
+ "version": "3.812.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-emr",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.810.0",
24
- "@aws-sdk/credential-provider-node": "3.810.0",
23
+ "@aws-sdk/core": "3.812.0",
24
+ "@aws-sdk/credential-provider-node": "3.812.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
- "@aws-sdk/middleware-user-agent": "3.810.0",
28
+ "@aws-sdk/middleware-user-agent": "3.812.0",
29
29
  "@aws-sdk/region-config-resolver": "3.808.0",
30
30
  "@aws-sdk/types": "3.804.0",
31
31
  "@aws-sdk/util-endpoints": "3.808.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.804.0",
33
- "@aws-sdk/util-user-agent-node": "3.810.0",
33
+ "@aws-sdk/util-user-agent-node": "3.812.0",
34
34
  "@smithy/config-resolver": "^4.1.2",
35
35
  "@smithy/core": "^3.3.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",