Skip to content

Commit

Permalink
Release v1.49.11 (2023-12-27) (#5127)
Browse files Browse the repository at this point in the history
Release v1.49.11 (2023-12-27)
===

### Service Client Updates
* `service/elasticmapreduce`: Updates service API and documentation
  * Add support for customers to modify cluster attribute auto-terminate post cluster launch
  • Loading branch information
aws-sdk-go-automation authored Dec 27, 2023
1 parent 8fac740 commit 87a19cc
Show file tree
Hide file tree
Showing 8 changed files with 318 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Release v1.49.11 (2023-12-27)
===

### Service Client Updates
* `service/elasticmapreduce`: Updates service API and documentation
* Add support for customers to modify cluster attribute auto-terminate post cluster launch

Release v1.49.10 (2023-12-26)
===

Expand Down
60 changes: 60 additions & 0 deletions aws/endpoints/defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aws/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"

// SDKVersion is the version of this SDK
const SDKVersion = "1.49.10"
const SDKVersion = "1.49.11"
22 changes: 22 additions & 0 deletions models/apis/elasticmapreduce/2009-03-31/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,17 @@
{"shape":"InternalServerError"}
]
},
"SetKeepJobFlowAliveWhenNoSteps":{
"name":"SetKeepJobFlowAliveWhenNoSteps",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"SetKeepJobFlowAliveWhenNoStepsInput"},
"errors":[
{"shape":"InternalServerError"}
]
},
"SetTerminationProtection":{
"name":"SetTerminationProtection",
"http":{
Expand Down Expand Up @@ -2851,6 +2862,17 @@
"type":"list",
"member":{"shape":"SessionMappingSummary"}
},
"SetKeepJobFlowAliveWhenNoStepsInput":{
"type":"structure",
"required":[
"JobFlowIds",
"KeepJobFlowAliveWhenNoSteps"
],
"members":{
"JobFlowIds":{"shape":"XmlStringList"},
"KeepJobFlowAliveWhenNoSteps":{"shape":"Boolean"}
}
},
"SetTerminationProtectionInput":{
"type":"structure",
"required":[
Expand Down
8 changes: 8 additions & 0 deletions models/apis/elasticmapreduce/2009-03-31/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"RemoveManagedScalingPolicy": "<p> Removes a managed scaling policy from a specified Amazon EMR cluster. </p>",
"RemoveTags": "<p>Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. Tags make it easier to associate resources in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see <a href=\"https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html\">Tag Clusters</a>. </p> <p>The following example removes the stack tag with value Prod from a cluster:</p>",
"RunJobFlow": "<p>RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the <a>JobFlowInstancesConfig</a> <code>KeepJobFlowAliveWhenNoSteps</code> parameter is set to <code>TRUE</code>, the cluster transitions to the WAITING state rather than shutting down after the steps have completed. </p> <p>For additional protection, you can set the <a>JobFlowInstancesConfig</a> <code>TerminationProtected</code> parameter to <code>TRUE</code> to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error.</p> <p>A maximum of 256 steps are allowed in each job flow.</p> <p>If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop.</p> <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 InstanceFleets parameters or InstanceGroups parameters, but not both.</p> </note>",
"SetKeepJobFlowAliveWhenNoSteps": "<p>You can use the <code>SetKeepJobFlowAliveWhenNoSteps</code> to configure a cluster (job flow) to terminate after the step execution, i.e., all your steps are executed. If you want a transient cluster that shuts down after the last of the current executing steps are completed, you can configure <code>SetKeepJobFlowAliveWhenNoSteps</code> to false. If you want a long running cluster, configure <code>SetKeepJobFlowAliveWhenNoSteps</code> to true.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html\">Managing Cluster Termination</a> in the <i>Amazon EMR Management Guide</i>.</p>",
"SetTerminationProtection": "<p>SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling <code>SetTerminationProtection</code> on a cluster is similar to calling the Amazon EC2 <code>DisableAPITermination</code> API on all Amazon EC2 instances in a cluster.</p> <p> <code>SetTerminationProtection</code> is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage.</p> <p> To terminate a cluster that has been locked by setting <code>SetTerminationProtection</code> to <code>true</code>, you must first unlock the job flow by a subsequent call to <code>SetTerminationProtection</code> in which you set the value to <code>false</code>. </p> <p> For more information, see<a href=\"https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html\">Managing Cluster Termination</a> in the <i>Amazon EMR Management Guide</i>. </p>",
"SetVisibleToAllUsers": "<important> <p>The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see <a href=\"https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-access-IAM.html\">Identity and Access Management for Amazon EMR</a>. </p> </important> <p>Sets the <a>Cluster$VisibleToAllUsers</a> value for an Amazon EMR cluster. When <code>true</code>, IAM principals in the Amazon Web Services account can perform Amazon 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 Amazon EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals.</p> <p>This action works on running clusters. When you create a cluster, use the <a>RunJobFlowInput$VisibleToAllUsers</a> parameter.</p> <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 Amazon EMR Cluster VisibleToAllUsers Setting</a> in the <i>Amazon EMR Management Guide</i>.</p>",
"StartNotebookExecution": "<p>Starts a notebook execution.</p>",
Expand Down Expand Up @@ -221,6 +222,7 @@
"JobFlowInstancesDetail$KeepJobFlowAliveWhenNoSteps": "<p>Specifies whether the cluster should remain available after completing all steps.</p>",
"JobFlowInstancesDetail$TerminationProtected": "<p>Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.</p>",
"RunJobFlowInput$VisibleToAllUsers": "<important> <p>The VisibleToAllUsers parameter is no longer supported. By default, the value is set to <code>true</code>. Setting it to <code>false</code> now has no effect.</p> </important> <p>Set this value to <code>true</code> so that IAM principals in the Amazon Web Services account associated with the cluster can perform Amazon EMR actions on the cluster that their IAM policies allow. This value defaults to <code>true</code> for clusters created using the Amazon EMR API or the CLI <a href=\"https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html\">create-cluster</a> command.</p> <p>When set to <code>false</code>, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. 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 Amazon EMR cluster VisibleToAllUsers setting</a> in the <i>Amazon EMR Management Guide</i>.</p>",
"SetKeepJobFlowAliveWhenNoStepsInput$KeepJobFlowAliveWhenNoSteps": "<p>A Boolean that indicates whether to terminate the cluster after all steps are executed.</p>",
"SetTerminationProtectionInput$TerminationProtected": "<p>A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.</p>",
"SetVisibleToAllUsersInput$VisibleToAllUsers": "<p>A value of <code>true</code> indicates that an IAM principal in the Amazon Web Services account can perform Amazon EMR actions on the cluster that the IAM policies attached to the principal allow. A value of <code>false</code> indicates that only the IAM principal that created the cluster and the Amazon Web Services root user can perform Amazon EMR actions on the cluster.</p>",
"SupportedInstanceType$Is64BitsOnly": "<p>Indicates whether the <code>SupportedInstanceType</code> only supports 64-bit architecture.</p>",
Expand Down Expand Up @@ -1838,6 +1840,11 @@
"ListStudioSessionMappingsOutput$SessionMappings": "<p>A list of session mapping summary objects. Each object includes session mapping details such as creation time, identity type (user or group), and Amazon EMR Studio ID.</p>"
}
},
"SetKeepJobFlowAliveWhenNoStepsInput": {
"base": null,
"refs": {
}
},
"SetTerminationProtectionInput": {
"base": "<p> The input argument to the <a>TerminationProtection</a> operation. </p>",
"refs": {
Expand Down Expand Up @@ -2345,6 +2352,7 @@
"HadoopJarStepConfig$Args": "<p>A list of command line arguments passed to the JAR file's main function when executed.</p>",
"ListStepsInput$StepIds": "<p>The filter to limit the step list based on the identifier of the steps. You can specify a maximum of ten Step IDs. The character constraint applies to the overall length of the array.</p>",
"ScriptBootstrapActionConfig$Args": "<p>A list of command line arguments to pass to the bootstrap action script.</p>",
"SetKeepJobFlowAliveWhenNoStepsInput$JobFlowIds": "<p>A list of strings that uniquely identify the clusters to protect. This identifier is returned by <a href=\"https://docs.aws.amazon.com/emr/latest/APIReference/API_RunJobFlow.html\">RunJobFlow</a> and can also be obtained from <a href=\"https://docs.aws.amazon.com/emr/latest/APIReference/API_DescribeJobFlows.html\">DescribeJobFlows</a>.</p>",
"SetTerminationProtectionInput$JobFlowIds": "<p> A list of strings that uniquely identify the clusters to protect. This identifier is returned by <a>RunJobFlow</a> and can also be obtained from <a>DescribeJobFlows</a> . </p>",
"SetVisibleToAllUsersInput$JobFlowIds": "<p>The unique identifier of the job flow (cluster).</p>",
"SupportedProductConfig$Args": "<p>The list of user-supplied arguments.</p>",
Expand Down
44 changes: 43 additions & 1 deletion models/endpoints/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -5467,7 +5467,12 @@
"tags" : [ "fips" ]
} ]
},
"ca-west-1" : { },
"ca-west-1" : {
"variants" : [ {
"hostname" : "ds-fips.ca-west-1.amazonaws.com",
"tags" : [ "fips" ]
} ]
},
"eu-central-1" : { },
"eu-central-2" : { },
"eu-north-1" : { },
Expand All @@ -5483,6 +5488,13 @@
"deprecated" : true,
"hostname" : "ds-fips.ca-central-1.amazonaws.com"
},
"fips-ca-west-1" : {
"credentialScope" : {
"region" : "ca-west-1"
},
"deprecated" : true,
"hostname" : "ds-fips.ca-west-1.amazonaws.com"
},
"fips-us-east-1" : {
"credentialScope" : {
"region" : "us-east-1"
Expand Down Expand Up @@ -13746,6 +13758,19 @@
"deprecated" : true,
"hostname" : "rds-fips.ca-central-1.amazonaws.com"
},
"ca-west-1" : {
"variants" : [ {
"hostname" : "rds-fips.ca-west-1.amazonaws.com",
"tags" : [ "fips" ]
} ]
},
"ca-west-1-fips" : {
"credentialScope" : {
"region" : "ca-west-1"
},
"deprecated" : true,
"hostname" : "rds-fips.ca-west-1.amazonaws.com"
},
"eu-central-1" : { },
"eu-central-2" : { },
"eu-north-1" : { },
Expand All @@ -13764,6 +13789,13 @@
"deprecated" : true,
"hostname" : "rds-fips.ca-central-1.amazonaws.com"
},
"rds-fips.ca-west-1" : {
"credentialScope" : {
"region" : "ca-west-1"
},
"deprecated" : true,
"hostname" : "rds-fips.ca-west-1.amazonaws.com"
},
"rds-fips.us-east-1" : {
"credentialScope" : {
"region" : "us-east-1"
Expand Down Expand Up @@ -13802,6 +13834,16 @@
"tags" : [ "fips" ]
} ]
},
"rds.ca-west-1" : {
"credentialScope" : {
"region" : "ca-west-1"
},
"deprecated" : true,
"variants" : [ {
"hostname" : "rds-fips.ca-west-1.amazonaws.com",
"tags" : [ "fips" ]
} ]
},
"rds.us-east-1" : {
"credentialScope" : {
"region" : "us-east-1"
Expand Down
Loading

0 comments on commit 87a19cc

Please sign in to comment.