@aws-sdk/client-emr 3.514.0 → 3.516.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 CHANGED
@@ -596,6 +596,14 @@ SetTerminationProtection
596
596
 
597
597
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr/command/SetTerminationProtectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr/Interface/SetTerminationProtectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr/Interface/SetTerminationProtectionCommandOutput/)
598
598
 
599
+ </details>
600
+ <details>
601
+ <summary>
602
+ SetUnhealthyNodeReplacement
603
+ </summary>
604
+
605
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr/command/SetUnhealthyNodeReplacementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr/Interface/SetUnhealthyNodeReplacementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr/Interface/SetUnhealthyNodeReplacementCommandOutput/)
606
+
599
607
  </details>
600
608
  <details>
601
609
  <summary>
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
package/dist-cjs/index.js CHANGED
@@ -113,6 +113,7 @@ __export(src_exports, {
113
113
  ScaleDownBehavior: () => ScaleDownBehavior,
114
114
  SetKeepJobFlowAliveWhenNoStepsCommand: () => SetKeepJobFlowAliveWhenNoStepsCommand,
115
115
  SetTerminationProtectionCommand: () => SetTerminationProtectionCommand,
116
+ SetUnhealthyNodeReplacementCommand: () => SetUnhealthyNodeReplacementCommand,
116
117
  SetVisibleToAllUsersCommand: () => SetVisibleToAllUsersCommand,
117
118
  SpotProvisioningAllocationStrategy: () => SpotProvisioningAllocationStrategy,
118
119
  SpotProvisioningTimeoutAction: () => SpotProvisioningTimeoutAction,
@@ -962,6 +963,12 @@ var se_SetTerminationProtectionCommand = /* @__PURE__ */ __name(async (input, co
962
963
  body = JSON.stringify((0, import_smithy_client._json)(input));
963
964
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
964
965
  }, "se_SetTerminationProtectionCommand");
966
+ var se_SetUnhealthyNodeReplacementCommand = /* @__PURE__ */ __name(async (input, context) => {
967
+ const headers = sharedHeaders("SetUnhealthyNodeReplacement");
968
+ let body;
969
+ body = JSON.stringify((0, import_smithy_client._json)(input));
970
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
971
+ }, "se_SetUnhealthyNodeReplacementCommand");
965
972
  var se_SetVisibleToAllUsersCommand = /* @__PURE__ */ __name(async (input, context) => {
966
973
  const headers = sharedHeaders("SetVisibleToAllUsers");
967
974
  let body;
@@ -1614,6 +1621,16 @@ var de_SetTerminationProtectionCommand = /* @__PURE__ */ __name(async (output, c
1614
1621
  };
1615
1622
  return response;
1616
1623
  }, "de_SetTerminationProtectionCommand");
1624
+ var de_SetUnhealthyNodeReplacementCommand = /* @__PURE__ */ __name(async (output, context) => {
1625
+ if (output.statusCode >= 300) {
1626
+ return de_CommandError(output, context);
1627
+ }
1628
+ await (0, import_smithy_client.collectBody)(output.body, context);
1629
+ const response = {
1630
+ $metadata: deserializeMetadata(output)
1631
+ };
1632
+ return response;
1633
+ }, "de_SetUnhealthyNodeReplacementCommand");
1617
1634
  var de_SetVisibleToAllUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
1618
1635
  if (output.statusCode >= 300) {
1619
1636
  return de_CommandError(output, context);
@@ -1873,7 +1890,8 @@ var se_JobFlowInstancesConfig = /* @__PURE__ */ __name((input, context) => {
1873
1890
  Placement: import_smithy_client._json,
1874
1891
  ServiceAccessSecurityGroup: [],
1875
1892
  SlaveInstanceType: [],
1876
- TerminationProtected: []
1893
+ TerminationProtected: [],
1894
+ UnhealthyNodeReplacement: []
1877
1895
  });
1878
1896
  }, "se_JobFlowInstancesConfig");
1879
1897
  var se_ListClustersInput = /* @__PURE__ */ __name((input, context) => {
@@ -2034,6 +2052,7 @@ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
2034
2052
  StepConcurrencyLevel: import_smithy_client.expectInt32,
2035
2053
  Tags: import_smithy_client._json,
2036
2054
  TerminationProtected: import_smithy_client.expectBoolean,
2055
+ UnhealthyNodeReplacement: import_smithy_client.expectBoolean,
2037
2056
  VisibleToAllUsers: import_smithy_client.expectBoolean
2038
2057
  });
2039
2058
  }, "de_Cluster");
@@ -2341,7 +2360,8 @@ var de_JobFlowInstancesDetail = /* @__PURE__ */ __name((output, context) => {
2341
2360
  NormalizedInstanceHours: import_smithy_client.expectInt32,
2342
2361
  Placement: import_smithy_client._json,
2343
2362
  SlaveInstanceType: import_smithy_client.expectString,
2344
- TerminationProtected: import_smithy_client.expectBoolean
2363
+ TerminationProtected: import_smithy_client.expectBoolean,
2364
+ UnhealthyNodeReplacement: import_smithy_client.expectBoolean
2345
2365
  });
2346
2366
  }, "de_JobFlowInstancesDetail");
2347
2367
  var de_ListClustersOutput = /* @__PURE__ */ __name((output, context) => {
@@ -3536,6 +3556,23 @@ var _SetTerminationProtectionCommand = class _SetTerminationProtectionCommand ex
3536
3556
  __name(_SetTerminationProtectionCommand, "SetTerminationProtectionCommand");
3537
3557
  var SetTerminationProtectionCommand = _SetTerminationProtectionCommand;
3538
3558
 
3559
+ // src/commands/SetUnhealthyNodeReplacementCommand.ts
3560
+
3561
+
3562
+
3563
+
3564
+ var _SetUnhealthyNodeReplacementCommand = class _SetUnhealthyNodeReplacementCommand extends import_smithy_client.Command.classBuilder().ep({
3565
+ ...commonParams
3566
+ }).m(function(Command, cs, config, o) {
3567
+ return [
3568
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3569
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3570
+ ];
3571
+ }).s("ElasticMapReduce", "SetUnhealthyNodeReplacement", {}).n("EMRClient", "SetUnhealthyNodeReplacementCommand").f(void 0, void 0).ser(se_SetUnhealthyNodeReplacementCommand).de(de_SetUnhealthyNodeReplacementCommand).build() {
3572
+ };
3573
+ __name(_SetUnhealthyNodeReplacementCommand, "SetUnhealthyNodeReplacementCommand");
3574
+ var SetUnhealthyNodeReplacementCommand = _SetUnhealthyNodeReplacementCommand;
3575
+
3539
3576
  // src/commands/SetVisibleToAllUsersCommand.ts
3540
3577
 
3541
3578
 
@@ -3689,6 +3726,7 @@ var commands = {
3689
3726
  RunJobFlowCommand,
3690
3727
  SetKeepJobFlowAliveWhenNoStepsCommand,
3691
3728
  SetTerminationProtectionCommand,
3729
+ SetUnhealthyNodeReplacementCommand,
3692
3730
  SetVisibleToAllUsersCommand,
3693
3731
  StartNotebookExecutionCommand,
3694
3732
  StopNotebookExecutionCommand,
@@ -3965,6 +4003,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3965
4003
  RunJobFlowCommand,
3966
4004
  SetKeepJobFlowAliveWhenNoStepsCommand,
3967
4005
  SetTerminationProtectionCommand,
4006
+ SetUnhealthyNodeReplacementCommand,
3968
4007
  SetVisibleToAllUsersCommand,
3969
4008
  StartNotebookExecutionCommand,
3970
4009
  StopNotebookExecutionCommand,
package/dist-es/EMR.js CHANGED
@@ -48,6 +48,7 @@ import { RemoveTagsCommand } from "./commands/RemoveTagsCommand";
48
48
  import { RunJobFlowCommand } from "./commands/RunJobFlowCommand";
49
49
  import { SetKeepJobFlowAliveWhenNoStepsCommand, } from "./commands/SetKeepJobFlowAliveWhenNoStepsCommand";
50
50
  import { SetTerminationProtectionCommand, } from "./commands/SetTerminationProtectionCommand";
51
+ import { SetUnhealthyNodeReplacementCommand, } from "./commands/SetUnhealthyNodeReplacementCommand";
51
52
  import { SetVisibleToAllUsersCommand, } from "./commands/SetVisibleToAllUsersCommand";
52
53
  import { StartNotebookExecutionCommand, } from "./commands/StartNotebookExecutionCommand";
53
54
  import { StopNotebookExecutionCommand, } from "./commands/StopNotebookExecutionCommand";
@@ -105,6 +106,7 @@ const commands = {
105
106
  RunJobFlowCommand,
106
107
  SetKeepJobFlowAliveWhenNoStepsCommand,
107
108
  SetTerminationProtectionCommand,
109
+ SetUnhealthyNodeReplacementCommand,
108
110
  SetVisibleToAllUsersCommand,
109
111
  StartNotebookExecutionCommand,
110
112
  StopNotebookExecutionCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_SetUnhealthyNodeReplacementCommand, se_SetUnhealthyNodeReplacementCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class SetUnhealthyNodeReplacementCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticMapReduce", "SetUnhealthyNodeReplacement", {})
19
+ .n("EMRClient", "SetUnhealthyNodeReplacementCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_SetUnhealthyNodeReplacementCommand)
22
+ .de(de_SetUnhealthyNodeReplacementCommand)
23
+ .build() {
24
+ }
@@ -47,6 +47,7 @@ export * from "./RemoveTagsCommand";
47
47
  export * from "./RunJobFlowCommand";
48
48
  export * from "./SetKeepJobFlowAliveWhenNoStepsCommand";
49
49
  export * from "./SetTerminationProtectionCommand";
50
+ export * from "./SetUnhealthyNodeReplacementCommand";
50
51
  export * from "./SetVisibleToAllUsersCommand";
51
52
  export * from "./StartNotebookExecutionCommand";
52
53
  export * from "./StopNotebookExecutionCommand";
@@ -297,6 +297,12 @@ export const se_SetTerminationProtectionCommand = async (input, context) => {
297
297
  body = JSON.stringify(_json(input));
298
298
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
299
299
  };
300
+ export const se_SetUnhealthyNodeReplacementCommand = async (input, context) => {
301
+ const headers = sharedHeaders("SetUnhealthyNodeReplacement");
302
+ let body;
303
+ body = JSON.stringify(_json(input));
304
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
305
+ };
300
306
  export const se_SetVisibleToAllUsersCommand = async (input, context) => {
301
307
  const headers = sharedHeaders("SetVisibleToAllUsers");
302
308
  let body;
@@ -949,6 +955,16 @@ export const de_SetTerminationProtectionCommand = async (output, context) => {
949
955
  };
950
956
  return response;
951
957
  };
958
+ export const de_SetUnhealthyNodeReplacementCommand = async (output, context) => {
959
+ if (output.statusCode >= 300) {
960
+ return de_CommandError(output, context);
961
+ }
962
+ await collectBody(output.body, context);
963
+ const response = {
964
+ $metadata: deserializeMetadata(output),
965
+ };
966
+ return response;
967
+ };
952
968
  export const de_SetVisibleToAllUsersCommand = async (output, context) => {
953
969
  if (output.statusCode >= 300) {
954
970
  return de_CommandError(output, context);
@@ -1219,6 +1235,7 @@ const se_JobFlowInstancesConfig = (input, context) => {
1219
1235
  ServiceAccessSecurityGroup: [],
1220
1236
  SlaveInstanceType: [],
1221
1237
  TerminationProtected: [],
1238
+ UnhealthyNodeReplacement: [],
1222
1239
  });
1223
1240
  };
1224
1241
  const se_ListClustersInput = (input, context) => {
@@ -1381,6 +1398,7 @@ const de_Cluster = (output, context) => {
1381
1398
  StepConcurrencyLevel: __expectInt32,
1382
1399
  Tags: _json,
1383
1400
  TerminationProtected: __expectBoolean,
1401
+ UnhealthyNodeReplacement: __expectBoolean,
1384
1402
  VisibleToAllUsers: __expectBoolean,
1385
1403
  });
1386
1404
  };
@@ -1705,6 +1723,7 @@ const de_JobFlowInstancesDetail = (output, context) => {
1705
1723
  Placement: _json,
1706
1724
  SlaveInstanceType: __expectString,
1707
1725
  TerminationProtected: __expectBoolean,
1726
+ UnhealthyNodeReplacement: __expectBoolean,
1708
1727
  });
1709
1728
  };
1710
1729
  const de_ListClustersOutput = (output, context) => {
@@ -48,6 +48,7 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/Remo
48
48
  import { RunJobFlowCommandInput, RunJobFlowCommandOutput } from "./commands/RunJobFlowCommand";
49
49
  import { SetKeepJobFlowAliveWhenNoStepsCommandInput, SetKeepJobFlowAliveWhenNoStepsCommandOutput } from "./commands/SetKeepJobFlowAliveWhenNoStepsCommand";
50
50
  import { SetTerminationProtectionCommandInput, SetTerminationProtectionCommandOutput } from "./commands/SetTerminationProtectionCommand";
51
+ import { SetUnhealthyNodeReplacementCommandInput, SetUnhealthyNodeReplacementCommandOutput } from "./commands/SetUnhealthyNodeReplacementCommand";
51
52
  import { SetVisibleToAllUsersCommandInput, SetVisibleToAllUsersCommandOutput } from "./commands/SetVisibleToAllUsersCommand";
52
53
  import { StartNotebookExecutionCommandInput, StartNotebookExecutionCommandOutput } from "./commands/StartNotebookExecutionCommand";
53
54
  import { StopNotebookExecutionCommandInput, StopNotebookExecutionCommandOutput } from "./commands/StopNotebookExecutionCommand";
@@ -350,6 +351,12 @@ export interface EMR {
350
351
  setTerminationProtection(args: SetTerminationProtectionCommandInput, options?: __HttpHandlerOptions): Promise<SetTerminationProtectionCommandOutput>;
351
352
  setTerminationProtection(args: SetTerminationProtectionCommandInput, cb: (err: any, data?: SetTerminationProtectionCommandOutput) => void): void;
352
353
  setTerminationProtection(args: SetTerminationProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTerminationProtectionCommandOutput) => void): void;
354
+ /**
355
+ * @see {@link SetUnhealthyNodeReplacementCommand}
356
+ */
357
+ setUnhealthyNodeReplacement(args: SetUnhealthyNodeReplacementCommandInput, options?: __HttpHandlerOptions): Promise<SetUnhealthyNodeReplacementCommandOutput>;
358
+ setUnhealthyNodeReplacement(args: SetUnhealthyNodeReplacementCommandInput, cb: (err: any, data?: SetUnhealthyNodeReplacementCommandOutput) => void): void;
359
+ setUnhealthyNodeReplacement(args: SetUnhealthyNodeReplacementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetUnhealthyNodeReplacementCommandOutput) => void): void;
353
360
  /**
354
361
  * @see {@link SetVisibleToAllUsersCommand}
355
362
  */
@@ -56,6 +56,7 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/Remo
56
56
  import { RunJobFlowCommandInput, RunJobFlowCommandOutput } from "./commands/RunJobFlowCommand";
57
57
  import { SetKeepJobFlowAliveWhenNoStepsCommandInput, SetKeepJobFlowAliveWhenNoStepsCommandOutput } from "./commands/SetKeepJobFlowAliveWhenNoStepsCommand";
58
58
  import { SetTerminationProtectionCommandInput, SetTerminationProtectionCommandOutput } from "./commands/SetTerminationProtectionCommand";
59
+ import { SetUnhealthyNodeReplacementCommandInput, SetUnhealthyNodeReplacementCommandOutput } from "./commands/SetUnhealthyNodeReplacementCommand";
59
60
  import { SetVisibleToAllUsersCommandInput, SetVisibleToAllUsersCommandOutput } from "./commands/SetVisibleToAllUsersCommand";
60
61
  import { StartNotebookExecutionCommandInput, StartNotebookExecutionCommandOutput } from "./commands/StartNotebookExecutionCommand";
61
62
  import { StopNotebookExecutionCommandInput, StopNotebookExecutionCommandOutput } from "./commands/StopNotebookExecutionCommand";
@@ -68,11 +69,11 @@ export { __Client };
68
69
  /**
69
70
  * @public
70
71
  */
71
- export type ServiceInputTypes = AddInstanceFleetCommandInput | AddInstanceGroupsCommandInput | AddJobFlowStepsCommandInput | AddTagsCommandInput | CancelStepsCommandInput | CreateSecurityConfigurationCommandInput | CreateStudioCommandInput | CreateStudioSessionMappingCommandInput | DeleteSecurityConfigurationCommandInput | DeleteStudioCommandInput | DeleteStudioSessionMappingCommandInput | DescribeClusterCommandInput | DescribeJobFlowsCommandInput | DescribeNotebookExecutionCommandInput | DescribeReleaseLabelCommandInput | DescribeSecurityConfigurationCommandInput | DescribeStepCommandInput | DescribeStudioCommandInput | GetAutoTerminationPolicyCommandInput | GetBlockPublicAccessConfigurationCommandInput | GetClusterSessionCredentialsCommandInput | GetManagedScalingPolicyCommandInput | 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 | SetVisibleToAllUsersCommandInput | StartNotebookExecutionCommandInput | StopNotebookExecutionCommandInput | TerminateJobFlowsCommandInput | UpdateStudioCommandInput | UpdateStudioSessionMappingCommandInput;
72
+ export type ServiceInputTypes = AddInstanceFleetCommandInput | AddInstanceGroupsCommandInput | AddJobFlowStepsCommandInput | AddTagsCommandInput | CancelStepsCommandInput | CreateSecurityConfigurationCommandInput | CreateStudioCommandInput | CreateStudioSessionMappingCommandInput | DeleteSecurityConfigurationCommandInput | DeleteStudioCommandInput | DeleteStudioSessionMappingCommandInput | DescribeClusterCommandInput | DescribeJobFlowsCommandInput | DescribeNotebookExecutionCommandInput | DescribeReleaseLabelCommandInput | DescribeSecurityConfigurationCommandInput | DescribeStepCommandInput | DescribeStudioCommandInput | GetAutoTerminationPolicyCommandInput | GetBlockPublicAccessConfigurationCommandInput | GetClusterSessionCredentialsCommandInput | GetManagedScalingPolicyCommandInput | 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;
72
73
  /**
73
74
  * @public
74
75
  */
75
- export type ServiceOutputTypes = AddInstanceFleetCommandOutput | AddInstanceGroupsCommandOutput | AddJobFlowStepsCommandOutput | AddTagsCommandOutput | CancelStepsCommandOutput | CreateSecurityConfigurationCommandOutput | CreateStudioCommandOutput | CreateStudioSessionMappingCommandOutput | DeleteSecurityConfigurationCommandOutput | DeleteStudioCommandOutput | DeleteStudioSessionMappingCommandOutput | DescribeClusterCommandOutput | DescribeJobFlowsCommandOutput | DescribeNotebookExecutionCommandOutput | DescribeReleaseLabelCommandOutput | DescribeSecurityConfigurationCommandOutput | DescribeStepCommandOutput | DescribeStudioCommandOutput | GetAutoTerminationPolicyCommandOutput | GetBlockPublicAccessConfigurationCommandOutput | GetClusterSessionCredentialsCommandOutput | GetManagedScalingPolicyCommandOutput | 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 | SetVisibleToAllUsersCommandOutput | StartNotebookExecutionCommandOutput | StopNotebookExecutionCommandOutput | TerminateJobFlowsCommandOutput | UpdateStudioCommandOutput | UpdateStudioSessionMappingCommandOutput;
76
+ export type ServiceOutputTypes = AddInstanceFleetCommandOutput | AddInstanceGroupsCommandOutput | AddJobFlowStepsCommandOutput | AddTagsCommandOutput | CancelStepsCommandOutput | CreateSecurityConfigurationCommandOutput | CreateStudioCommandOutput | CreateStudioSessionMappingCommandOutput | DeleteSecurityConfigurationCommandOutput | DeleteStudioCommandOutput | DeleteStudioSessionMappingCommandOutput | DescribeClusterCommandOutput | DescribeJobFlowsCommandOutput | DescribeNotebookExecutionCommandOutput | DescribeReleaseLabelCommandOutput | DescribeSecurityConfigurationCommandOutput | DescribeStepCommandOutput | DescribeStudioCommandOutput | GetAutoTerminationPolicyCommandOutput | GetBlockPublicAccessConfigurationCommandOutput | GetClusterSessionCredentialsCommandOutput | GetManagedScalingPolicyCommandOutput | 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;
76
77
  /**
77
78
  * @public
78
79
  */
@@ -95,6 +95,7 @@ declare const DescribeClusterCommand_base: {
95
95
  * // ReleaseLabel: "STRING_VALUE",
96
96
  * // AutoTerminate: true || false,
97
97
  * // TerminationProtected: true || false,
98
+ * // UnhealthyNodeReplacement: true || false,
98
99
  * // VisibleToAllUsers: true || false,
99
100
  * // Applications: [ // ApplicationList
100
101
  * // { // Application
@@ -119,6 +119,7 @@ declare const DescribeJobFlowsCommand_base: {
119
119
  * // },
120
120
  * // KeepJobFlowAliveWhenNoSteps: true || false,
121
121
  * // TerminationProtected: true || false,
122
+ * // UnhealthyNodeReplacement: true || false,
122
123
  * // HadoopVersion: "STRING_VALUE",
123
124
  * // },
124
125
  * // Steps: [ // StepDetailList
@@ -210,6 +210,7 @@ declare const RunJobFlowCommand_base: {
210
210
  * },
211
211
  * KeepJobFlowAliveWhenNoSteps: true || false,
212
212
  * TerminationProtected: true || false,
213
+ * UnhealthyNodeReplacement: true || false,
213
214
  * HadoopVersion: "STRING_VALUE",
214
215
  * Ec2SubnetId: "STRING_VALUE",
215
216
  * Ec2SubnetIds: [
@@ -41,7 +41,7 @@ declare const SetTerminationProtectionCommand_base: {
41
41
  * <code>SetTerminationProtection</code> to <code>true</code>, you must first unlock the
42
42
  * job flow by a subsequent call to <code>SetTerminationProtection</code> in which you set the
43
43
  * value to <code>false</code>. </p>
44
- * <p> For more information, see<a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html">Managing Cluster
44
+ * <p> For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html">Managing Cluster
45
45
  * Termination</a> in the <i>Amazon EMR Management Guide</i>. </p>
46
46
  * @example
47
47
  * Use a bare-bones client and the command you need to make an API call.
@@ -0,0 +1,74 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRClient";
4
+ import { SetUnhealthyNodeReplacementInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link SetUnhealthyNodeReplacementCommand}.
13
+ */
14
+ export interface SetUnhealthyNodeReplacementCommandInput extends SetUnhealthyNodeReplacementInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link SetUnhealthyNodeReplacementCommand}.
20
+ */
21
+ export interface SetUnhealthyNodeReplacementCommandOutput extends __MetadataBearer {
22
+ }
23
+ declare const SetUnhealthyNodeReplacementCommand_base: {
24
+ new (input: SetUnhealthyNodeReplacementCommandInput): import("@smithy/smithy-client").CommandImpl<SetUnhealthyNodeReplacementCommandInput, SetUnhealthyNodeReplacementCommandOutput, EMRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Specify whether to enable unhealthy node replacement, which lets Amazon EMR gracefully
30
+ * replace core nodes on a cluster if any nodes become unhealthy. For example, a node becomes
31
+ * unhealthy if disk usage is above 90%. If unhealthy node replacement is on and <code>TerminationProtected</code> are off,
32
+ * Amazon EMR immediately terminates the unhealthy core nodes. To use unhealthy node replacement
33
+ * and retain unhealthy core nodes, use to turn on
34
+ * termination protection. In such cases, Amazon EMR adds
35
+ * the unhealthy nodes to a denylist, reducing job interruptions and failures.</p>
36
+ * <p>If unhealthy node replacement is on, Amazon EMR
37
+ * notifies YARN and other applications on the cluster to stop scheduling tasks
38
+ * with these nodes, moves the data, and then terminates the nodes.</p>
39
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_UnhealthyNodeReplacement.html">graceful
40
+ * node replacement</a> in the <i>Amazon EMR Management Guide</i>.</p>
41
+ * @example
42
+ * Use a bare-bones client and the command you need to make an API call.
43
+ * ```javascript
44
+ * import { EMRClient, SetUnhealthyNodeReplacementCommand } from "@aws-sdk/client-emr"; // ES Modules import
45
+ * // const { EMRClient, SetUnhealthyNodeReplacementCommand } = require("@aws-sdk/client-emr"); // CommonJS import
46
+ * const client = new EMRClient(config);
47
+ * const input = { // SetUnhealthyNodeReplacementInput
48
+ * JobFlowIds: [ // XmlStringList // required
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * UnhealthyNodeReplacement: true || false, // required
52
+ * };
53
+ * const command = new SetUnhealthyNodeReplacementCommand(input);
54
+ * const response = await client.send(command);
55
+ * // {};
56
+ *
57
+ * ```
58
+ *
59
+ * @param SetUnhealthyNodeReplacementCommandInput - {@link SetUnhealthyNodeReplacementCommandInput}
60
+ * @returns {@link SetUnhealthyNodeReplacementCommandOutput}
61
+ * @see {@link SetUnhealthyNodeReplacementCommandInput} for command's `input` shape.
62
+ * @see {@link SetUnhealthyNodeReplacementCommandOutput} for command's `response` shape.
63
+ * @see {@link EMRClientResolvedConfig | config} for EMRClient's `config` shape.
64
+ *
65
+ * @throws {@link InternalServerError} (server fault)
66
+ * <p>Indicates that an error occurred while processing the request and that the request was
67
+ * not completed.</p>
68
+ *
69
+ * @throws {@link EMRServiceException}
70
+ * <p>Base exception class for all service exceptions from EMR service.</p>
71
+ *
72
+ */
73
+ export declare class SetUnhealthyNodeReplacementCommand extends SetUnhealthyNodeReplacementCommand_base {
74
+ }
@@ -47,6 +47,7 @@ export * from "./RemoveTagsCommand";
47
47
  export * from "./RunJobFlowCommand";
48
48
  export * from "./SetKeepJobFlowAliveWhenNoStepsCommand";
49
49
  export * from "./SetTerminationProtectionCommand";
50
+ export * from "./SetUnhealthyNodeReplacementCommand";
50
51
  export * from "./SetVisibleToAllUsersCommand";
51
52
  export * from "./StartNotebookExecutionCommand";
52
53
  export * from "./StopNotebookExecutionCommand";
@@ -2366,6 +2366,12 @@ export interface JobFlowInstancesDetail {
2366
2366
  * termination by API calls, user intervention, or in the event of a job-flow error.</p>
2367
2367
  */
2368
2368
  TerminationProtected?: boolean;
2369
+ /**
2370
+ * @public
2371
+ * <p>Indicates whether Amazon EMR should gracefully replace core nodes
2372
+ * that have degraded within the cluster.</p>
2373
+ */
2374
+ UnhealthyNodeReplacement?: boolean;
2369
2375
  /**
2370
2376
  * @public
2371
2377
  * <p>The Hadoop version for the cluster.</p>
@@ -5102,6 +5108,23 @@ export interface SetTerminationProtectionInput {
5102
5108
  */
5103
5109
  TerminationProtected: boolean | undefined;
5104
5110
  }
5111
+ /**
5112
+ * @public
5113
+ */
5114
+ export interface SetUnhealthyNodeReplacementInput {
5115
+ /**
5116
+ * @public
5117
+ * <p>The list of strings that uniquely identify the clusters for which to turn on
5118
+ * unhealthy node replacement. You can get these identifiers by running the
5119
+ * <a>RunJobFlow</a> or the <a>DescribeJobFlows</a> operations.</p>
5120
+ */
5121
+ JobFlowIds: string[] | undefined;
5122
+ /**
5123
+ * @public
5124
+ * <p>Indicates whether to turn on or turn off graceful unhealthy node replacement.</p>
5125
+ */
5126
+ UnhealthyNodeReplacement: boolean | undefined;
5127
+ }
5105
5128
  /**
5106
5129
  * @public
5107
5130
  * <p>The input to the SetVisibleToAllUsers action.</p>
@@ -5494,6 +5517,12 @@ export interface Cluster {
5494
5517
  * the event of a cluster error.</p>
5495
5518
  */
5496
5519
  TerminationProtected?: boolean;
5520
+ /**
5521
+ * @public
5522
+ * <p>Indicates whether Amazon EMR should gracefully replace Amazon EC2
5523
+ * core instances that have degraded within the cluster.</p>
5524
+ */
5525
+ UnhealthyNodeReplacement?: boolean;
5497
5526
  /**
5498
5527
  * @public
5499
5528
  * <p>Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When <code>true</code>, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster
@@ -6376,6 +6405,12 @@ export interface JobFlowInstancesConfig {
6376
6405
  * error.</p>
6377
6406
  */
6378
6407
  TerminationProtected?: boolean;
6408
+ /**
6409
+ * @public
6410
+ * <p>Indicates whether Amazon EMR should gracefully replace core nodes
6411
+ * that have degraded within the cluster.</p>
6412
+ */
6413
+ UnhealthyNodeReplacement?: boolean;
6379
6414
  /**
6380
6415
  * @public
6381
6416
  * <p>Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version
@@ -49,6 +49,7 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/Rem
49
49
  import { RunJobFlowCommandInput, RunJobFlowCommandOutput } from "../commands/RunJobFlowCommand";
50
50
  import { SetKeepJobFlowAliveWhenNoStepsCommandInput, SetKeepJobFlowAliveWhenNoStepsCommandOutput } from "../commands/SetKeepJobFlowAliveWhenNoStepsCommand";
51
51
  import { SetTerminationProtectionCommandInput, SetTerminationProtectionCommandOutput } from "../commands/SetTerminationProtectionCommand";
52
+ import { SetUnhealthyNodeReplacementCommandInput, SetUnhealthyNodeReplacementCommandOutput } from "../commands/SetUnhealthyNodeReplacementCommand";
52
53
  import { SetVisibleToAllUsersCommandInput, SetVisibleToAllUsersCommandOutput } from "../commands/SetVisibleToAllUsersCommand";
53
54
  import { StartNotebookExecutionCommandInput, StartNotebookExecutionCommandOutput } from "../commands/StartNotebookExecutionCommand";
54
55
  import { StopNotebookExecutionCommandInput, StopNotebookExecutionCommandOutput } from "../commands/StopNotebookExecutionCommand";
@@ -251,6 +252,10 @@ export declare const se_SetKeepJobFlowAliveWhenNoStepsCommand: (input: SetKeepJo
251
252
  * serializeAws_json1_1SetTerminationProtectionCommand
252
253
  */
253
254
  export declare const se_SetTerminationProtectionCommand: (input: SetTerminationProtectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
255
+ /**
256
+ * serializeAws_json1_1SetUnhealthyNodeReplacementCommand
257
+ */
258
+ export declare const se_SetUnhealthyNodeReplacementCommand: (input: SetUnhealthyNodeReplacementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
254
259
  /**
255
260
  * serializeAws_json1_1SetVisibleToAllUsersCommand
256
261
  */
@@ -471,6 +476,10 @@ export declare const de_SetKeepJobFlowAliveWhenNoStepsCommand: (output: __HttpRe
471
476
  * deserializeAws_json1_1SetTerminationProtectionCommand
472
477
  */
473
478
  export declare const de_SetTerminationProtectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetTerminationProtectionCommandOutput>;
479
+ /**
480
+ * deserializeAws_json1_1SetUnhealthyNodeReplacementCommand
481
+ */
482
+ export declare const de_SetUnhealthyNodeReplacementCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetUnhealthyNodeReplacementCommandOutput>;
474
483
  /**
475
484
  * deserializeAws_json1_1SetVisibleToAllUsersCommand
476
485
  */
@@ -195,6 +195,10 @@ import {
195
195
  SetTerminationProtectionCommandInput,
196
196
  SetTerminationProtectionCommandOutput,
197
197
  } from "./commands/SetTerminationProtectionCommand";
198
+ import {
199
+ SetUnhealthyNodeReplacementCommandInput,
200
+ SetUnhealthyNodeReplacementCommandOutput,
201
+ } from "./commands/SetUnhealthyNodeReplacementCommand";
198
202
  import {
199
203
  SetVisibleToAllUsersCommandInput,
200
204
  SetVisibleToAllUsersCommandOutput,
@@ -870,6 +874,19 @@ export interface EMR {
870
874
  options: __HttpHandlerOptions,
871
875
  cb: (err: any, data?: SetTerminationProtectionCommandOutput) => void
872
876
  ): void;
877
+ setUnhealthyNodeReplacement(
878
+ args: SetUnhealthyNodeReplacementCommandInput,
879
+ options?: __HttpHandlerOptions
880
+ ): Promise<SetUnhealthyNodeReplacementCommandOutput>;
881
+ setUnhealthyNodeReplacement(
882
+ args: SetUnhealthyNodeReplacementCommandInput,
883
+ cb: (err: any, data?: SetUnhealthyNodeReplacementCommandOutput) => void
884
+ ): void;
885
+ setUnhealthyNodeReplacement(
886
+ args: SetUnhealthyNodeReplacementCommandInput,
887
+ options: __HttpHandlerOptions,
888
+ cb: (err: any, data?: SetUnhealthyNodeReplacementCommandOutput) => void
889
+ ): void;
873
890
  setVisibleToAllUsers(
874
891
  args: SetVisibleToAllUsersCommandInput,
875
892
  options?: __HttpHandlerOptions
@@ -241,6 +241,10 @@ import {
241
241
  SetTerminationProtectionCommandInput,
242
242
  SetTerminationProtectionCommandOutput,
243
243
  } from "./commands/SetTerminationProtectionCommand";
244
+ import {
245
+ SetUnhealthyNodeReplacementCommandInput,
246
+ SetUnhealthyNodeReplacementCommandOutput,
247
+ } from "./commands/SetUnhealthyNodeReplacementCommand";
244
248
  import {
245
249
  SetVisibleToAllUsersCommandInput,
246
250
  SetVisibleToAllUsersCommandOutput,
@@ -322,6 +326,7 @@ export type ServiceInputTypes =
322
326
  | RunJobFlowCommandInput
323
327
  | SetKeepJobFlowAliveWhenNoStepsCommandInput
324
328
  | SetTerminationProtectionCommandInput
329
+ | SetUnhealthyNodeReplacementCommandInput
325
330
  | SetVisibleToAllUsersCommandInput
326
331
  | StartNotebookExecutionCommandInput
327
332
  | StopNotebookExecutionCommandInput
@@ -378,6 +383,7 @@ export type ServiceOutputTypes =
378
383
  | RunJobFlowCommandOutput
379
384
  | SetKeepJobFlowAliveWhenNoStepsCommandOutput
380
385
  | SetTerminationProtectionCommandOutput
386
+ | SetUnhealthyNodeReplacementCommandOutput
381
387
  | SetVisibleToAllUsersCommandOutput
382
388
  | StartNotebookExecutionCommandOutput
383
389
  | StopNotebookExecutionCommandOutput
@@ -0,0 +1,26 @@
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 { SetUnhealthyNodeReplacementInput } from "../models/models_0";
9
+ export { __MetadataBearer, $Command };
10
+ export interface SetUnhealthyNodeReplacementCommandInput
11
+ extends SetUnhealthyNodeReplacementInput {}
12
+ export interface SetUnhealthyNodeReplacementCommandOutput
13
+ extends __MetadataBearer {}
14
+ declare const SetUnhealthyNodeReplacementCommand_base: {
15
+ new (
16
+ input: SetUnhealthyNodeReplacementCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ SetUnhealthyNodeReplacementCommandInput,
19
+ SetUnhealthyNodeReplacementCommandOutput,
20
+ EMRClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class SetUnhealthyNodeReplacementCommand extends SetUnhealthyNodeReplacementCommand_base {}
@@ -47,6 +47,7 @@ export * from "./RemoveTagsCommand";
47
47
  export * from "./RunJobFlowCommand";
48
48
  export * from "./SetKeepJobFlowAliveWhenNoStepsCommand";
49
49
  export * from "./SetTerminationProtectionCommand";
50
+ export * from "./SetUnhealthyNodeReplacementCommand";
50
51
  export * from "./SetVisibleToAllUsersCommand";
51
52
  export * from "./StartNotebookExecutionCommand";
52
53
  export * from "./StopNotebookExecutionCommand";
@@ -631,6 +631,7 @@ export interface JobFlowInstancesDetail {
631
631
  Placement?: PlacementType;
632
632
  KeepJobFlowAliveWhenNoSteps?: boolean;
633
633
  TerminationProtected?: boolean;
634
+ UnhealthyNodeReplacement?: boolean;
634
635
  HadoopVersion?: string;
635
636
  }
636
637
  export declare const StepExecutionState: {
@@ -1250,6 +1251,10 @@ export interface SetTerminationProtectionInput {
1250
1251
  JobFlowIds: string[] | undefined;
1251
1252
  TerminationProtected: boolean | undefined;
1252
1253
  }
1254
+ export interface SetUnhealthyNodeReplacementInput {
1255
+ JobFlowIds: string[] | undefined;
1256
+ UnhealthyNodeReplacement: boolean | undefined;
1257
+ }
1253
1258
  export interface SetVisibleToAllUsersInput {
1254
1259
  JobFlowIds: string[] | undefined;
1255
1260
  VisibleToAllUsers: boolean | undefined;
@@ -1325,6 +1330,7 @@ export interface Cluster {
1325
1330
  ReleaseLabel?: string;
1326
1331
  AutoTerminate?: boolean;
1327
1332
  TerminationProtected?: boolean;
1333
+ UnhealthyNodeReplacement?: boolean;
1328
1334
  VisibleToAllUsers?: boolean;
1329
1335
  Applications?: Application[];
1330
1336
  Tags?: Tag[];
@@ -1470,6 +1476,7 @@ export interface JobFlowInstancesConfig {
1470
1476
  Placement?: PlacementType;
1471
1477
  KeepJobFlowAliveWhenNoSteps?: boolean;
1472
1478
  TerminationProtected?: boolean;
1479
+ UnhealthyNodeReplacement?: boolean;
1473
1480
  HadoopVersion?: string;
1474
1481
  Ec2SubnetId?: string;
1475
1482
  Ec2SubnetIds?: string[];
@@ -199,6 +199,10 @@ import {
199
199
  SetTerminationProtectionCommandInput,
200
200
  SetTerminationProtectionCommandOutput,
201
201
  } from "../commands/SetTerminationProtectionCommand";
202
+ import {
203
+ SetUnhealthyNodeReplacementCommandInput,
204
+ SetUnhealthyNodeReplacementCommandOutput,
205
+ } from "../commands/SetUnhealthyNodeReplacementCommand";
202
206
  import {
203
207
  SetVisibleToAllUsersCommandInput,
204
208
  SetVisibleToAllUsersCommandOutput,
@@ -419,6 +423,10 @@ export declare const se_SetTerminationProtectionCommand: (
419
423
  input: SetTerminationProtectionCommandInput,
420
424
  context: __SerdeContext
421
425
  ) => Promise<__HttpRequest>;
426
+ export declare const se_SetUnhealthyNodeReplacementCommand: (
427
+ input: SetUnhealthyNodeReplacementCommandInput,
428
+ context: __SerdeContext
429
+ ) => Promise<__HttpRequest>;
422
430
  export declare const se_SetVisibleToAllUsersCommand: (
423
431
  input: SetVisibleToAllUsersCommandInput,
424
432
  context: __SerdeContext
@@ -639,6 +647,10 @@ export declare const de_SetTerminationProtectionCommand: (
639
647
  output: __HttpResponse,
640
648
  context: __SerdeContext
641
649
  ) => Promise<SetTerminationProtectionCommandOutput>;
650
+ export declare const de_SetUnhealthyNodeReplacementCommand: (
651
+ output: __HttpResponse,
652
+ context: __SerdeContext
653
+ ) => Promise<SetUnhealthyNodeReplacementCommandOutput>;
642
654
  export declare const de_SetVisibleToAllUsersCommand: (
643
655
  output: __HttpResponse,
644
656
  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.514.0",
4
+ "version": "3.516.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,18 +20,18 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.513.0",
23
+ "@aws-sdk/client-sts": "3.515.0",
24
24
  "@aws-sdk/core": "3.513.0",
25
- "@aws-sdk/credential-provider-node": "3.514.0",
26
- "@aws-sdk/middleware-host-header": "3.511.0",
27
- "@aws-sdk/middleware-logger": "3.511.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.511.0",
29
- "@aws-sdk/middleware-user-agent": "3.511.0",
30
- "@aws-sdk/region-config-resolver": "3.511.0",
31
- "@aws-sdk/types": "3.511.0",
32
- "@aws-sdk/util-endpoints": "3.511.0",
33
- "@aws-sdk/util-user-agent-browser": "3.511.0",
34
- "@aws-sdk/util-user-agent-node": "3.511.0",
25
+ "@aws-sdk/credential-provider-node": "3.515.0",
26
+ "@aws-sdk/middleware-host-header": "3.515.0",
27
+ "@aws-sdk/middleware-logger": "3.515.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.515.0",
29
+ "@aws-sdk/middleware-user-agent": "3.515.0",
30
+ "@aws-sdk/region-config-resolver": "3.515.0",
31
+ "@aws-sdk/types": "3.515.0",
32
+ "@aws-sdk/util-endpoints": "3.515.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.515.0",
34
+ "@aws-sdk/util-user-agent-node": "3.515.0",
35
35
  "@smithy/config-resolver": "^2.1.1",
36
36
  "@smithy/core": "^1.3.2",
37
37
  "@smithy/fetch-http-handler": "^2.4.1",