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