Skip to content

Commit

Permalink
feat(client-emr): Updated CreateCluster API request and DescribeClust…
Browse files Browse the repository at this point in the history
…er API responses to include EbsRootVolumeIops, and EbsRootVolumeThroughput attributes that specify the user configured root volume IOPS and throughput for Amazon EBS root device volume. This feature will be available from Amazon EMR releases 6.15.0
  • Loading branch information
awstools committed Oct 27, 2023
1 parent e7cee7e commit ce8979f
Show file tree
Hide file tree
Showing 11 changed files with 200 additions and 126 deletions.
2 changes: 1 addition & 1 deletion clients/client-emr/src/commands/AddInstanceFleetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface AddInstanceFleetCommandOutput extends AddInstanceFleetOutput, _
* <p>Adds an instance fleet to a running cluster.</p>
* <note>
* <p>The instance fleet configuration is available only in Amazon EMR releases
* 4.8.0 and later, excluding 5.0.x.</p>
* 4.8.0 and higher, excluding 5.0.x.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
8 changes: 4 additions & 4 deletions clients/client-emr/src/commands/CancelStepsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export interface CancelStepsCommandOutput extends CancelStepsOutput, __MetadataB

/**
* @public
* <p>Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in
* each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee
* that a step will be canceled, even if the request is successfully submitted. When you use
* Amazon EMR releases 5.28.0 and later, you can cancel steps that are in a
* <p>Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and higher, excluding version 5.0.0. A maximum of 256 steps are allowed
* in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not
* guarantee that a step will be canceled, even if the request is successfully submitted. When
* you use Amazon EMR releases 5.28.0 and higher, you can cancel steps that are in a
* <code>PENDING</code> or <code>RUNNING</code> state. In earlier versions of Amazon EMR, you can only cancel steps that are in a <code>PENDING</code> state. </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
2 changes: 2 additions & 0 deletions clients/client-emr/src/commands/DescribeClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ export interface DescribeClusterCommandOutput extends DescribeClusterOutput, __M
* // },
* // ],
* // OSReleaseLabel: "STRING_VALUE",
* // EbsRootVolumeIops: Number("int"),
* // EbsRootVolumeThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface ListInstanceFleetsCommandOutput extends ListInstanceFleetsOutpu
* <p>Lists all available details about the instance fleets in a cluster.</p>
* <note>
* <p>The instance fleet configuration is available only in Amazon EMR releases
* 4.8.0 and later, excluding 5.0.x versions.</p>
* 4.8.0 and higher, excluding 5.0.x versions.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export interface ListSupportedInstanceTypesCommandOutput extends ListSupportedIn

/**
* @public
* <p>A list of the instance types that Amazon EMR supports. You can filter the
* list by Amazon Web Services Region and Amazon EMR release. </p>
* <p>A list of the instance types that Amazon EMR supports. You can filter the list
* by Amazon Web Services Region and Amazon EMR release. </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export interface ModifyInstanceFleetCommandOutput extends __MetadataBearer {}
* succeeds or fails atomically.</p>
* <note>
* <p>The instance fleet configuration is available only in Amazon EMR releases
* 4.8.0 and later, excluding 5.0.x versions.</p>
* 4.8.0 and higher, excluding 5.0.x versions.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface PutAutoTerminationPolicyCommandOutput extends PutAutoTerminatio
* @public
* <note>
* <p>Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and
* later. For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html">Using an
* higher. For more information, see <a href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html">Using an
* auto-termination policy</a>.</p>
* </note>
* <p>Creates or updates an auto-termination policy for an Amazon EMR cluster. An
Expand Down
4 changes: 3 additions & 1 deletion clients/client-emr/src/commands/RunJobFlowCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface RunJobFlowCommandOutput extends RunJobFlowOutput, __MetadataBea
* <p>For long-running clusters, we recommend that you periodically store your results.</p>
* <note>
* <p>The instance fleets configuration is available only in Amazon EMR releases
* 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain
* 4.8.0 and higher, excluding 5.0.x versions. The RunJobFlow request can contain
* InstanceFleets parameters or InstanceGroups parameters, but not both.</p>
* </note>
* @example
Expand Down Expand Up @@ -330,6 +330,8 @@ export interface RunJobFlowCommandOutput extends RunJobFlowOutput, __MetadataBea
* IdleTimeout: Number("long"),
* },
* OSReleaseLabel: "STRING_VALUE",
* EbsRootVolumeIops: Number("int"),
* EbsRootVolumeThroughput: Number("int"),
* };
* const command = new RunJobFlowCommand(input);
* const response = await client.send(command);
Expand Down
Loading

0 comments on commit ce8979f

Please sign in to comment.