@aws-sdk/client-emr 3.33.0 → 3.34.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 (157) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/package.json +39 -39
  3. package/dist/es/EMR.js +1 -7
  4. package/dist/es/EMR.js.map +1 -1
  5. package/dist/es/EMRClient.js +1 -12
  6. package/dist/es/EMRClient.js.map +1 -1
  7. package/dist/es/commands/AddInstanceFleetCommand.js +2 -31
  8. package/dist/es/commands/AddInstanceFleetCommand.js.map +1 -1
  9. package/dist/es/commands/AddInstanceGroupsCommand.js +2 -27
  10. package/dist/es/commands/AddInstanceGroupsCommand.js.map +1 -1
  11. package/dist/es/commands/AddJobFlowStepsCommand.js +2 -43
  12. package/dist/es/commands/AddJobFlowStepsCommand.js.map +1 -1
  13. package/dist/es/commands/AddTagsCommand.js +2 -29
  14. package/dist/es/commands/AddTagsCommand.js.map +1 -1
  15. package/dist/es/commands/CancelStepsCommand.js +2 -30
  16. package/dist/es/commands/CancelStepsCommand.js.map +1 -1
  17. package/dist/es/commands/CreateSecurityConfigurationCommand.js +2 -28
  18. package/dist/es/commands/CreateSecurityConfigurationCommand.js.map +1 -1
  19. package/dist/es/commands/CreateStudioCommand.js +2 -27
  20. package/dist/es/commands/CreateStudioCommand.js.map +1 -1
  21. package/dist/es/commands/CreateStudioSessionMappingCommand.js +2 -28
  22. package/dist/es/commands/CreateStudioSessionMappingCommand.js.map +1 -1
  23. package/dist/es/commands/DeleteSecurityConfigurationCommand.js +2 -27
  24. package/dist/es/commands/DeleteSecurityConfigurationCommand.js.map +1 -1
  25. package/dist/es/commands/DeleteStudioCommand.js +2 -27
  26. package/dist/es/commands/DeleteStudioCommand.js.map +1 -1
  27. package/dist/es/commands/DeleteStudioSessionMappingCommand.js +2 -27
  28. package/dist/es/commands/DeleteStudioSessionMappingCommand.js.map +1 -1
  29. package/dist/es/commands/DescribeClusterCommand.js +2 -28
  30. package/dist/es/commands/DescribeClusterCommand.js.map +1 -1
  31. package/dist/es/commands/DescribeJobFlowsCommand.js +2 -49
  32. package/dist/es/commands/DescribeJobFlowsCommand.js.map +1 -1
  33. package/dist/es/commands/DescribeNotebookExecutionCommand.js +2 -27
  34. package/dist/es/commands/DescribeNotebookExecutionCommand.js.map +1 -1
  35. package/dist/es/commands/DescribeReleaseLabelCommand.js +2 -27
  36. package/dist/es/commands/DescribeReleaseLabelCommand.js.map +1 -1
  37. package/dist/es/commands/DescribeSecurityConfigurationCommand.js +2 -28
  38. package/dist/es/commands/DescribeSecurityConfigurationCommand.js.map +1 -1
  39. package/dist/es/commands/DescribeStepCommand.js +2 -27
  40. package/dist/es/commands/DescribeStepCommand.js.map +1 -1
  41. package/dist/es/commands/DescribeStudioCommand.js +2 -28
  42. package/dist/es/commands/DescribeStudioCommand.js.map +1 -1
  43. package/dist/es/commands/GetAutoTerminationPolicyCommand.js +2 -27
  44. package/dist/es/commands/GetAutoTerminationPolicyCommand.js.map +1 -1
  45. package/dist/es/commands/GetBlockPublicAccessConfigurationCommand.js +2 -30
  46. package/dist/es/commands/GetBlockPublicAccessConfigurationCommand.js.map +1 -1
  47. package/dist/es/commands/GetManagedScalingPolicyCommand.js +2 -27
  48. package/dist/es/commands/GetManagedScalingPolicyCommand.js.map +1 -1
  49. package/dist/es/commands/GetStudioSessionMappingCommand.js +2 -28
  50. package/dist/es/commands/GetStudioSessionMappingCommand.js.map +1 -1
  51. package/dist/es/commands/ListBootstrapActionsCommand.js +2 -27
  52. package/dist/es/commands/ListBootstrapActionsCommand.js.map +1 -1
  53. package/dist/es/commands/ListClustersCommand.js +2 -31
  54. package/dist/es/commands/ListClustersCommand.js.map +1 -1
  55. package/dist/es/commands/ListInstanceFleetsCommand.js +2 -31
  56. package/dist/es/commands/ListInstanceFleetsCommand.js.map +1 -1
  57. package/dist/es/commands/ListInstanceGroupsCommand.js +2 -27
  58. package/dist/es/commands/ListInstanceGroupsCommand.js.map +1 -1
  59. package/dist/es/commands/ListInstancesCommand.js +2 -29
  60. package/dist/es/commands/ListInstancesCommand.js.map +1 -1
  61. package/dist/es/commands/ListNotebookExecutionsCommand.js +2 -30
  62. package/dist/es/commands/ListNotebookExecutionsCommand.js.map +1 -1
  63. package/dist/es/commands/ListReleaseLabelsCommand.js +2 -27
  64. package/dist/es/commands/ListReleaseLabelsCommand.js.map +1 -1
  65. package/dist/es/commands/ListSecurityConfigurationsCommand.js +2 -30
  66. package/dist/es/commands/ListSecurityConfigurationsCommand.js.map +1 -1
  67. package/dist/es/commands/ListStepsCommand.js +2 -29
  68. package/dist/es/commands/ListStepsCommand.js.map +1 -1
  69. package/dist/es/commands/ListStudioSessionMappingsCommand.js +2 -28
  70. package/dist/es/commands/ListStudioSessionMappingsCommand.js.map +1 -1
  71. package/dist/es/commands/ListStudiosCommand.js +2 -28
  72. package/dist/es/commands/ListStudiosCommand.js.map +1 -1
  73. package/dist/es/commands/ModifyClusterCommand.js +2 -28
  74. package/dist/es/commands/ModifyClusterCommand.js.map +1 -1
  75. package/dist/es/commands/ModifyInstanceFleetCommand.js +2 -33
  76. package/dist/es/commands/ModifyInstanceFleetCommand.js.map +1 -1
  77. package/dist/es/commands/ModifyInstanceGroupsCommand.js +2 -29
  78. package/dist/es/commands/ModifyInstanceGroupsCommand.js.map +1 -1
  79. package/dist/es/commands/PutAutoScalingPolicyCommand.js +2 -30
  80. package/dist/es/commands/PutAutoScalingPolicyCommand.js.map +1 -1
  81. package/dist/es/commands/PutAutoTerminationPolicyCommand.js +2 -27
  82. package/dist/es/commands/PutAutoTerminationPolicyCommand.js.map +1 -1
  83. package/dist/es/commands/PutBlockPublicAccessConfigurationCommand.js +2 -30
  84. package/dist/es/commands/PutBlockPublicAccessConfigurationCommand.js.map +1 -1
  85. package/dist/es/commands/PutManagedScalingPolicyCommand.js +2 -30
  86. package/dist/es/commands/PutManagedScalingPolicyCommand.js.map +1 -1
  87. package/dist/es/commands/RemoveAutoScalingPolicyCommand.js +2 -28
  88. package/dist/es/commands/RemoveAutoScalingPolicyCommand.js.map +1 -1
  89. package/dist/es/commands/RemoveAutoTerminationPolicyCommand.js +2 -27
  90. package/dist/es/commands/RemoveAutoTerminationPolicyCommand.js.map +1 -1
  91. package/dist/es/commands/RemoveManagedScalingPolicyCommand.js +2 -27
  92. package/dist/es/commands/RemoveManagedScalingPolicyCommand.js.map +1 -1
  93. package/dist/es/commands/RemoveTagsCommand.js +2 -30
  94. package/dist/es/commands/RemoveTagsCommand.js.map +1 -1
  95. package/dist/es/commands/RunJobFlowCommand.js +2 -49
  96. package/dist/es/commands/RunJobFlowCommand.js.map +1 -1
  97. package/dist/es/commands/SetTerminationProtectionCommand.js +2 -41
  98. package/dist/es/commands/SetTerminationProtectionCommand.js.map +1 -1
  99. package/dist/es/commands/SetVisibleToAllUsersCommand.js +2 -30
  100. package/dist/es/commands/SetVisibleToAllUsersCommand.js.map +1 -1
  101. package/dist/es/commands/StartNotebookExecutionCommand.js +2 -27
  102. package/dist/es/commands/StartNotebookExecutionCommand.js.map +1 -1
  103. package/dist/es/commands/StopNotebookExecutionCommand.js +2 -27
  104. package/dist/es/commands/StopNotebookExecutionCommand.js.map +1 -1
  105. package/dist/es/commands/TerminateJobFlowsCommand.js +2 -34
  106. package/dist/es/commands/TerminateJobFlowsCommand.js.map +1 -1
  107. package/dist/es/commands/UpdateStudioCommand.js +2 -27
  108. package/dist/es/commands/UpdateStudioCommand.js.map +1 -1
  109. package/dist/es/commands/UpdateStudioSessionMappingCommand.js +2 -28
  110. package/dist/es/commands/UpdateStudioSessionMappingCommand.js.map +1 -1
  111. package/dist/es/endpoints.js +1 -1
  112. package/dist/es/endpoints.js.map +1 -1
  113. package/dist/es/models/models_0.js +0 -561
  114. package/dist/es/models/models_0.js.map +1 -1
  115. package/dist/es/package.json +39 -39
  116. package/dist/es/pagination/ListBootstrapActionsPaginator.js +16 -28
  117. package/dist/es/pagination/ListBootstrapActionsPaginator.js.map +1 -1
  118. package/dist/es/pagination/ListClustersPaginator.js +16 -28
  119. package/dist/es/pagination/ListClustersPaginator.js.map +1 -1
  120. package/dist/es/pagination/ListInstanceFleetsPaginator.js +16 -28
  121. package/dist/es/pagination/ListInstanceFleetsPaginator.js.map +1 -1
  122. package/dist/es/pagination/ListInstanceGroupsPaginator.js +16 -28
  123. package/dist/es/pagination/ListInstanceGroupsPaginator.js.map +1 -1
  124. package/dist/es/pagination/ListInstancesPaginator.js +16 -28
  125. package/dist/es/pagination/ListInstancesPaginator.js.map +1 -1
  126. package/dist/es/pagination/ListNotebookExecutionsPaginator.js +16 -28
  127. package/dist/es/pagination/ListNotebookExecutionsPaginator.js.map +1 -1
  128. package/dist/es/pagination/ListReleaseLabelsPaginator.js +16 -28
  129. package/dist/es/pagination/ListReleaseLabelsPaginator.js.map +1 -1
  130. package/dist/es/pagination/ListSecurityConfigurationsPaginator.js +16 -28
  131. package/dist/es/pagination/ListSecurityConfigurationsPaginator.js.map +1 -1
  132. package/dist/es/pagination/ListStepsPaginator.js +16 -28
  133. package/dist/es/pagination/ListStepsPaginator.js.map +1 -1
  134. package/dist/es/pagination/ListStudioSessionMappingsPaginator.js +16 -28
  135. package/dist/es/pagination/ListStudioSessionMappingsPaginator.js.map +1 -1
  136. package/dist/es/pagination/ListStudiosPaginator.js +16 -28
  137. package/dist/es/pagination/ListStudiosPaginator.js.map +1 -1
  138. package/dist/es/protocols/Aws_json1_1.js +681 -686
  139. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  140. package/dist/es/runtimeConfig.browser.js +0 -3
  141. package/dist/es/runtimeConfig.browser.js.map +1 -1
  142. package/dist/es/runtimeConfig.js +0 -3
  143. package/dist/es/runtimeConfig.js.map +1 -1
  144. package/dist/es/runtimeConfig.native.js +0 -3
  145. package/dist/es/runtimeConfig.native.js.map +1 -1
  146. package/dist/es/runtimeConfig.shared.js +0 -3
  147. package/dist/es/runtimeConfig.shared.js.map +1 -1
  148. package/dist/es/waiters/waitForClusterRunning.js +12 -21
  149. package/dist/es/waiters/waitForClusterRunning.js.map +1 -1
  150. package/dist/es/waiters/waitForClusterTerminated.js +9 -18
  151. package/dist/es/waiters/waitForClusterTerminated.js.map +1 -1
  152. package/dist/es/waiters/waitForStepComplete.js +10 -19
  153. package/dist/es/waiters/waitForStepComplete.js.map +1 -1
  154. package/package.json +39 -39
  155. package/tsconfig.es.json +0 -2
  156. package/tsconfig.json +4 -5
  157. package/tsconfig.types.json +8 -0
@@ -3,41 +3,13 @@ import { PutBlockPublicAccessConfigurationInput, PutBlockPublicAccessConfigurati
3
3
  import { deserializeAws_json1_1PutBlockPublicAccessConfigurationCommand, serializeAws_json1_1PutBlockPublicAccessConfigurationCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates or updates an Amazon EMR block public access configuration for your Amazon Web Services account
8
- * in the current Region. For more information see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/configure-block-public-access.html">Configure Block
9
- * Public Access for Amazon EMR</a> in the <i>Amazon EMR Management
10
- * Guide</i>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { EMRClient, PutBlockPublicAccessConfigurationCommand } from "@aws-sdk/client-emr"; // ES Modules import
15
- * // const { EMRClient, PutBlockPublicAccessConfigurationCommand } = require("@aws-sdk/client-emr"); // CommonJS import
16
- * const client = new EMRClient(config);
17
- * const command = new PutBlockPublicAccessConfigurationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link PutBlockPublicAccessConfigurationCommandInput} for command's `input` shape.
22
- * @see {@link PutBlockPublicAccessConfigurationCommandOutput} for command's `response` shape.
23
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var PutBlockPublicAccessConfigurationCommand = /** @class */ (function (_super) {
6
+ var PutBlockPublicAccessConfigurationCommand = (function (_super) {
27
7
  __extends(PutBlockPublicAccessConfigurationCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function PutBlockPublicAccessConfigurationCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  PutBlockPublicAccessConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"PutBlockPublicAccessConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/PutBlockPublicAccessConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sCAAsC,EAAE,uCAAuC,EAAE,MAAM,oBAAoB,CAAC;AACrH,OAAO,EACL,8DAA8D,EAC9D,4DAA4D,GAC7D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgB7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAA8D,4DAI7D;IACC,oCAAoC;IACpC,kCAAkC;IAElC,kDAAqB,KAAoD;QAAzE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+C;;QAGvE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,oEAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,0CAA0C,CAAC;QAC/D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sCAAsC,CAAC,kBAAkB;YAClF,wBAAwB,EAAE,uCAAuC,CAAC,kBAAkB;SACrF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4DAAS,GAAjB,UACE,KAAoD,EACpD,OAAuB;QAEvB,OAAO,4DAA4D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAEO,8DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,8DAA8D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAIH,+CAAC;AAAD,CAAC,AA5DD,CAA8D,QAAQ,GA4DrE"}
1
+ {"version":3,"file":"PutBlockPublicAccessConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/PutBlockPublicAccessConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sCAAsC,EAAE,uCAAuC,EAAE,MAAM,oBAAoB,CAAC;AACrH,OAAO,EACL,8DAA8D,EAC9D,4DAA4D,GAC7D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAoC7D;IAA8D,4DAI7D;IAIC,kDAAqB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
3
  import { deserializeAws_json1_1PutManagedScalingPolicyCommand, serializeAws_json1_1PutManagedScalingPolicyCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed
8
- * scaling policy defines the limits for resources, such as EC2 instances that can be added or
9
- * terminated from a cluster. The policy only applies to the core and task nodes. The master
10
- * node cannot be scaled after initial configuration. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { EMRClient, PutManagedScalingPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
15
- * // const { EMRClient, PutManagedScalingPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
16
- * const client = new EMRClient(config);
17
- * const command = new PutManagedScalingPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link PutManagedScalingPolicyCommandInput} for command's `input` shape.
22
- * @see {@link PutManagedScalingPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var PutManagedScalingPolicyCommand = /** @class */ (function (_super) {
6
+ var PutManagedScalingPolicyCommand = (function (_super) {
27
7
  __extends(PutManagedScalingPolicyCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function PutManagedScalingPolicyCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  PutManagedScalingPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"PutManagedScalingPol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AAgC,CAAC;QACrD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,4BAA4B,CAAC,kBAAkB;YACxE,wBAAwB,EAAE,6BAA6B,CAAC,kBAAkB;SAC3E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,kDAAS,GAAjB,UAAkB,KAA0C,EAAE,OAAuB;QACnF,OAAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,oDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,qCAAC;AAAD,CAAC,AAtDD,CAAoD,QAAQ,GAsD3D"}
@@ -3,39 +3,13 @@ import { RemoveAutoScalingPolicyInput, RemoveAutoScalingPolicyOutput } from "../
3
3
  import { deserializeAws_json1_1RemoveAutoScalingPolicyCommand, serializeAws_json1_1RemoveAutoScalingPolicyCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Removes an automatic scaling policy from a specified instance group within an EMR
8
- * cluster.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { EMRClient, RemoveAutoScalingPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
13
- * // const { EMRClient, RemoveAutoScalingPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
14
- * const client = new EMRClient(config);
15
- * const command = new RemoveAutoScalingPolicyCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link RemoveAutoScalingPolicyCommandInput} for command's `input` shape.
20
- * @see {@link RemoveAutoScalingPolicyCommandOutput} for command's `response` shape.
21
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var RemoveAutoScalingPolicyCommand = /** @class */ (function (_super) {
6
+ var RemoveAutoScalingPolicyCommand = (function (_super) {
25
7
  __extends(RemoveAutoScalingPolicyCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function RemoveAutoScalingPolicyCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  RemoveAutoScalingPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RemoveAutoScalingPolicyCommand.js","sourceRoot":"","sources":["../../../commands/RemoveAutoScalingPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;GAiBG;AACH;IAAoD,kDAInD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,wCAAqB,KAA0C;QAA/D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAqC;;QAG7D,mCAAmC;IAC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OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,oDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,qCAAC;AAAD,CAAC,AAtDD,CAAoD,QAAQ,GAsD3D"}
@@ -3,38 +3,13 @@ import { RemoveAutoTerminationPolicyInput, RemoveAutoTerminationPolicyOutput } f
3
3
  import { deserializeAws_json1_1RemoveAutoTerminationPolicyCommand, serializeAws_json1_1RemoveAutoTerminationPolicyCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Removes an auto-termination policy from an Amazon EMR cluster.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { EMRClient, RemoveAutoTerminationPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
12
- * // const { EMRClient, RemoveAutoTerminationPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
13
- * const client = new EMRClient(config);
14
- * const command = new RemoveAutoTerminationPolicyCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link RemoveAutoTerminationPolicyCommandInput} for command's `input` shape.
19
- * @see {@link RemoveAutoTerminationPolicyCommandOutput} for command's `response` shape.
20
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var RemoveAutoTerminationPolicyCommand = /** @class */ (function (_super) {
6
+ var RemoveAutoTerminationPolicyCommand = (function (_super) {
24
7
  __extends(RemoveAutoTerminationPolicyCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function RemoveAutoTerminationPolicyCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  RemoveAutoTerminationPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RemoveAutoTerminationPolicyCommand.js","sourceRoot":"","sources":["../../../commands/RemoveAutoTerminationPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;GAgBG;AACH;IAAwD,sDAIvD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4CAAqB,KAA8C;QAAnE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;QAGjE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
1
+ {"version":3,"file":"RemoveAutoTerminationPolicyCommand.js","sourceRoot":"","sources":["../../../commands/RemoveAutoTerminationPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;IAInE,CAAC;IAKD,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
@@ -3,38 +3,13 @@ import { RemoveManagedScalingPolicyInput, RemoveManagedScalingPolicyOutput } fro
3
3
  import { deserializeAws_json1_1RemoveManagedScalingPolicyCommand, serializeAws_json1_1RemoveManagedScalingPolicyCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p> Removes a managed scaling policy from a specified EMR cluster. </p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { EMRClient, RemoveManagedScalingPolicyCommand } from "@aws-sdk/client-emr"; // ES Modules import
12
- * // const { EMRClient, RemoveManagedScalingPolicyCommand } = require("@aws-sdk/client-emr"); // CommonJS import
13
- * const client = new EMRClient(config);
14
- * const command = new RemoveManagedScalingPolicyCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link RemoveManagedScalingPolicyCommandInput} for command's `input` shape.
19
- * @see {@link RemoveManagedScalingPolicyCommandOutput} for command's `response` shape.
20
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var RemoveManagedScalingPolicyCommand = /** @class */ (function (_super) {
6
+ var RemoveManagedScalingPolicyCommand = (function (_super) {
24
7
  __extends(RemoveManagedScalingPolicyCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function RemoveManagedScalingPolicyCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  RemoveManagedScalingPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RemoveManagedScalingPolicyCommand.js","sourceRoot":"","sources":["../../../commands/RemoveManagedScalingPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,w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,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
1
+ {"version":3,"file":"RemoveManagedScalingPolicyCommand.js","sourceRoot":"","sources":["../../../commands/RemoveManagedScalingPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAuD,qDAItD;IAIC,2CAAqB,KAA6C;QAAlE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwC;;IAIlE,CAAC;IAKD,6DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,mCAAmC,CAAC;QACxD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,+BAA+B,CAAC,kBAAkB;YAC3E,wBAAwB,EAAE,gCAAgC,CAAC,kBAAkB;SAC9E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qDAAS,GAAjB,UAAkB,KAA6C,EAAE,OAAuB;QACtF,OAAO,qDAAqD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAEO,uDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,uDAAuD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
@@ -3,41 +3,13 @@ import { RemoveTagsInput, RemoveTagsOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_1RemoveTagsCommand, serializeAws_json1_1RemoveTagsCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. Tags make it easier to associate resources in
8
- * various ways, such as grouping clusters to track your Amazon EMR resource allocation costs.
9
- * For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html">Tag Clusters</a>. </p>
10
- * <p>The following example removes the stack tag with value Prod from a cluster:</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { EMRClient, RemoveTagsCommand } from "@aws-sdk/client-emr"; // ES Modules import
15
- * // const { EMRClient, RemoveTagsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
16
- * const client = new EMRClient(config);
17
- * const command = new RemoveTagsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link RemoveTagsCommandInput} for command's `input` shape.
22
- * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
23
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var RemoveTagsCommand = /** @class */ (function (_super) {
6
+ var RemoveTagsCommand = (function (_super) {
27
7
  __extends(RemoveTagsCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function RemoveTagsCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  RemoveTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RemoveTagsCommand.js","sourceRoot":"","sources":["../../../commands/RemoveTagsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAAuC,qCAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2BAAqB,KAA6B;QAAlD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,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_json1_1RunJobFlowCommand, serializeAws_json1_1RunJobFlowCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the
8
- * steps specified. After the steps complete, the cluster stops and the HDFS partition is
9
- * lost. To prevent loss of data, configure the last step of the job flow to store results in
10
- * Amazon S3. If the <a>JobFlowInstancesConfig</a>
11
- * <code>KeepJobFlowAliveWhenNoSteps</code> parameter is set to <code>TRUE</code>, the cluster
12
- * transitions to the WAITING state rather than shutting down after the steps have completed. </p>
13
- * <p>For additional protection, you can set the <a>JobFlowInstancesConfig</a>
14
- * <code>TerminationProtected</code> parameter to <code>TRUE</code> to lock the cluster and
15
- * prevent it from being terminated by API call, user intervention, or in the event of a job
16
- * flow error.</p>
17
- * <p>A maximum of 256 steps are allowed in each job flow.</p>
18
- * <p>If your cluster is long-running (such as a Hive data warehouse) or complex, you may
19
- * require more than 256 steps to process your data. You can bypass the 256-step limitation in
20
- * various ways, including using the SSH shell to connect to the master node and submitting
21
- * queries directly to the software running on the master node, such as Hive and Hadoop. For
22
- * more information on how to do this, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/AddMoreThan256Steps.html">Add More than 256 Steps to a
23
- * Cluster</a> in the <i>Amazon EMR Management Guide</i>.</p>
24
- * <p>For long running clusters, we recommend that you periodically store your results.</p>
25
- * <note>
26
- * <p>The instance fleets configuration is available only in Amazon EMR versions 4.8.0 and
27
- * later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets
28
- * parameters or InstanceGroups parameters, but not both.</p>
29
- * </note>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { EMRClient, RunJobFlowCommand } from "@aws-sdk/client-emr"; // ES Modules import
34
- * // const { EMRClient, RunJobFlowCommand } = require("@aws-sdk/client-emr"); // CommonJS import
35
- * const client = new EMRClient(config);
36
- * const command = new RunJobFlowCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link RunJobFlowCommandInput} for command's `input` shape.
41
- * @see {@link RunJobFlowCommandOutput} for command's `response` shape.
42
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- var RunJobFlowCommand = /** @class */ (function (_super) {
6
+ var RunJobFlowCommand = (function (_super) {
46
7
  __extends(RunJobFlowCommand, _super);
47
- // Start section: command_properties
48
- // End section: command_properties
49
8
  function RunJobFlowCommand(input) {
50
- var _this =
51
- // Start section: command_constructor
52
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
53
10
  _this.input = input;
54
11
  return _this;
55
- // End section: command_constructor
56
12
  }
57
- /**
58
- * @internal
59
- */
60
13
  RunJobFlowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
61
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
62
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RunJobFlowCommand.js","sourceRoot":"","sources":["../../../commands/RunJobFlowCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH;IAAuC,qCAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2BAAqB,KAA6B;QAAlD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;QAGhD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6CAAiB,GAAjB,U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EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
@@ -3,52 +3,13 @@ import { SetTerminationProtectionInput } from "../models/models_0";
3
3
  import { deserializeAws_json1_1SetTerminationProtectionCommand, serializeAws_json1_1SetTerminationProtectionCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>SetTerminationProtection locks a cluster (job flow) so the EC2 instances in the cluster
8
- * cannot be terminated by user intervention, an API call, or in the event of a job-flow
9
- * error. The cluster still terminates upon successful completion of the job flow. Calling
10
- * <code>SetTerminationProtection</code> on a cluster is similar to calling the Amazon EC2
11
- * <code>DisableAPITermination</code> API on all EC2 instances in a cluster.</p>
12
- * <p>
13
- * <code>SetTerminationProtection</code> is used to prevent accidental termination of a
14
- * cluster and to ensure that in the event of an error, the instances persist so that you can
15
- * recover any data stored in their ephemeral instance storage.</p>
16
- * <p> To terminate a cluster that has been locked by setting
17
- * <code>SetTerminationProtection</code> to <code>true</code>, you must first unlock the
18
- * job flow by a subsequent call to <code>SetTerminationProtection</code> in which you set the
19
- * value to <code>false</code>. </p>
20
- * <p> For more information, see<a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html">Managing Cluster
21
- * Termination</a> in the <i>Amazon EMR Management Guide</i>. </p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { EMRClient, SetTerminationProtectionCommand } from "@aws-sdk/client-emr"; // ES Modules import
26
- * // const { EMRClient, SetTerminationProtectionCommand } = require("@aws-sdk/client-emr"); // CommonJS import
27
- * const client = new EMRClient(config);
28
- * const command = new SetTerminationProtectionCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link SetTerminationProtectionCommandInput} for command's `input` shape.
33
- * @see {@link SetTerminationProtectionCommandOutput} for command's `response` shape.
34
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- var SetTerminationProtectionCommand = /** @class */ (function (_super) {
6
+ var SetTerminationProtectionCommand = (function (_super) {
38
7
  __extends(SetTerminationProtectionCommand, _super);
39
- // Start section: command_properties
40
- // End section: command_properties
41
8
  function SetTerminationProtectionCommand(input) {
42
- var _this =
43
- // Start section: command_constructor
44
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
45
10
  _this.input = input;
46
11
  return _this;
47
- // End section: command_constructor
48
12
  }
49
- /**
50
- * @internal
51
- */
52
13
  SetTerminationProtectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
53
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
54
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"SetTerminationProtectionCommand.js","sourceRoot":"","sources":["../../../commands/SetTerminationProtectionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH;IAAqD,mDAIpD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,yCAAqB,KAA2C;QAAhE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsC;;QAG9D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,2DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,iCAAiC,CAAC;QACtD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6BAA6B,CAAC,kBAAkB;YACzE,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,mDAAS,GAAjB,UAAkB,KAA2C,EAAE,OAAuB;QACpF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,qDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,sCAAC;AAAD,CAAC,AAtDD,CAAqD,QAAQ,GAsD5D"}
1
+ {"version":3,"file":"SetTerminationProtectionCommand.js","sourceRoot":"","sources":["../../../commands/SetTerminationProtectionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,0BAA0B,CAAC;AAClC,OAA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MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,sCAAC;AAAD,CAAC,AAtDD,CAAqD,QAAQ,GAsD5D"}
@@ -3,41 +3,13 @@ import { SetVisibleToAllUsersInput } from "../models/models_0";
3
3
  import { deserializeAws_json1_1SetVisibleToAllUsersCommand, serializeAws_json1_1SetVisibleToAllUsersCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Sets the <a>Cluster$VisibleToAllUsers</a> value for an EMR cluster. When <code>true</code>, IAM principals in the
8
- * Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When <code>false</code>, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals.</p>
9
- * <p>This action works on running clusters. When you create a cluster, use the <a>RunJobFlowInput$VisibleToAllUsers</a> parameter.</p>
10
- * <p>For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users">Understanding the EMR Cluster VisibleToAllUsers Setting</a> in the <i>Amazon EMRManagement Guide</i>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { EMRClient, SetVisibleToAllUsersCommand } from "@aws-sdk/client-emr"; // ES Modules import
15
- * // const { EMRClient, SetVisibleToAllUsersCommand } = require("@aws-sdk/client-emr"); // CommonJS import
16
- * const client = new EMRClient(config);
17
- * const command = new SetVisibleToAllUsersCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link SetVisibleToAllUsersCommandInput} for command's `input` shape.
22
- * @see {@link SetVisibleToAllUsersCommandOutput} for command's `response` shape.
23
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var SetVisibleToAllUsersCommand = /** @class */ (function (_super) {
6
+ var SetVisibleToAllUsersCommand = (function (_super) {
27
7
  __extends(SetVisibleToAllUsersCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function SetVisibleToAllUsersCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  SetVisibleToAllUsersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"SetVisibleToAllUsersCommand.js","sourceRoot":"","sources":["../../../commands/SetVisibleToAllUsersCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAAiD,+CAIhD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,qCAAqB,KAAuC;QAA5D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;QAG1D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,M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json1_1StartNotebookExecutionCommand, serializeAws_json1_1StartNotebookExecutionCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Starts a notebook execution.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { EMRClient, StartNotebookExecutionCommand } from "@aws-sdk/client-emr"; // ES Modules import
12
- * // const { EMRClient, StartNotebookExecutionCommand } = require("@aws-sdk/client-emr"); // CommonJS import
13
- * const client = new EMRClient(config);
14
- * const command = new StartNotebookExecutionCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link StartNotebookExecutionCommandInput} for command's `input` shape.
19
- * @see {@link StartNotebookExecutionCommandOutput} for command's `response` shape.
20
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var StartNotebookExecutionCommand = /** @class */ (function (_super) {
6
+ var StartNotebookExecutionCommand = (function (_super) {
24
7
  __extends(StartNotebookExecutionCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function StartNotebookExecutionCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  StartNotebookExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"StartNotebookExecutionCommand.js","sourceRoot":"","sources":["../../../commands/StartNotebookExecutionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAA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SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
@@ -3,38 +3,13 @@ import { StopNotebookExecutionInput } from "../models/models_0";
3
3
  import { deserializeAws_json1_1StopNotebookExecutionCommand, serializeAws_json1_1StopNotebookExecutionCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Stops a notebook execution.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { EMRClient, StopNotebookExecutionCommand } from "@aws-sdk/client-emr"; // ES Modules import
12
- * // const { EMRClient, StopNotebookExecutionCommand } = require("@aws-sdk/client-emr"); // CommonJS import
13
- * const client = new EMRClient(config);
14
- * const command = new StopNotebookExecutionCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link StopNotebookExecutionCommandInput} for command's `input` shape.
19
- * @see {@link StopNotebookExecutionCommandOutput} for command's `response` shape.
20
- * @see {@link EMRClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var StopNotebookExecutionCommand = /** @class */ (function (_super) {
6
+ var StopNotebookExecutionCommand = (function (_super) {
24
7
  __extends(StopNotebookExecutionCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function StopNotebookExecutionCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  StopNotebookExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);