@aws-sdk/client-emr 3.478.0 → 3.482.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 (242) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/EMR.js +2 -0
  3. package/dist-cjs/commands/AddInstanceFleetCommand.js +18 -41
  4. package/dist-cjs/commands/AddInstanceGroupsCommand.js +18 -41
  5. package/dist-cjs/commands/AddJobFlowStepsCommand.js +18 -41
  6. package/dist-cjs/commands/AddTagsCommand.js +18 -41
  7. package/dist-cjs/commands/CancelStepsCommand.js +18 -41
  8. package/dist-cjs/commands/CreateSecurityConfigurationCommand.js +18 -41
  9. package/dist-cjs/commands/CreateStudioCommand.js +18 -41
  10. package/dist-cjs/commands/CreateStudioSessionMappingCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteSecurityConfigurationCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteStudioCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteStudioSessionMappingCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeClusterCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeJobFlowsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeNotebookExecutionCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeReleaseLabelCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeSecurityConfigurationCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeStepCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeStudioCommand.js +18 -41
  21. package/dist-cjs/commands/GetAutoTerminationPolicyCommand.js +18 -41
  22. package/dist-cjs/commands/GetBlockPublicAccessConfigurationCommand.js +18 -41
  23. package/dist-cjs/commands/GetClusterSessionCredentialsCommand.js +18 -41
  24. package/dist-cjs/commands/GetManagedScalingPolicyCommand.js +18 -41
  25. package/dist-cjs/commands/GetStudioSessionMappingCommand.js +18 -41
  26. package/dist-cjs/commands/ListBootstrapActionsCommand.js +18 -41
  27. package/dist-cjs/commands/ListClustersCommand.js +18 -41
  28. package/dist-cjs/commands/ListInstanceFleetsCommand.js +18 -41
  29. package/dist-cjs/commands/ListInstanceGroupsCommand.js +18 -41
  30. package/dist-cjs/commands/ListInstancesCommand.js +18 -41
  31. package/dist-cjs/commands/ListNotebookExecutionsCommand.js +18 -41
  32. package/dist-cjs/commands/ListReleaseLabelsCommand.js +18 -41
  33. package/dist-cjs/commands/ListSecurityConfigurationsCommand.js +18 -41
  34. package/dist-cjs/commands/ListStepsCommand.js +18 -41
  35. package/dist-cjs/commands/ListStudioSessionMappingsCommand.js +18 -41
  36. package/dist-cjs/commands/ListStudiosCommand.js +18 -41
  37. package/dist-cjs/commands/ListSupportedInstanceTypesCommand.js +18 -41
  38. package/dist-cjs/commands/ModifyClusterCommand.js +18 -41
  39. package/dist-cjs/commands/ModifyInstanceFleetCommand.js +18 -41
  40. package/dist-cjs/commands/ModifyInstanceGroupsCommand.js +18 -41
  41. package/dist-cjs/commands/PutAutoScalingPolicyCommand.js +18 -41
  42. package/dist-cjs/commands/PutAutoTerminationPolicyCommand.js +18 -41
  43. package/dist-cjs/commands/PutBlockPublicAccessConfigurationCommand.js +18 -41
  44. package/dist-cjs/commands/PutManagedScalingPolicyCommand.js +18 -41
  45. package/dist-cjs/commands/RemoveAutoScalingPolicyCommand.js +18 -41
  46. package/dist-cjs/commands/RemoveAutoTerminationPolicyCommand.js +18 -41
  47. package/dist-cjs/commands/RemoveManagedScalingPolicyCommand.js +18 -41
  48. package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
  49. package/dist-cjs/commands/RunJobFlowCommand.js +18 -41
  50. package/dist-cjs/commands/SetKeepJobFlowAliveWhenNoStepsCommand.js +28 -0
  51. package/dist-cjs/commands/SetTerminationProtectionCommand.js +18 -41
  52. package/dist-cjs/commands/SetVisibleToAllUsersCommand.js +18 -41
  53. package/dist-cjs/commands/StartNotebookExecutionCommand.js +18 -41
  54. package/dist-cjs/commands/StopNotebookExecutionCommand.js +18 -41
  55. package/dist-cjs/commands/TerminateJobFlowsCommand.js +18 -41
  56. package/dist-cjs/commands/UpdateStudioCommand.js +18 -41
  57. package/dist-cjs/commands/UpdateStudioSessionMappingCommand.js +18 -41
  58. package/dist-cjs/commands/index.js +1 -0
  59. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  60. package/dist-cjs/protocols/Aws_json1_1.js +40 -3
  61. package/dist-es/EMR.js +2 -0
  62. package/dist-es/commands/AddInstanceFleetCommand.js +18 -41
  63. package/dist-es/commands/AddInstanceGroupsCommand.js +18 -41
  64. package/dist-es/commands/AddJobFlowStepsCommand.js +18 -41
  65. package/dist-es/commands/AddTagsCommand.js +18 -41
  66. package/dist-es/commands/CancelStepsCommand.js +18 -41
  67. package/dist-es/commands/CreateSecurityConfigurationCommand.js +18 -41
  68. package/dist-es/commands/CreateStudioCommand.js +18 -41
  69. package/dist-es/commands/CreateStudioSessionMappingCommand.js +18 -41
  70. package/dist-es/commands/DeleteSecurityConfigurationCommand.js +18 -41
  71. package/dist-es/commands/DeleteStudioCommand.js +18 -41
  72. package/dist-es/commands/DeleteStudioSessionMappingCommand.js +18 -41
  73. package/dist-es/commands/DescribeClusterCommand.js +18 -41
  74. package/dist-es/commands/DescribeJobFlowsCommand.js +18 -41
  75. package/dist-es/commands/DescribeNotebookExecutionCommand.js +18 -41
  76. package/dist-es/commands/DescribeReleaseLabelCommand.js +18 -41
  77. package/dist-es/commands/DescribeSecurityConfigurationCommand.js +18 -41
  78. package/dist-es/commands/DescribeStepCommand.js +18 -41
  79. package/dist-es/commands/DescribeStudioCommand.js +18 -41
  80. package/dist-es/commands/GetAutoTerminationPolicyCommand.js +18 -41
  81. package/dist-es/commands/GetBlockPublicAccessConfigurationCommand.js +18 -41
  82. package/dist-es/commands/GetClusterSessionCredentialsCommand.js +18 -41
  83. package/dist-es/commands/GetManagedScalingPolicyCommand.js +18 -41
  84. package/dist-es/commands/GetStudioSessionMappingCommand.js +18 -41
  85. package/dist-es/commands/ListBootstrapActionsCommand.js +18 -41
  86. package/dist-es/commands/ListClustersCommand.js +18 -41
  87. package/dist-es/commands/ListInstanceFleetsCommand.js +18 -41
  88. package/dist-es/commands/ListInstanceGroupsCommand.js +18 -41
  89. package/dist-es/commands/ListInstancesCommand.js +18 -41
  90. package/dist-es/commands/ListNotebookExecutionsCommand.js +18 -41
  91. package/dist-es/commands/ListReleaseLabelsCommand.js +18 -41
  92. package/dist-es/commands/ListSecurityConfigurationsCommand.js +18 -41
  93. package/dist-es/commands/ListStepsCommand.js +18 -41
  94. package/dist-es/commands/ListStudioSessionMappingsCommand.js +18 -41
  95. package/dist-es/commands/ListStudiosCommand.js +18 -41
  96. package/dist-es/commands/ListSupportedInstanceTypesCommand.js +18 -41
  97. package/dist-es/commands/ModifyClusterCommand.js +18 -41
  98. package/dist-es/commands/ModifyInstanceFleetCommand.js +18 -41
  99. package/dist-es/commands/ModifyInstanceGroupsCommand.js +18 -41
  100. package/dist-es/commands/PutAutoScalingPolicyCommand.js +18 -41
  101. package/dist-es/commands/PutAutoTerminationPolicyCommand.js +18 -41
  102. package/dist-es/commands/PutBlockPublicAccessConfigurationCommand.js +18 -41
  103. package/dist-es/commands/PutManagedScalingPolicyCommand.js +18 -41
  104. package/dist-es/commands/RemoveAutoScalingPolicyCommand.js +18 -41
  105. package/dist-es/commands/RemoveAutoTerminationPolicyCommand.js +18 -41
  106. package/dist-es/commands/RemoveManagedScalingPolicyCommand.js +18 -41
  107. package/dist-es/commands/RemoveTagsCommand.js +18 -41
  108. package/dist-es/commands/RunJobFlowCommand.js +18 -41
  109. package/dist-es/commands/SetKeepJobFlowAliveWhenNoStepsCommand.js +24 -0
  110. package/dist-es/commands/SetTerminationProtectionCommand.js +18 -41
  111. package/dist-es/commands/SetVisibleToAllUsersCommand.js +18 -41
  112. package/dist-es/commands/StartNotebookExecutionCommand.js +18 -41
  113. package/dist-es/commands/StopNotebookExecutionCommand.js +18 -41
  114. package/dist-es/commands/TerminateJobFlowsCommand.js +18 -41
  115. package/dist-es/commands/UpdateStudioCommand.js +18 -41
  116. package/dist-es/commands/UpdateStudioSessionMappingCommand.js +18 -41
  117. package/dist-es/commands/index.js +1 -0
  118. package/dist-es/endpoint/EndpointParameters.js +6 -0
  119. package/dist-es/protocols/Aws_json1_1.js +35 -0
  120. package/dist-types/EMR.d.ts +7 -0
  121. package/dist-types/EMRClient.d.ts +3 -2
  122. package/dist-types/commands/AddInstanceFleetCommand.d.ts +6 -21
  123. package/dist-types/commands/AddInstanceGroupsCommand.d.ts +6 -21
  124. package/dist-types/commands/AddJobFlowStepsCommand.d.ts +6 -21
  125. package/dist-types/commands/AddTagsCommand.d.ts +6 -21
  126. package/dist-types/commands/CancelStepsCommand.d.ts +6 -21
  127. package/dist-types/commands/CreateSecurityConfigurationCommand.d.ts +6 -21
  128. package/dist-types/commands/CreateStudioCommand.d.ts +6 -21
  129. package/dist-types/commands/CreateStudioSessionMappingCommand.d.ts +6 -21
  130. package/dist-types/commands/DeleteSecurityConfigurationCommand.d.ts +6 -21
  131. package/dist-types/commands/DeleteStudioCommand.d.ts +6 -21
  132. package/dist-types/commands/DeleteStudioSessionMappingCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeClusterCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribeJobFlowsCommand.d.ts +6 -21
  135. package/dist-types/commands/DescribeNotebookExecutionCommand.d.ts +6 -21
  136. package/dist-types/commands/DescribeReleaseLabelCommand.d.ts +6 -21
  137. package/dist-types/commands/DescribeSecurityConfigurationCommand.d.ts +6 -21
  138. package/dist-types/commands/DescribeStepCommand.d.ts +6 -21
  139. package/dist-types/commands/DescribeStudioCommand.d.ts +6 -21
  140. package/dist-types/commands/GetAutoTerminationPolicyCommand.d.ts +6 -21
  141. package/dist-types/commands/GetBlockPublicAccessConfigurationCommand.d.ts +6 -21
  142. package/dist-types/commands/GetClusterSessionCredentialsCommand.d.ts +6 -21
  143. package/dist-types/commands/GetManagedScalingPolicyCommand.d.ts +6 -21
  144. package/dist-types/commands/GetStudioSessionMappingCommand.d.ts +6 -21
  145. package/dist-types/commands/ListBootstrapActionsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListClustersCommand.d.ts +6 -21
  147. package/dist-types/commands/ListInstanceFleetsCommand.d.ts +6 -21
  148. package/dist-types/commands/ListInstanceGroupsCommand.d.ts +6 -21
  149. package/dist-types/commands/ListInstancesCommand.d.ts +6 -21
  150. package/dist-types/commands/ListNotebookExecutionsCommand.d.ts +6 -21
  151. package/dist-types/commands/ListReleaseLabelsCommand.d.ts +6 -21
  152. package/dist-types/commands/ListSecurityConfigurationsCommand.d.ts +6 -21
  153. package/dist-types/commands/ListStepsCommand.d.ts +6 -21
  154. package/dist-types/commands/ListStudioSessionMappingsCommand.d.ts +6 -21
  155. package/dist-types/commands/ListStudiosCommand.d.ts +6 -21
  156. package/dist-types/commands/ListSupportedInstanceTypesCommand.d.ts +6 -21
  157. package/dist-types/commands/ModifyClusterCommand.d.ts +6 -21
  158. package/dist-types/commands/ModifyInstanceFleetCommand.d.ts +6 -21
  159. package/dist-types/commands/ModifyInstanceGroupsCommand.d.ts +6 -21
  160. package/dist-types/commands/PutAutoScalingPolicyCommand.d.ts +6 -21
  161. package/dist-types/commands/PutAutoTerminationPolicyCommand.d.ts +6 -21
  162. package/dist-types/commands/PutBlockPublicAccessConfigurationCommand.d.ts +6 -21
  163. package/dist-types/commands/PutManagedScalingPolicyCommand.d.ts +6 -21
  164. package/dist-types/commands/RemoveAutoScalingPolicyCommand.d.ts +6 -21
  165. package/dist-types/commands/RemoveAutoTerminationPolicyCommand.d.ts +6 -21
  166. package/dist-types/commands/RemoveManagedScalingPolicyCommand.d.ts +6 -21
  167. package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
  168. package/dist-types/commands/RunJobFlowCommand.d.ts +6 -21
  169. package/dist-types/commands/SetKeepJobFlowAliveWhenNoStepsCommand.d.ts +66 -0
  170. package/dist-types/commands/SetTerminationProtectionCommand.d.ts +6 -21
  171. package/dist-types/commands/SetVisibleToAllUsersCommand.d.ts +6 -21
  172. package/dist-types/commands/StartNotebookExecutionCommand.d.ts +6 -21
  173. package/dist-types/commands/StopNotebookExecutionCommand.d.ts +6 -21
  174. package/dist-types/commands/TerminateJobFlowsCommand.d.ts +6 -21
  175. package/dist-types/commands/UpdateStudioCommand.d.ts +6 -21
  176. package/dist-types/commands/UpdateStudioSessionMappingCommand.d.ts +6 -21
  177. package/dist-types/commands/index.d.ts +1 -0
  178. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  179. package/dist-types/models/models_0.d.ts +17 -0
  180. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  181. package/dist-types/ts3.4/EMR.d.ts +17 -0
  182. package/dist-types/ts3.4/EMRClient.d.ts +6 -0
  183. package/dist-types/ts3.4/commands/AddInstanceFleetCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/AddInstanceGroupsCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/AddJobFlowStepsCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
  187. package/dist-types/ts3.4/commands/CancelStepsCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/CreateSecurityConfigurationCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/CreateStudioCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/CreateStudioSessionMappingCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/DeleteSecurityConfigurationCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/DeleteStudioCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/DeleteStudioSessionMappingCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/DescribeJobFlowsCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/DescribeNotebookExecutionCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/DescribeReleaseLabelCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/DescribeSecurityConfigurationCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/DescribeStepCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/DescribeStudioCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/GetAutoTerminationPolicyCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/GetBlockPublicAccessConfigurationCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/GetClusterSessionCredentialsCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/GetManagedScalingPolicyCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/GetStudioSessionMappingCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/ListBootstrapActionsCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/ListInstanceFleetsCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/ListInstanceGroupsCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/ListNotebookExecutionsCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/ListReleaseLabelsCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/ListSecurityConfigurationsCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/ListStepsCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/ListStudioSessionMappingsCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/ListStudiosCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/ListSupportedInstanceTypesCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/ModifyInstanceFleetCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/ModifyInstanceGroupsCommand.d.ts +12 -24
  221. package/dist-types/ts3.4/commands/PutAutoScalingPolicyCommand.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/PutAutoTerminationPolicyCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/PutBlockPublicAccessConfigurationCommand.d.ts +12 -24
  224. package/dist-types/ts3.4/commands/PutManagedScalingPolicyCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/RemoveAutoScalingPolicyCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/RemoveAutoTerminationPolicyCommand.d.ts +12 -24
  227. package/dist-types/ts3.4/commands/RemoveManagedScalingPolicyCommand.d.ts +12 -24
  228. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
  229. package/dist-types/ts3.4/commands/RunJobFlowCommand.d.ts +14 -23
  230. package/dist-types/ts3.4/commands/SetKeepJobFlowAliveWhenNoStepsCommand.d.ts +26 -0
  231. package/dist-types/ts3.4/commands/SetTerminationProtectionCommand.d.ts +12 -24
  232. package/dist-types/ts3.4/commands/SetVisibleToAllUsersCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/StartNotebookExecutionCommand.d.ts +12 -24
  234. package/dist-types/ts3.4/commands/StopNotebookExecutionCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/TerminateJobFlowsCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/UpdateStudioCommand.d.ts +14 -23
  237. package/dist-types/ts3.4/commands/UpdateStudioSessionMappingCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  239. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  240. package/dist-types/ts3.4/models/models_0.d.ts +4 -0
  241. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  242. package/package.json +9 -9
package/README.md CHANGED
@@ -580,6 +580,14 @@ RunJobFlow
580
580
 
581
581
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr/command/RunJobFlowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr/Interface/RunJobFlowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr/Interface/RunJobFlowCommandOutput/)
582
582
 
583
+ </details>
584
+ <details>
585
+ <summary>
586
+ SetKeepJobFlowAliveWhenNoSteps
587
+ </summary>
588
+
589
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/emr/command/SetKeepJobFlowAliveWhenNoStepsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr/Interface/SetKeepJobFlowAliveWhenNoStepsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-emr/Interface/SetKeepJobFlowAliveWhenNoStepsCommandOutput/)
590
+
583
591
  </details>
584
592
  <details>
585
593
  <summary>
package/dist-cjs/EMR.js CHANGED
@@ -49,6 +49,7 @@ const RemoveAutoTerminationPolicyCommand_1 = require("./commands/RemoveAutoTermi
49
49
  const RemoveManagedScalingPolicyCommand_1 = require("./commands/RemoveManagedScalingPolicyCommand");
50
50
  const RemoveTagsCommand_1 = require("./commands/RemoveTagsCommand");
51
51
  const RunJobFlowCommand_1 = require("./commands/RunJobFlowCommand");
52
+ const SetKeepJobFlowAliveWhenNoStepsCommand_1 = require("./commands/SetKeepJobFlowAliveWhenNoStepsCommand");
52
53
  const SetTerminationProtectionCommand_1 = require("./commands/SetTerminationProtectionCommand");
53
54
  const SetVisibleToAllUsersCommand_1 = require("./commands/SetVisibleToAllUsersCommand");
54
55
  const StartNotebookExecutionCommand_1 = require("./commands/StartNotebookExecutionCommand");
@@ -105,6 +106,7 @@ const commands = {
105
106
  RemoveManagedScalingPolicyCommand: RemoveManagedScalingPolicyCommand_1.RemoveManagedScalingPolicyCommand,
106
107
  RemoveTagsCommand: RemoveTagsCommand_1.RemoveTagsCommand,
107
108
  RunJobFlowCommand: RunJobFlowCommand_1.RunJobFlowCommand,
109
+ SetKeepJobFlowAliveWhenNoStepsCommand: SetKeepJobFlowAliveWhenNoStepsCommand_1.SetKeepJobFlowAliveWhenNoStepsCommand,
108
110
  SetTerminationProtectionCommand: SetTerminationProtectionCommand_1.SetTerminationProtectionCommand,
109
111
  SetVisibleToAllUsersCommand: SetVisibleToAllUsersCommand_1.SetVisibleToAllUsersCommand,
110
112
  StartNotebookExecutionCommand: StartNotebookExecutionCommand_1.StartNotebookExecutionCommand,
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class AddInstanceFleetCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddInstanceFleetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "AddInstanceFleetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "AddInstanceFleet",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_AddInstanceFleetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_AddInstanceFleetCommand)(output, context);
49
- }
10
+ class AddInstanceFleetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "AddInstanceFleet", {})
22
+ .n("EMRClient", "AddInstanceFleetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_AddInstanceFleetCommand)
25
+ .de(Aws_json1_1_1.de_AddInstanceFleetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddInstanceFleetCommand = AddInstanceFleetCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class AddInstanceGroupsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddInstanceGroupsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "AddInstanceGroupsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "AddInstanceGroups",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_AddInstanceGroupsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_AddInstanceGroupsCommand)(output, context);
49
- }
10
+ class AddInstanceGroupsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "AddInstanceGroups", {})
22
+ .n("EMRClient", "AddInstanceGroupsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_AddInstanceGroupsCommand)
25
+ .de(Aws_json1_1_1.de_AddInstanceGroupsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddInstanceGroupsCommand = AddInstanceGroupsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class AddJobFlowStepsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddJobFlowStepsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "AddJobFlowStepsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "AddJobFlowSteps",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_AddJobFlowStepsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_AddJobFlowStepsCommand)(output, context);
49
- }
10
+ class AddJobFlowStepsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "AddJobFlowSteps", {})
22
+ .n("EMRClient", "AddJobFlowStepsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_AddJobFlowStepsCommand)
25
+ .de(Aws_json1_1_1.de_AddJobFlowStepsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddJobFlowStepsCommand = AddJobFlowStepsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class AddTagsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddTagsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "AddTagsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "AddTags",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_AddTagsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_AddTagsCommand)(output, context);
49
- }
10
+ class AddTagsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "AddTags", {})
22
+ .n("EMRClient", "AddTagsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_AddTagsCommand)
25
+ .de(Aws_json1_1_1.de_AddTagsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddTagsCommand = AddTagsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CancelStepsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelStepsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "CancelStepsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "CancelSteps",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CancelStepsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CancelStepsCommand)(output, context);
49
- }
10
+ class CancelStepsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "CancelSteps", {})
22
+ .n("EMRClient", "CancelStepsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CancelStepsCommand)
25
+ .de(Aws_json1_1_1.de_CancelStepsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CancelStepsCommand = CancelStepsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateSecurityConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateSecurityConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "CreateSecurityConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "CreateSecurityConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateSecurityConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateSecurityConfigurationCommand)(output, context);
49
- }
10
+ class CreateSecurityConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "CreateSecurityConfiguration", {})
22
+ .n("EMRClient", "CreateSecurityConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateSecurityConfigurationCommand)
25
+ .de(Aws_json1_1_1.de_CreateSecurityConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateSecurityConfigurationCommand = CreateSecurityConfigurationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateStudioCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateStudioCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "CreateStudioCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "CreateStudio",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateStudioCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateStudioCommand)(output, context);
49
- }
10
+ class CreateStudioCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "CreateStudio", {})
22
+ .n("EMRClient", "CreateStudioCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateStudioCommand)
25
+ .de(Aws_json1_1_1.de_CreateStudioCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateStudioCommand = CreateStudioCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateStudioSessionMappingCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateStudioSessionMappingCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "CreateStudioSessionMappingCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "CreateStudioSessionMapping",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateStudioSessionMappingCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateStudioSessionMappingCommand)(output, context);
49
- }
10
+ class CreateStudioSessionMappingCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "CreateStudioSessionMapping", {})
22
+ .n("EMRClient", "CreateStudioSessionMappingCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateStudioSessionMappingCommand)
25
+ .de(Aws_json1_1_1.de_CreateStudioSessionMappingCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateStudioSessionMappingCommand = CreateStudioSessionMappingCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteSecurityConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteSecurityConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EMRClient";
29
- const commandName = "DeleteSecurityConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "ElasticMapReduce",
38
- operation: "DeleteSecurityConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteSecurityConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteSecurityConfigurationCommand)(output, context);
49
- }
10
+ class DeleteSecurityConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("ElasticMapReduce", "DeleteSecurityConfiguration", {})
22
+ .n("EMRClient", "DeleteSecurityConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteSecurityConfigurationCommand)
25
+ .de(Aws_json1_1_1.de_DeleteSecurityConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteSecurityConfigurationCommand = DeleteSecurityConfigurationCommand;