@aws-sdk/client-emr 3.1161.0 → 3.1163.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/dist-cjs/index.js +16 -6
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +12 -4
- package/dist-types/commands/DescribeStepCommand.d.ts +6 -0
- package/dist-types/commands/ListStepsCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +26 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
3
|
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
4
4
|
const { Command: $Command } = require("@smithy/core/client");
|
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1162.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -691,6 +691,8 @@ const _RJFO = "RunJobFlowOutput";
|
|
|
691
691
|
const _RL = "ReleaseLabel";
|
|
692
692
|
const _RLF = "ReleaseLabelFilter";
|
|
693
693
|
const _RLe = "ReleaseLabels";
|
|
694
|
+
const _RM = "ResourceManager";
|
|
695
|
+
const _RMAI = "ResourceManagerApplicationIds";
|
|
694
696
|
const _RMSP = "RemoveManagedScalingPolicy";
|
|
695
697
|
const _RMSPI = "RemoveManagedScalingPolicyInput";
|
|
696
698
|
const _RMSPO = "RemoveManagedScalingPolicyOutput";
|
|
@@ -706,6 +708,7 @@ const _Re = "Reason";
|
|
|
706
708
|
const _Rea = "Realm";
|
|
707
709
|
const _S = "Steps";
|
|
708
710
|
const _SA = "ScalingAction";
|
|
711
|
+
const _SAI = "StepAdditionalInfo";
|
|
709
712
|
const _SAL = "SimplifiedApplicationList";
|
|
710
713
|
const _SASG = "ServiceAccessSecurityGroup";
|
|
711
714
|
const _SAc = "ScalingAdjustment";
|
|
@@ -1936,8 +1939,13 @@ var StartSessionOutput$ = [3, n0, _SSO,
|
|
|
1936
1939
|
];
|
|
1937
1940
|
var Step$ = [3, n0, _Ste,
|
|
1938
1941
|
0,
|
|
1939
|
-
[_I, _N, _Confi, _AOF, _St, _ERA, _LU, _EKA],
|
|
1940
|
-
[0, 0, () => HadoopStepConfig$, 0, () => StepStatus$, 0, 0, 0]
|
|
1942
|
+
[_I, _N, _Confi, _AOF, _St, _ERA, _LU, _EKA, _AI],
|
|
1943
|
+
[0, 0, () => HadoopStepConfig$, 0, () => StepStatus$, 0, 0, 0, () => StepAdditionalInfo$]
|
|
1944
|
+
];
|
|
1945
|
+
var StepAdditionalInfo$ = [3, n0, _SAI,
|
|
1946
|
+
0,
|
|
1947
|
+
[_RMAI, _RM],
|
|
1948
|
+
[64 | 0, 0]
|
|
1941
1949
|
];
|
|
1942
1950
|
var StepConfig$ = [3, n0, _SCt,
|
|
1943
1951
|
0,
|
|
@@ -1971,8 +1979,8 @@ var StepStatus$ = [3, n0, _SSte,
|
|
|
1971
1979
|
];
|
|
1972
1980
|
var StepSummary$ = [3, n0, _SStep,
|
|
1973
1981
|
0,
|
|
1974
|
-
[_I, _N, _Confi, _AOF, _St, _LU, _EKA],
|
|
1975
|
-
[0, 0, () => HadoopStepConfig$, 0, () => StepStatus$, 0, 0]
|
|
1982
|
+
[_I, _N, _Confi, _AOF, _St, _LU, _EKA, _AI],
|
|
1983
|
+
[0, 0, () => HadoopStepConfig$, 0, () => StepStatus$, 0, 0, () => StepAdditionalInfo$]
|
|
1976
1984
|
];
|
|
1977
1985
|
var StepTimeline$ = [3, n0, _STt,
|
|
1978
1986
|
0,
|
|
@@ -2414,6 +2422,7 @@ const getRuntimeConfig = (config) => {
|
|
|
2414
2422
|
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
2415
2423
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
2416
2424
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
2425
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
2417
2426
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
2418
2427
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
2419
2428
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -3678,6 +3687,7 @@ exports.StartSessionInput$ = StartSessionInput$;
|
|
|
3678
3687
|
exports.StartSessionOutput$ = StartSessionOutput$;
|
|
3679
3688
|
exports.Statistic = Statistic;
|
|
3680
3689
|
exports.Step$ = Step$;
|
|
3690
|
+
exports.StepAdditionalInfo$ = StepAdditionalInfo$;
|
|
3681
3691
|
exports.StepCancellationOption = StepCancellationOption;
|
|
3682
3692
|
exports.StepConfig$ = StepConfig$;
|
|
3683
3693
|
exports.StepDetail$ = StepDetail$;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
@@ -26,6 +26,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
26
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -501,6 +501,8 @@ const _RJFO = "RunJobFlowOutput";
|
|
|
501
501
|
const _RL = "ReleaseLabel";
|
|
502
502
|
const _RLF = "ReleaseLabelFilter";
|
|
503
503
|
const _RLe = "ReleaseLabels";
|
|
504
|
+
const _RM = "ResourceManager";
|
|
505
|
+
const _RMAI = "ResourceManagerApplicationIds";
|
|
504
506
|
const _RMSP = "RemoveManagedScalingPolicy";
|
|
505
507
|
const _RMSPI = "RemoveManagedScalingPolicyInput";
|
|
506
508
|
const _RMSPO = "RemoveManagedScalingPolicyOutput";
|
|
@@ -516,6 +518,7 @@ const _Re = "Reason";
|
|
|
516
518
|
const _Rea = "Realm";
|
|
517
519
|
const _S = "Steps";
|
|
518
520
|
const _SA = "ScalingAction";
|
|
521
|
+
const _SAI = "StepAdditionalInfo";
|
|
519
522
|
const _SAL = "SimplifiedApplicationList";
|
|
520
523
|
const _SASG = "ServiceAccessSecurityGroup";
|
|
521
524
|
const _SAc = "ScalingAdjustment";
|
|
@@ -1749,8 +1752,13 @@ export var StartSessionOutput$ = [3, n0, _SSO,
|
|
|
1749
1752
|
];
|
|
1750
1753
|
export var Step$ = [3, n0, _Ste,
|
|
1751
1754
|
0,
|
|
1752
|
-
[_I, _N, _Confi, _AOF, _St, _ERA, _LU, _EKA],
|
|
1753
|
-
[0, 0, () => HadoopStepConfig$, 0, () => StepStatus$, 0, 0, 0]
|
|
1755
|
+
[_I, _N, _Confi, _AOF, _St, _ERA, _LU, _EKA, _AI],
|
|
1756
|
+
[0, 0, () => HadoopStepConfig$, 0, () => StepStatus$, 0, 0, 0, () => StepAdditionalInfo$]
|
|
1757
|
+
];
|
|
1758
|
+
export var StepAdditionalInfo$ = [3, n0, _SAI,
|
|
1759
|
+
0,
|
|
1760
|
+
[_RMAI, _RM],
|
|
1761
|
+
[64 | 0, 0]
|
|
1754
1762
|
];
|
|
1755
1763
|
export var StepConfig$ = [3, n0, _SCt,
|
|
1756
1764
|
0,
|
|
@@ -1784,8 +1792,8 @@ export var StepStatus$ = [3, n0, _SSte,
|
|
|
1784
1792
|
];
|
|
1785
1793
|
export var StepSummary$ = [3, n0, _SStep,
|
|
1786
1794
|
0,
|
|
1787
|
-
[_I, _N, _Confi, _AOF, _St, _LU, _EKA],
|
|
1788
|
-
[0, 0, () => HadoopStepConfig$, 0, () => StepStatus$, 0, 0]
|
|
1795
|
+
[_I, _N, _Confi, _AOF, _St, _LU, _EKA, _AI],
|
|
1796
|
+
[0, 0, () => HadoopStepConfig$, 0, () => StepStatus$, 0, 0, () => StepAdditionalInfo$]
|
|
1789
1797
|
];
|
|
1790
1798
|
export var StepTimeline$ = [3, n0, _STt,
|
|
1791
1799
|
0,
|
|
@@ -74,6 +74,12 @@ declare const DescribeStepCommand_base: {
|
|
|
74
74
|
* // ExecutionRoleArn: "STRING_VALUE",
|
|
75
75
|
* // LogUri: "STRING_VALUE",
|
|
76
76
|
* // EncryptionKeyArn: "STRING_VALUE",
|
|
77
|
+
* // AdditionalInfo: { // StepAdditionalInfo
|
|
78
|
+
* // ResourceManagerApplicationIds: [
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // ResourceManager: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
77
83
|
* // },
|
|
78
84
|
* // };
|
|
79
85
|
*
|
|
@@ -85,6 +85,12 @@ declare const ListStepsCommand_base: {
|
|
|
85
85
|
* // },
|
|
86
86
|
* // LogUri: "STRING_VALUE",
|
|
87
87
|
* // EncryptionKeyArn: "STRING_VALUE",
|
|
88
|
+
* // AdditionalInfo: { // StepAdditionalInfo
|
|
89
|
+
* // ResourceManagerApplicationIds: [
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
92
|
+
* // ResourceManager: "STRING_VALUE",
|
|
93
|
+
* // },
|
|
88
94
|
* // },
|
|
89
95
|
* // ],
|
|
90
96
|
* // Marker: "STRING_VALUE",
|
|
@@ -2722,6 +2722,22 @@ export interface DescribeStepInput {
|
|
|
2722
2722
|
*/
|
|
2723
2723
|
StepId: string | undefined;
|
|
2724
2724
|
}
|
|
2725
|
+
/**
|
|
2726
|
+
* <p>Additional information about a step's execution, available after the step has started running.</p>
|
|
2727
|
+
* @public
|
|
2728
|
+
*/
|
|
2729
|
+
export interface StepAdditionalInfo {
|
|
2730
|
+
/**
|
|
2731
|
+
* <p>The YARN application IDs associated with the step.</p>
|
|
2732
|
+
* @public
|
|
2733
|
+
*/
|
|
2734
|
+
ResourceManagerApplicationIds?: string[] | undefined;
|
|
2735
|
+
/**
|
|
2736
|
+
* <p>The address of the YARN resource manager that processed the step.</p>
|
|
2737
|
+
* @public
|
|
2738
|
+
*/
|
|
2739
|
+
ResourceManager?: string | undefined;
|
|
2740
|
+
}
|
|
2725
2741
|
/**
|
|
2726
2742
|
* <p>A cluster step consisting of a JAR file whose main function will be executed. The main
|
|
2727
2743
|
* function submits a job for Hadoop to execute and waits for the job to finish or
|
|
@@ -2909,6 +2925,11 @@ export interface Step {
|
|
|
2909
2925
|
* @public
|
|
2910
2926
|
*/
|
|
2911
2927
|
EncryptionKeyArn?: string | undefined;
|
|
2928
|
+
/**
|
|
2929
|
+
* <p>Additional information about the step, including the YARN application IDs associated with the step and the resource manager that processed it.</p>
|
|
2930
|
+
* @public
|
|
2931
|
+
*/
|
|
2932
|
+
AdditionalInfo?: StepAdditionalInfo | undefined;
|
|
2912
2933
|
}
|
|
2913
2934
|
/**
|
|
2914
2935
|
* <p>This output contains the description of the cluster step.</p>
|
|
@@ -4448,6 +4469,11 @@ export interface StepSummary {
|
|
|
4448
4469
|
* @public
|
|
4449
4470
|
*/
|
|
4450
4471
|
EncryptionKeyArn?: string | undefined;
|
|
4472
|
+
/**
|
|
4473
|
+
* <p>Additional information about the step, including the YARN application IDs associated with the step and the resource manager that processed it.</p>
|
|
4474
|
+
* @public
|
|
4475
|
+
*/
|
|
4476
|
+
AdditionalInfo?: StepAdditionalInfo | undefined;
|
|
4451
4477
|
}
|
|
4452
4478
|
/**
|
|
4453
4479
|
* <p>This output contains the list of steps returned in reverse order. This means that the
|
|
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: EMRClientConfig) => {
|
|
|
44
44
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
45
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
46
|
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
|
+
defaultSocketTimeout: number | undefined;
|
|
47
48
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
48
49
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
49
50
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -220,6 +220,7 @@ export declare var StartNotebookExecutionOutput$: StaticStructureSchema;
|
|
|
220
220
|
export declare var StartSessionInput$: StaticStructureSchema;
|
|
221
221
|
export declare var StartSessionOutput$: StaticStructureSchema;
|
|
222
222
|
export declare var Step$: StaticStructureSchema;
|
|
223
|
+
export declare var StepAdditionalInfo$: StaticStructureSchema;
|
|
223
224
|
export declare var StepConfig$: StaticStructureSchema;
|
|
224
225
|
export declare var StepDetail$: StaticStructureSchema;
|
|
225
226
|
export declare var StepExecutionStatusDetail$: StaticStructureSchema;
|
|
@@ -573,6 +573,10 @@ export interface DescribeStepInput {
|
|
|
573
573
|
ClusterId: string | undefined;
|
|
574
574
|
StepId: string | undefined;
|
|
575
575
|
}
|
|
576
|
+
export interface StepAdditionalInfo {
|
|
577
|
+
ResourceManagerApplicationIds?: string[] | undefined;
|
|
578
|
+
ResourceManager?: string | undefined;
|
|
579
|
+
}
|
|
576
580
|
export interface HadoopStepConfig {
|
|
577
581
|
Jar?: string | undefined;
|
|
578
582
|
Properties?: Record<string, string> | undefined;
|
|
@@ -608,6 +612,7 @@ export interface Step {
|
|
|
608
612
|
ExecutionRoleArn?: string | undefined;
|
|
609
613
|
LogUri?: string | undefined;
|
|
610
614
|
EncryptionKeyArn?: string | undefined;
|
|
615
|
+
AdditionalInfo?: StepAdditionalInfo | undefined;
|
|
611
616
|
}
|
|
612
617
|
export interface DescribeStepOutput {
|
|
613
618
|
Step?: Step | undefined;
|
|
@@ -921,6 +926,7 @@ export interface StepSummary {
|
|
|
921
926
|
Status?: StepStatus | undefined;
|
|
922
927
|
LogUri?: string | undefined;
|
|
923
928
|
EncryptionKeyArn?: string | undefined;
|
|
929
|
+
AdditionalInfo?: StepAdditionalInfo | undefined;
|
|
924
930
|
}
|
|
925
931
|
export interface ListStepsOutput {
|
|
926
932
|
Steps?: StepSummary[] | undefined;
|
|
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: EMRClientConfig) => {
|
|
|
78
78
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
79
79
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
80
80
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
81
|
+
defaultSocketTimeout: number | undefined;
|
|
81
82
|
defaultUserAgentProvider: (
|
|
82
83
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
84
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -220,6 +220,7 @@ export declare var StartNotebookExecutionOutput$: StaticStructureSchema;
|
|
|
220
220
|
export declare var StartSessionInput$: StaticStructureSchema;
|
|
221
221
|
export declare var StartSessionOutput$: StaticStructureSchema;
|
|
222
222
|
export declare var Step$: StaticStructureSchema;
|
|
223
|
+
export declare var StepAdditionalInfo$: StaticStructureSchema;
|
|
223
224
|
export declare var StepConfig$: StaticStructureSchema;
|
|
224
225
|
export declare var StepDetail$: StaticStructureSchema;
|
|
225
226
|
export declare var StepExecutionStatusDetail$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-emr",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1163.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Emr Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-emr",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
+
"@aws-sdk/core": "^3.980.0",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
53
53
|
"@aws-sdk/types": "^3.975.0",
|
|
54
54
|
"@smithy/core": "^3.38.0",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.0",
|