@aws-sdk/client-emr 3.926.0 → 3.928.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 (84) hide show
  1. package/dist-cjs/index.js +2335 -2621
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/EMRClient.js +2 -0
  4. package/dist-es/commands/AddInstanceFleetCommand.js +3 -9
  5. package/dist-es/commands/AddInstanceGroupsCommand.js +3 -9
  6. package/dist-es/commands/AddJobFlowStepsCommand.js +3 -9
  7. package/dist-es/commands/AddTagsCommand.js +3 -9
  8. package/dist-es/commands/CancelStepsCommand.js +3 -9
  9. package/dist-es/commands/CreatePersistentAppUICommand.js +3 -9
  10. package/dist-es/commands/CreateSecurityConfigurationCommand.js +3 -9
  11. package/dist-es/commands/CreateStudioCommand.js +3 -9
  12. package/dist-es/commands/CreateStudioSessionMappingCommand.js +3 -9
  13. package/dist-es/commands/DeleteSecurityConfigurationCommand.js +3 -9
  14. package/dist-es/commands/DeleteStudioCommand.js +3 -9
  15. package/dist-es/commands/DeleteStudioSessionMappingCommand.js +3 -9
  16. package/dist-es/commands/DescribeClusterCommand.js +3 -9
  17. package/dist-es/commands/DescribeJobFlowsCommand.js +3 -9
  18. package/dist-es/commands/DescribeNotebookExecutionCommand.js +3 -9
  19. package/dist-es/commands/DescribePersistentAppUICommand.js +3 -9
  20. package/dist-es/commands/DescribeReleaseLabelCommand.js +3 -9
  21. package/dist-es/commands/DescribeSecurityConfigurationCommand.js +3 -9
  22. package/dist-es/commands/DescribeStepCommand.js +3 -9
  23. package/dist-es/commands/DescribeStudioCommand.js +3 -9
  24. package/dist-es/commands/GetAutoTerminationPolicyCommand.js +3 -9
  25. package/dist-es/commands/GetBlockPublicAccessConfigurationCommand.js +3 -9
  26. package/dist-es/commands/GetClusterSessionCredentialsCommand.js +3 -10
  27. package/dist-es/commands/GetManagedScalingPolicyCommand.js +3 -9
  28. package/dist-es/commands/GetOnClusterAppUIPresignedURLCommand.js +3 -9
  29. package/dist-es/commands/GetPersistentAppUIPresignedURLCommand.js +3 -9
  30. package/dist-es/commands/GetStudioSessionMappingCommand.js +3 -9
  31. package/dist-es/commands/ListBootstrapActionsCommand.js +3 -9
  32. package/dist-es/commands/ListClustersCommand.js +3 -9
  33. package/dist-es/commands/ListInstanceFleetsCommand.js +3 -9
  34. package/dist-es/commands/ListInstanceGroupsCommand.js +3 -9
  35. package/dist-es/commands/ListInstancesCommand.js +3 -9
  36. package/dist-es/commands/ListNotebookExecutionsCommand.js +3 -9
  37. package/dist-es/commands/ListReleaseLabelsCommand.js +3 -9
  38. package/dist-es/commands/ListSecurityConfigurationsCommand.js +3 -9
  39. package/dist-es/commands/ListStepsCommand.js +3 -9
  40. package/dist-es/commands/ListStudioSessionMappingsCommand.js +3 -9
  41. package/dist-es/commands/ListStudiosCommand.js +3 -9
  42. package/dist-es/commands/ListSupportedInstanceTypesCommand.js +3 -9
  43. package/dist-es/commands/ModifyClusterCommand.js +3 -9
  44. package/dist-es/commands/ModifyInstanceFleetCommand.js +3 -9
  45. package/dist-es/commands/ModifyInstanceGroupsCommand.js +3 -9
  46. package/dist-es/commands/PutAutoScalingPolicyCommand.js +3 -9
  47. package/dist-es/commands/PutAutoTerminationPolicyCommand.js +3 -9
  48. package/dist-es/commands/PutBlockPublicAccessConfigurationCommand.js +3 -9
  49. package/dist-es/commands/PutManagedScalingPolicyCommand.js +3 -9
  50. package/dist-es/commands/RemoveAutoScalingPolicyCommand.js +3 -9
  51. package/dist-es/commands/RemoveAutoTerminationPolicyCommand.js +3 -9
  52. package/dist-es/commands/RemoveManagedScalingPolicyCommand.js +3 -9
  53. package/dist-es/commands/RemoveTagsCommand.js +3 -9
  54. package/dist-es/commands/RunJobFlowCommand.js +3 -9
  55. package/dist-es/commands/SetKeepJobFlowAliveWhenNoStepsCommand.js +3 -9
  56. package/dist-es/commands/SetTerminationProtectionCommand.js +3 -9
  57. package/dist-es/commands/SetUnhealthyNodeReplacementCommand.js +3 -9
  58. package/dist-es/commands/SetVisibleToAllUsersCommand.js +3 -9
  59. package/dist-es/commands/StartNotebookExecutionCommand.js +3 -9
  60. package/dist-es/commands/StopNotebookExecutionCommand.js +3 -9
  61. package/dist-es/commands/TerminateJobFlowsCommand.js +3 -9
  62. package/dist-es/commands/UpdateStudioCommand.js +3 -9
  63. package/dist-es/commands/UpdateStudioSessionMappingCommand.js +3 -9
  64. package/dist-es/models/models_0.js +0 -14
  65. package/dist-es/runtimeConfig.shared.js +7 -0
  66. package/dist-es/schemas/schemas_0.js +2223 -0
  67. package/dist-types/EMRClient.d.ts +10 -1
  68. package/dist-types/models/models_0.d.ts +0 -12
  69. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  70. package/dist-types/runtimeConfig.d.ts +1 -0
  71. package/dist-types/runtimeConfig.native.d.ts +1 -0
  72. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  73. package/dist-types/schemas/schemas_0.d.ts +335 -0
  74. package/dist-types/ts3.4/EMRClient.d.ts +4 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +0 -7
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  79. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  80. package/dist-types/ts3.4/schemas/schemas_0.d.ts +340 -0
  81. package/package.json +5 -5
  82. package/dist-es/protocols/Aws_json1_1.js +0 -2180
  83. package/dist-types/protocols/Aws_json1_1.d.ts +0 -542
  84. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -725
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutManagedScalingPolicyCommand, se_PutManagedScalingPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { PutManagedScalingPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutManagedScalingPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "PutManagedScalingPolicy", {})
17
13
  .n("EMRClient", "PutManagedScalingPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutManagedScalingPolicyCommand)
20
- .de(de_PutManagedScalingPolicyCommand)
14
+ .sc(PutManagedScalingPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveAutoScalingPolicyCommand, se_RemoveAutoScalingPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { RemoveAutoScalingPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveAutoScalingPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "RemoveAutoScalingPolicy", {})
17
13
  .n("EMRClient", "RemoveAutoScalingPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveAutoScalingPolicyCommand)
20
- .de(de_RemoveAutoScalingPolicyCommand)
14
+ .sc(RemoveAutoScalingPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveAutoTerminationPolicyCommand, se_RemoveAutoTerminationPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { RemoveAutoTerminationPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveAutoTerminationPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "RemoveAutoTerminationPolicy", {})
17
13
  .n("EMRClient", "RemoveAutoTerminationPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveAutoTerminationPolicyCommand)
20
- .de(de_RemoveAutoTerminationPolicyCommand)
14
+ .sc(RemoveAutoTerminationPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveManagedScalingPolicyCommand, se_RemoveManagedScalingPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { RemoveManagedScalingPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveManagedScalingPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "RemoveManagedScalingPolicy", {})
17
13
  .n("EMRClient", "RemoveManagedScalingPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveManagedScalingPolicyCommand)
20
- .de(de_RemoveManagedScalingPolicyCommand)
14
+ .sc(RemoveManagedScalingPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveTagsCommand, se_RemoveTagsCommand } from "../protocols/Aws_json1_1";
4
+ import { RemoveTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "RemoveTags", {})
17
13
  .n("EMRClient", "RemoveTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveTagsCommand)
20
- .de(de_RemoveTagsCommand)
14
+ .sc(RemoveTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RunJobFlowCommand, se_RunJobFlowCommand } from "../protocols/Aws_json1_1";
4
+ import { RunJobFlow } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RunJobFlowCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "RunJobFlow", {})
17
13
  .n("EMRClient", "RunJobFlowCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RunJobFlowCommand)
20
- .de(de_RunJobFlowCommand)
14
+ .sc(RunJobFlow)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetKeepJobFlowAliveWhenNoStepsCommand, se_SetKeepJobFlowAliveWhenNoStepsCommand, } from "../protocols/Aws_json1_1";
4
+ import { SetKeepJobFlowAliveWhenNoSteps } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetKeepJobFlowAliveWhenNoStepsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "SetKeepJobFlowAliveWhenNoSteps", {})
17
13
  .n("EMRClient", "SetKeepJobFlowAliveWhenNoStepsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetKeepJobFlowAliveWhenNoStepsCommand)
20
- .de(de_SetKeepJobFlowAliveWhenNoStepsCommand)
14
+ .sc(SetKeepJobFlowAliveWhenNoSteps)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetTerminationProtectionCommand, se_SetTerminationProtectionCommand } from "../protocols/Aws_json1_1";
4
+ import { SetTerminationProtection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetTerminationProtectionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "SetTerminationProtection", {})
17
13
  .n("EMRClient", "SetTerminationProtectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetTerminationProtectionCommand)
20
- .de(de_SetTerminationProtectionCommand)
14
+ .sc(SetTerminationProtection)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetUnhealthyNodeReplacementCommand, se_SetUnhealthyNodeReplacementCommand } from "../protocols/Aws_json1_1";
4
+ import { SetUnhealthyNodeReplacement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetUnhealthyNodeReplacementCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "SetUnhealthyNodeReplacement", {})
17
13
  .n("EMRClient", "SetUnhealthyNodeReplacementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetUnhealthyNodeReplacementCommand)
20
- .de(de_SetUnhealthyNodeReplacementCommand)
14
+ .sc(SetUnhealthyNodeReplacement)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetVisibleToAllUsersCommand, se_SetVisibleToAllUsersCommand } from "../protocols/Aws_json1_1";
4
+ import { SetVisibleToAllUsers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetVisibleToAllUsersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "SetVisibleToAllUsers", {})
17
13
  .n("EMRClient", "SetVisibleToAllUsersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetVisibleToAllUsersCommand)
20
- .de(de_SetVisibleToAllUsersCommand)
14
+ .sc(SetVisibleToAllUsers)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartNotebookExecutionCommand, se_StartNotebookExecutionCommand } from "../protocols/Aws_json1_1";
4
+ import { StartNotebookExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartNotebookExecutionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "StartNotebookExecution", {})
17
13
  .n("EMRClient", "StartNotebookExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartNotebookExecutionCommand)
20
- .de(de_StartNotebookExecutionCommand)
14
+ .sc(StartNotebookExecution)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopNotebookExecutionCommand, se_StopNotebookExecutionCommand } from "../protocols/Aws_json1_1";
4
+ import { StopNotebookExecution } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopNotebookExecutionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "StopNotebookExecution", {})
17
13
  .n("EMRClient", "StopNotebookExecutionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopNotebookExecutionCommand)
20
- .de(de_StopNotebookExecutionCommand)
14
+ .sc(StopNotebookExecution)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TerminateJobFlowsCommand, se_TerminateJobFlowsCommand } from "../protocols/Aws_json1_1";
4
+ import { TerminateJobFlows } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TerminateJobFlowsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "TerminateJobFlows", {})
17
13
  .n("EMRClient", "TerminateJobFlowsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TerminateJobFlowsCommand)
20
- .de(de_TerminateJobFlowsCommand)
14
+ .sc(TerminateJobFlows)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateStudioCommand, se_UpdateStudioCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateStudio } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateStudioCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "UpdateStudio", {})
17
13
  .n("EMRClient", "UpdateStudioCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateStudioCommand)
20
- .de(de_UpdateStudioCommand)
14
+ .sc(UpdateStudio)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateStudioSessionMappingCommand, se_UpdateStudioSessionMappingCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateStudioSessionMapping } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateStudioSessionMappingCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticMapReduce", "UpdateStudioSessionMapping", {})
17
13
  .n("EMRClient", "UpdateStudioSessionMappingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateStudioSessionMappingCommand)
20
- .de(de_UpdateStudioSessionMappingCommand)
14
+ .sc(UpdateStudioSessionMapping)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { EMRServiceException as __BaseException } from "./EMRServiceException";
3
2
  export const ActionOnFailure = {
4
3
  CANCEL_AND_WAIT: "CANCEL_AND_WAIT",
@@ -343,16 +342,3 @@ export const ReconfigurationType = {
343
342
  MERGE: "MERGE",
344
343
  OVERWRITE: "OVERWRITE",
345
344
  };
346
- export const UsernamePasswordFilterSensitiveLog = (obj) => ({
347
- ...obj,
348
- });
349
- export const CredentialsFilterSensitiveLog = (obj) => {
350
- if (obj.UsernamePassword !== undefined)
351
- return { UsernamePassword: SENSITIVE_STRING };
352
- if (obj.$unknown !== undefined)
353
- return { [obj.$unknown[0]]: "UNKNOWN" };
354
- };
355
- export const GetClusterSessionCredentialsOutputFilterSensitiveLog = (obj) => ({
356
- ...obj,
357
- ...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
358
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.emr",
29
+ serviceTarget: "ElasticMapReduce",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "EMR",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,