diff --git a/generator/ServiceModels/elasticmapreduce/elasticmapreduce-2009-03-31.examples.json b/generator/ServiceModels/elasticmapreduce/elasticmapreduce-2009-03-31.examples.json new file mode 100644 index 000000000000..0ea7e3b0bbe9 --- /dev/null +++ b/generator/ServiceModels/elasticmapreduce/elasticmapreduce-2009-03-31.examples.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/generator/ServiceModels/elasticmapreduce/elasticmapreduce-2009-03-31.normal.json b/generator/ServiceModels/elasticmapreduce/elasticmapreduce-2009-03-31.normal.json index b3ad2f8b77d9..ac8eef9c0fc3 100644 --- a/generator/ServiceModels/elasticmapreduce/elasticmapreduce-2009-03-31.normal.json +++ b/generator/ServiceModels/elasticmapreduce/elasticmapreduce-2009-03-31.normal.json @@ -233,7 +233,7 @@ {"shape":"InternalServerException"}, {"shape":"InvalidRequestException"} ], - "documentation":"

Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc.

" + "documentation":"

Provides information for all active EC2 instances and EC2 instances terminated in the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.

" }, "ListSecurityConfigurations":{ "name":"ListSecurityConfigurations", @@ -524,7 +524,7 @@ "documentation":"

This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.

" } }, - "documentation":"

An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument. For more information, see Using the MapR Distribution for Hadoop. Currently supported values are:

In Amazon EMR releases 4.0 and greater, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application.

" + "documentation":"

An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument. For more information, see Using the MapR Distribution for Hadoop. Currently supported values are:

In Amazon EMR releases 4.x and later, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application.

" }, "ApplicationList":{ "type":"list", @@ -665,8 +665,8 @@ "Reason":{ "shape":"String", "documentation":"

The reason for the failure if the CancelSteps request fails.

" - } - }, + } + }, "documentation":"

Specification of the status of a CancelSteps request. Available only in Amazon EMR version 4.8.0 and later, excluding version 5.0.0.

" }, "CancelStepsInfoList":{ @@ -789,7 +789,7 @@ }, "ReleaseLabel":{ "shape":"String", - "documentation":"

The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel.

" + "documentation":"

The release label for the Amazon EMR release.

" }, "AutoTerminate":{ "shape":"Boolean", @@ -825,7 +825,7 @@ }, "Configurations":{ "shape":"ConfigurationList", - "documentation":"

Amazon EMR releases 4.x or later.

The list of Configurations supplied to the EMR cluster.

" + "documentation":"

Applies only to Amazon EMR releases 4.x and later. The list of Configurations supplied to the EMR cluster.

" }, "SecurityConfiguration":{ "shape":"XmlString", @@ -838,6 +838,18 @@ "ScaleDownBehavior":{ "shape":"ScaleDownBehavior", "documentation":"

The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

" + }, + "CustomAmiId":{ + "shape":"XmlStringMaxLen256", + "documentation":"

Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

" + }, + "EbsRootVolumeSize":{ + "shape":"Integer", + "documentation":"

The size, in GiB, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.

" + }, + "RepoUpgradeOnBoot":{ + "shape":"RepoUpgradeOnBoot", + "documentation":"

Applies only when CustomAmiID is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI.

" } }, "documentation":"

The detailed description of the cluster.

" @@ -875,6 +887,7 @@ "INTERNAL_ERROR", "VALIDATION_ERROR", "INSTANCE_FAILURE", + "INSTANCE_FLEET_TIMEOUT", "BOOTSTRAP_FAILURE", "USER_REQUEST", "STEP_FAILURE", @@ -1248,7 +1261,7 @@ }, "RequestedEc2SubnetIds":{ "shape":"XmlStringMaxLen256List", - "documentation":"

Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one or more Amazon EC2 subnets in which to launch EC2 cluster instances. Amazon EMR chooses the EC2 subnet with the best performance and cost characteristics from among the list of RequestedEc2SubnetIds and launches all cluster instances within that subnet. If this value is not specified, and the account supports EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses Requested

" + "documentation":"

Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one or more Amazon EC2 subnets in which to launch EC2 cluster instances. Subnets must exist within the same VPC. Amazon EMR chooses the EC2 subnet with the best fit from among the list of RequestedEc2SubnetIds, and then launches all cluster instances within that Subnet. If this value is not specified, and the account and region support EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses RequestedEc2AvailabilityZones instead of this setting. If EC2-Classic is not supported, and no Subnet is specified, Amazon EMR chooses the subnet for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together.

" }, "Ec2AvailabilityZone":{ "shape":"String", @@ -1256,7 +1269,7 @@ }, "RequestedEc2AvailabilityZones":{ "shape":"XmlStringMaxLen256List", - "documentation":"

Applies to clusters configured with the The list of availability zones to choose from. The service will choose the availability zone with the best mix of available capacity and lowest cost to launch the cluster. If you do not specify this value, the cluster is launched in any availability zone that the customer account has access to.

" + "documentation":"

Applies to clusters configured with the instance fleets option. Specifies one or more Availability Zones in which to launch EC2 cluster instances when the EC2-Classic network configuration is supported. Amazon EMR chooses the Availability Zone with the best fit from among the list of RequestedEc2AvailabilityZones, and then launches all cluster instances within that Availability Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together.

" }, "IamInstanceProfile":{ "shape":"String", @@ -2041,7 +2054,7 @@ }, "WeightedCapacity":{ "shape":"WholeNumber", - "documentation":"

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be greater than 0 for core and task instance fleets.

" + "documentation":"

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.

" }, "BidPrice":{ "shape":"XmlStringMaxLen256", @@ -2049,7 +2062,7 @@ }, "BidPriceAsPercentageOfOnDemandPrice":{ "shape":"NonNegativeDouble", - "documentation":"

The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by InstanceType. Expressed as a number between 0 and 1000 (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

" + "documentation":"

The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

" }, "EbsConfiguration":{ "shape":"EbsConfiguration", @@ -2162,7 +2175,7 @@ }, "AmiVersion":{ "shape":"XmlStringMaxLen256", - "documentation":"

The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.

" + "documentation":"

Used only for version 2.x and 3.x of Amazon EMR. The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.

" }, "ExecutionStatusDetail":{ "shape":"JobFlowExecutionStatusDetail", @@ -2811,6 +2824,13 @@ }, "documentation":"

This output indicates the result of removing tags from a resource.

" }, + "RepoUpgradeOnBoot":{ + "type":"string", + "enum":[ + "SECURITY", + "NONE" + ] + }, "ResourceId":{"type":"string"}, "RunJobFlowInput":{ "type":"structure", @@ -2833,11 +2853,11 @@ }, "AmiVersion":{ "shape":"XmlStringMaxLen256", - "documentation":"

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use ReleaseLabel.

The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid:

If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use the JobFlowInstancesConfig HadoopVersion parameter to modify the version of Hadoop from the defaults shown above.

For details about the AMI versions currently supported by Amazon Elastic MapReduce, see AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer Guide.

Previously, the EMR AMI version API parameter options allowed you to use latest for the latest AMI version rather than specify a numerical value. Some regions no longer support this deprecated option as they only have a newer release label version of EMR, which requires you to specify an EMR release label release (EMR 4.x or later).

" + "documentation":"

For Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, the Linux AMI is determined by the ReleaseLabel specified or by CustomAmiID. The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. For details about the AMI versions currently supported in EMR version 3.x and 2.x, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.

If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20), you can use the JobFlowInstancesConfig HadoopVersion parameter to modify the version of Hadoop from the defaults shown above.

Previously, the EMR AMI version API parameter options allowed you to use latest for the latest AMI version rather than specify a numerical value. Some regions no longer support this deprecated option as they only have a newer release label version of EMR, which requires you to specify an EMR release label release (EMR 4.x or later).

" }, "ReleaseLabel":{ "shape":"XmlStringMaxLen256", - "documentation":"

Amazon EMR releases 4.x or later.

The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel.

" + "documentation":"

The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use AmiVersion instead.

" }, "Instances":{ "shape":"JobFlowInstancesConfig", @@ -2853,19 +2873,19 @@ }, "SupportedProducts":{ "shape":"SupportedProductsList", - "documentation":"

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use Applications.

A list of strings that indicates third-party software to use. For more information, see Use Third Party Applications with Amazon EMR. Currently supported values are:

" + "documentation":"

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications.

A list of strings that indicates third-party software to use. For more information, see Use Third Party Applications with Amazon EMR. Currently supported values are:

" }, "NewSupportedProducts":{ "shape":"NewSupportedProductsList", - "documentation":"

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use Applications.

A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. For more information, see \"Launch a Job Flow on the MapR Distribution for Hadoop\" in the Amazon EMR Developer Guide. Supported values are:

" + "documentation":"

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications.

A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. For more information, see \"Launch a Job Flow on the MapR Distribution for Hadoop\" in the Amazon EMR Developer Guide. Supported values are:

" }, "Applications":{ "shape":"ApplicationList", - "documentation":"

Amazon EMR releases 4.x or later.

A list of applications for the cluster. Valid values are: \"Hadoop\", \"Hive\", \"Mahout\", \"Pig\", and \"Spark.\" They are case insensitive.

" + "documentation":"

For Amazon EMR releases 4.0 and later. A list of applications for the cluster. Valid values are: \"Hadoop\", \"Hive\", \"Mahout\", \"Pig\", and \"Spark.\" They are case insensitive.

" }, "Configurations":{ "shape":"ConfigurationList", - "documentation":"

Amazon EMR releases 4.x or later.

The list of configurations supplied for the EMR cluster you are creating.

" + "documentation":"

For Amazon EMR releases 4.0 and later. The list of configurations supplied for the EMR cluster you are creating.

" }, "VisibleToAllUsers":{ "shape":"Boolean", @@ -2894,6 +2914,18 @@ "ScaleDownBehavior":{ "shape":"ScaleDownBehavior", "documentation":"

Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

" + }, + "CustomAmiId":{ + "shape":"XmlStringMaxLen256", + "documentation":"

Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI. If specified, Amazon EMR uses this AMI when it launches cluster EC2 instances. For more information about custom AMIs in Amazon EMR, see Using a Custom AMI in the Amazon EMR Management Guide. If omitted, the cluster uses the base Linux AMI for the ReleaseLabel specified. For Amazon EMR versions 2.x and 3.x, use AmiVersion instead.

For information about creating a custom AMI, see Creating an Amazon EBS-Backed Linux AMI in the Amazon Elastic Compute Cloud User Guide for Linux Instances. For information about finding an AMI ID, see Finding a Linux AMI.

" + }, + "EbsRootVolumeSize":{ + "shape":"Integer", + "documentation":"

The size, in GiB, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.

" + }, + "RepoUpgradeOnBoot":{ + "shape":"RepoUpgradeOnBoot", + "documentation":"

Applies only when CustomAmiID is used. Specifies which updates from the Amazon Linux AMI package repositories to apply automatically when the instance boots using the AMI. If omitted, the default is SECURITY, which indicates that only security updates are applied. If NONE is specified, no updates are applied, and all updates must be applied manually.

" } }, "documentation":"

Input to the RunJobFlow operation.

" @@ -3109,7 +3141,7 @@ }, "TimeoutAction":{ "shape":"SpotProvisioningTimeoutAction", - "documentation":"

The action to take when TargetSpotCapacity has not been fulfilled when the TimeoutDurationMinutes has expired. Spot instances are not uprovisioned within the Spot provisioining timeout. Valid values are TERMINATE_CLUSTER and SWITCH_TO_ON_DEMAND to fulfill the remaining capacity.

" + "documentation":"

The action to take when TargetSpotCapacity has not been fulfilled when the TimeoutDurationMinutes has expired. Spot instances are not uprovisioned within the Spot provisioining timeout. Valid values are TERMINATE_CLUSTER and SWITCH_TO_ON_DEMAND. SWITCH_TO_ON_DEMAND specifies that if no Spot instances are available, On-Demand Instances should be provisioned to fulfill any remaining Spot capacity.

" }, "BlockDurationMinutes":{ "shape":"WholeNumber", diff --git a/sdk/code-analysis/ServiceAnalysis/ElasticMapReduce/Generated/PropertyValueRules.xml b/sdk/code-analysis/ServiceAnalysis/ElasticMapReduce/Generated/PropertyValueRules.xml index 82bd8ed7b917..49fdd914934b 100644 --- a/sdk/code-analysis/ServiceAnalysis/ElasticMapReduce/Generated/PropertyValueRules.xml +++ b/sdk/code-analysis/ServiceAnalysis/ElasticMapReduce/Generated/PropertyValueRules.xml @@ -70,6 +70,11 @@ 0 10280 + + Amazon.ElasticMapReduce.Model.RunJobFlowRequest.CustomAmiId + 0 + 256 + Amazon.ElasticMapReduce.Model.RunJobFlowRequest.JobFlowRole 0 @@ -119,6 +124,11 @@ 0 10280 + + Amazon.ElasticMapReduce.Model.Cluster.CustomAmiId + 0 + 256 + Amazon.ElasticMapReduce.Model.Cluster.SecurityConfiguration 0 diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/Application.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/Application.cs index b5b9c09f45c9..3fd29c40d7cc 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/Application.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/Application.cs @@ -50,7 +50,7 @@ namespace Amazon.ElasticMapReduce.Model /// /// /// - /// In Amazon EMR releases 4.0 and greater, the only accepted parameter is the application + /// In Amazon EMR releases 4.x and later, the only accepted parameter is the application /// name. To pass arguments to applications, you supply a configuration for each application. /// /// diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/Cluster.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/Cluster.cs index 2fa04e02b509..8c5b4e8dc70b 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/Cluster.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/Cluster.cs @@ -36,6 +36,8 @@ public partial class Cluster private string _autoScalingRole; private bool? _autoTerminate; private List _configurations = new List(); + private string _customAmiId; + private int? _ebsRootVolumeSize; private Ec2InstanceAttributes _ec2InstanceAttributes; private string _id; private InstanceCollectionType _instanceCollectionType; @@ -44,6 +46,7 @@ public partial class Cluster private string _name; private int? _normalizedInstanceHours; private string _releaseLabel; + private RepoUpgradeOnBoot _repoUpgradeOnBoot; private string _requestedAmiVersion; private string _runningAmiVersion; private ScaleDownBehavior _scaleDownBehavior; @@ -111,13 +114,10 @@ internal bool IsSetAutoTerminate() } /// - /// Gets and sets the property Configurations. + /// Gets and sets the property Configurations. /// - /// Amazon EMR releases 4.x or later. - /// - /// - /// - /// The list of Configurations supplied to the EMR cluster. + /// Applies only to Amazon EMR releases 4.x and later. The list of Configurations supplied + /// to the EMR cluster. /// /// public List Configurations @@ -132,6 +132,44 @@ internal bool IsSetConfigurations() return this._configurations != null && this._configurations.Count > 0; } + /// + /// Gets and sets the property CustomAmiId. + /// + /// Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed + /// Linux AMI if the cluster uses a custom AMI. + /// + /// + public string CustomAmiId + { + get { return this._customAmiId; } + set { this._customAmiId = value; } + } + + // Check to see if CustomAmiId property is set + internal bool IsSetCustomAmiId() + { + return this._customAmiId != null; + } + + /// + /// Gets and sets the property EbsRootVolumeSize. + /// + /// The size, in GiB, of the EBS root device volume of the Linux AMI that is used for + /// each EC2 instance. Available in Amazon EMR version 4.x and later. + /// + /// + public int EbsRootVolumeSize + { + get { return this._ebsRootVolumeSize.GetValueOrDefault(); } + set { this._ebsRootVolumeSize = value; } + } + + // Check to see if EbsRootVolumeSize property is set + internal bool IsSetEbsRootVolumeSize() + { + return this._ebsRootVolumeSize.HasValue; + } + /// /// Gets and sets the property Ec2InstanceAttributes. /// @@ -273,8 +311,7 @@ internal bool IsSetNormalizedInstanceHours() /// /// Gets and sets the property ReleaseLabel. /// - /// The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use - /// amiVersion instead instead of ReleaseLabel. + /// The release label for the Amazon EMR release. /// /// public string ReleaseLabel @@ -289,6 +326,26 @@ internal bool IsSetReleaseLabel() return this._releaseLabel != null; } + /// + /// Gets and sets the property RepoUpgradeOnBoot. + /// + /// Applies only when CustomAmiID is used. Specifies the type of updates + /// that are applied from the Amazon Linux AMI package repositories when an instance boots + /// using the AMI. + /// + /// + public RepoUpgradeOnBoot RepoUpgradeOnBoot + { + get { return this._repoUpgradeOnBoot; } + set { this._repoUpgradeOnBoot = value; } + } + + // Check to see if RepoUpgradeOnBoot property is set + internal bool IsSetRepoUpgradeOnBoot() + { + return this._repoUpgradeOnBoot != null; + } + /// /// Gets and sets the property RequestedAmiVersion. /// diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/Ec2InstanceAttributes.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/Ec2InstanceAttributes.cs index 75d08428833f..6f912745d5d0 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/Ec2InstanceAttributes.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/Ec2InstanceAttributes.cs @@ -202,10 +202,13 @@ internal bool IsSetIamInstanceProfile() /// /// Gets and sets the property RequestedEc2AvailabilityZones. /// - /// Applies to clusters configured with the The list of availability zones to choose from. - /// The service will choose the availability zone with the best mix of available capacity - /// and lowest cost to launch the cluster. If you do not specify this value, the cluster - /// is launched in any availability zone that the customer account has access to. + /// Applies to clusters configured with the instance fleets option. Specifies one or more + /// Availability Zones in which to launch EC2 cluster instances when the EC2-Classic network + /// configuration is supported. Amazon EMR chooses the Availability Zone with the best + /// fit from among the list of RequestedEc2AvailabilityZones, and then launches + /// all cluster instances within that Availability Zone. If you do not specify this value, + /// Amazon EMR chooses the Availability Zone for you. RequestedEc2SubnetIDs + /// and RequestedEc2AvailabilityZones cannot be specified together. /// /// public List RequestedEc2AvailabilityZones @@ -225,10 +228,14 @@ internal bool IsSetRequestedEc2AvailabilityZones() /// /// Applies to clusters configured with the instance fleets option. Specifies the unique /// identifier of one or more Amazon EC2 subnets in which to launch EC2 cluster instances. - /// Amazon EMR chooses the EC2 subnet with the best performance and cost characteristics - /// from among the list of RequestedEc2SubnetIds and launches all cluster instances within - /// that subnet. If this value is not specified, and the account supports EC2-Classic - /// networks, the cluster launches instances in the EC2-Classic network and uses Requested + /// Subnets must exist within the same VPC. Amazon EMR chooses the EC2 subnet with the + /// best fit from among the list of RequestedEc2SubnetIds, and then launches + /// all cluster instances within that Subnet. If this value is not specified, and the + /// account and region support EC2-Classic networks, the cluster launches instances in + /// the EC2-Classic network and uses RequestedEc2AvailabilityZones instead + /// of this setting. If EC2-Classic is not supported, and no Subnet is specified, Amazon + /// EMR chooses the subnet for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones + /// cannot be specified together. /// /// public List RequestedEc2SubnetIds diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/InstanceTypeConfig.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/InstanceTypeConfig.cs index 3d9f6783fea7..2bac7b94201e 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/InstanceTypeConfig.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/InstanceTypeConfig.cs @@ -73,8 +73,8 @@ internal bool IsSetBidPrice() /// Gets and sets the property BidPriceAsPercentageOfOnDemandPrice. /// /// The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined - /// by InstanceType. Expressed as a number between 0 and 1000 (for example, - /// 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice + /// by InstanceType. Expressed as a number (for example, 20 specifies 20%). + /// If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice /// is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%. /// /// @@ -151,8 +151,8 @@ internal bool IsSetInstanceType() /// /// The number of units that a provisioned instance of this type provides toward fulfilling /// the target capacities defined in InstanceFleetConfig. This value is 1 for a - /// master instance fleet, and must be greater than 0 for core and task instance fleets. - /// + /// master instance fleet, and must be 1 or greater for core and task instance fleets. + /// Defaults to 1 if not specified. /// /// public int WeightedCapacity diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/Internal/MarshallTransformations/ClusterUnmarshaller.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/Internal/MarshallTransformations/ClusterUnmarshaller.cs index 94535dcd1efa..121353d38bb8 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/Internal/MarshallTransformations/ClusterUnmarshaller.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/Internal/MarshallTransformations/ClusterUnmarshaller.cs @@ -88,6 +88,18 @@ public Cluster Unmarshall(JsonUnmarshallerContext context) unmarshalledObject.Configurations = unmarshaller.Unmarshall(context); continue; } + if (context.TestExpression("CustomAmiId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.CustomAmiId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("EbsRootVolumeSize", targetDepth)) + { + var unmarshaller = IntUnmarshaller.Instance; + unmarshalledObject.EbsRootVolumeSize = unmarshaller.Unmarshall(context); + continue; + } if (context.TestExpression("Ec2InstanceAttributes", targetDepth)) { var unmarshaller = Ec2InstanceAttributesUnmarshaller.Instance; @@ -136,6 +148,12 @@ public Cluster Unmarshall(JsonUnmarshallerContext context) unmarshalledObject.ReleaseLabel = unmarshaller.Unmarshall(context); continue; } + if (context.TestExpression("RepoUpgradeOnBoot", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.RepoUpgradeOnBoot = unmarshaller.Unmarshall(context); + continue; + } if (context.TestExpression("RequestedAmiVersion", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/Internal/MarshallTransformations/RunJobFlowRequestMarshaller.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/Internal/MarshallTransformations/RunJobFlowRequestMarshaller.cs index fdac80129fab..abf68aa7cdf6 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/Internal/MarshallTransformations/RunJobFlowRequestMarshaller.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/Internal/MarshallTransformations/RunJobFlowRequestMarshaller.cs @@ -133,6 +133,18 @@ public IRequest Marshall(RunJobFlowRequest publicRequest) context.Writer.WriteArrayEnd(); } + if(publicRequest.IsSetCustomAmiId()) + { + context.Writer.WritePropertyName("CustomAmiId"); + context.Writer.Write(publicRequest.CustomAmiId); + } + + if(publicRequest.IsSetEbsRootVolumeSize()) + { + context.Writer.WritePropertyName("EbsRootVolumeSize"); + context.Writer.Write(publicRequest.EbsRootVolumeSize); + } + if(publicRequest.IsSetInstances()) { context.Writer.WritePropertyName("Instances"); @@ -184,6 +196,12 @@ public IRequest Marshall(RunJobFlowRequest publicRequest) context.Writer.Write(publicRequest.ReleaseLabel); } + if(publicRequest.IsSetRepoUpgradeOnBoot()) + { + context.Writer.WritePropertyName("RepoUpgradeOnBoot"); + context.Writer.Write(publicRequest.RepoUpgradeOnBoot); + } + if(publicRequest.IsSetScaleDownBehavior()) { context.Writer.WritePropertyName("ScaleDownBehavior"); diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/JobFlowDetail.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/JobFlowDetail.cs index 0a552ebd1a67..2a1c1a4328ed 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/JobFlowDetail.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/JobFlowDetail.cs @@ -70,8 +70,9 @@ public JobFlowDetail(string jobFlowId, string name, JobFlowExecutionStatusDetail /// /// Gets and sets the property AmiVersion. /// - /// The version of the AMI used to initialize Amazon EC2 instances in the job flow. For - /// a list of AMI versions currently supported by Amazon EMR, see AMI + /// Used only for version 2.x and 3.x of Amazon EMR. The version of the AMI used to initialize + /// Amazon EC2 instances in the job flow. For a list of AMI versions supported by Amazon + /// EMR, see AMI /// Versions Supported in EMR in the Amazon EMR Developer Guide. /// /// diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/ListInstancesRequest.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/ListInstancesRequest.cs index 97e23c6d83b4..ee5fc36ce18f 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/ListInstancesRequest.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/ListInstancesRequest.cs @@ -29,10 +29,9 @@ namespace Amazon.ElasticMapReduce.Model { /// /// Container for the parameters to the ListInstances operation. - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// public partial class ListInstancesRequest : AmazonElasticMapReduceRequest { diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/RunJobFlowRequest.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/RunJobFlowRequest.cs index db60d441467b..c99c73fefa0f 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/RunJobFlowRequest.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/RunJobFlowRequest.cs @@ -75,12 +75,15 @@ public partial class RunJobFlowRequest : AmazonElasticMapReduceRequest private string _autoScalingRole; private List _bootstrapActions = new List(); private List _configurations = new List(); + private string _customAmiId; + private int? _ebsRootVolumeSize; private JobFlowInstancesConfig _instances; private string _jobFlowRole; private string _logUri; private string _name; private List _newSupportedProducts = new List(); private string _releaseLabel; + private RepoUpgradeOnBoot _repoUpgradeOnBoot; private ScaleDownBehavior _scaleDownBehavior; private string _securityConfiguration; private string _serviceRole; @@ -124,33 +127,21 @@ internal bool IsSetAdditionalInfo() } /// - /// Gets and sets the property AmiVersion. - /// - /// For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use - /// ReleaseLabel. - /// - /// + /// Gets and sets the property AmiVersion. /// + /// For Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, the + /// Linux AMI is determined by the ReleaseLabel specified or by CustomAmiID. /// The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances - /// in the job flow. The following values are valid: + /// in the job flow. For details about the AMI versions currently supported in EMR version + /// 3.x and 2.x, see AMI + /// Versions Supported in EMR in the Amazon EMR Developer Guide. /// - ///
  • - /// - /// The version number of the AMI to use, for example, "2.0." - /// - ///
+ /// /// /// If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both - /// Hadoop 0.18 and 0.20) you can use the JobFlowInstancesConfig HadoopVersion + /// Hadoop 0.18 and 0.20), you can use the JobFlowInstancesConfig HadoopVersion /// parameter to modify the version of Hadoop from the defaults shown above. /// - /// - /// - /// For details about the AMI versions currently supported by Amazon Elastic MapReduce, - /// see AMI - /// Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer - /// Guide. - /// /// /// /// Previously, the EMR AMI version API parameter options allowed you to use latest for @@ -173,14 +164,10 @@ internal bool IsSetAmiVersion() } /// - /// Gets and sets the property Applications. - /// - /// Amazon EMR releases 4.x or later. - /// - /// + /// Gets and sets the property Applications. /// - /// A list of applications for the cluster. Valid values are: "Hadoop", "Hive", "Mahout", - /// "Pig", and "Spark." They are case insensitive. + /// For Amazon EMR releases 4.0 and later. A list of applications for the cluster. Valid + /// values are: "Hadoop", "Hive", "Mahout", "Pig", and "Spark." They are case insensitive. /// /// public List Applications @@ -234,13 +221,10 @@ internal bool IsSetBootstrapActions() } /// - /// Gets and sets the property Configurations. + /// Gets and sets the property Configurations. /// - /// Amazon EMR releases 4.x or later. - /// - /// - /// - /// The list of configurations supplied for the EMR cluster you are creating. + /// For Amazon EMR releases 4.0 and later. The list of configurations supplied for the + /// EMR cluster you are creating. /// /// public List Configurations @@ -255,6 +239,55 @@ internal bool IsSetConfigurations() return this._configurations != null && this._configurations.Count > 0; } + /// + /// Gets and sets the property CustomAmiId. + /// + /// Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed + /// Linux AMI. If specified, Amazon EMR uses this AMI when it launches cluster EC2 instances. + /// For more information about custom AMIs in Amazon EMR, see Using + /// a Custom AMI in the Amazon EMR Management Guide. If omitted, the cluster + /// uses the base Linux AMI for the ReleaseLabel specified. For Amazon EMR + /// versions 2.x and 3.x, use AmiVersion instead. + /// + /// + /// + /// For information about creating a custom AMI, see Creating + /// an Amazon EBS-Backed Linux AMI in the Amazon Elastic Compute Cloud User Guide + /// for Linux Instances. For information about finding an AMI ID, see Finding + /// a Linux AMI. + /// + /// + public string CustomAmiId + { + get { return this._customAmiId; } + set { this._customAmiId = value; } + } + + // Check to see if CustomAmiId property is set + internal bool IsSetCustomAmiId() + { + return this._customAmiId != null; + } + + /// + /// Gets and sets the property EbsRootVolumeSize. + /// + /// The size, in GiB, of the EBS root device volume of the Linux AMI that is used for + /// each EC2 instance. Available in Amazon EMR version 4.x and later. + /// + /// + public int EbsRootVolumeSize + { + get { return this._ebsRootVolumeSize.GetValueOrDefault(); } + set { this._ebsRootVolumeSize = value; } + } + + // Check to see if EbsRootVolumeSize property is set + internal bool IsSetEbsRootVolumeSize() + { + return this._ebsRootVolumeSize.HasValue; + } + /// /// Gets and sets the property Instances. /// @@ -334,8 +367,7 @@ internal bool IsSetName() /// /// Gets and sets the property NewSupportedProducts. /// - /// For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use - /// Applications. + /// For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications. /// /// /// @@ -393,14 +425,10 @@ internal bool IsSetNewSupportedProducts() } /// - /// Gets and sets the property ReleaseLabel. + /// Gets and sets the property ReleaseLabel. /// - /// Amazon EMR releases 4.x or later. - /// - /// - /// - /// The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use - /// amiVersion instead instead of ReleaseLabel. + /// The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use + /// AmiVersion instead. /// /// public string ReleaseLabel @@ -415,6 +443,28 @@ internal bool IsSetReleaseLabel() return this._releaseLabel != null; } + /// + /// Gets and sets the property RepoUpgradeOnBoot. + /// + /// Applies only when CustomAmiID is used. Specifies which updates from the + /// Amazon Linux AMI package repositories to apply automatically when the instance boots + /// using the AMI. If omitted, the default is SECURITY, which indicates that + /// only security updates are applied. If NONE is specified, no updates are + /// applied, and all updates must be applied manually. + /// + /// + public RepoUpgradeOnBoot RepoUpgradeOnBoot + { + get { return this._repoUpgradeOnBoot; } + set { this._repoUpgradeOnBoot = value; } + } + + // Check to see if RepoUpgradeOnBoot property is set + internal bool IsSetRepoUpgradeOnBoot() + { + return this._repoUpgradeOnBoot != null; + } + /// /// Gets and sets the property ScaleDownBehavior. /// @@ -501,8 +551,7 @@ internal bool IsSetSteps() /// /// Gets and sets the property SupportedProducts. /// - /// For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use - /// Applications. + /// For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications. /// /// /// diff --git a/sdk/src/Services/ElasticMapReduce/Generated/Model/SpotProvisioningSpecification.cs b/sdk/src/Services/ElasticMapReduce/Generated/Model/SpotProvisioningSpecification.cs index 662b5807d404..02096d579144 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/Model/SpotProvisioningSpecification.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/Model/SpotProvisioningSpecification.cs @@ -74,7 +74,9 @@ internal bool IsSetBlockDurationMinutes() /// The action to take when TargetSpotCapacity has not been fulfilled when /// the TimeoutDurationMinutes has expired. Spot instances are not uprovisioned /// within the Spot provisioining timeout. Valid values are TERMINATE_CLUSTER - /// and SWITCH_TO_ON_DEMAND to fulfill the remaining capacity. + /// and SWITCH_TO_ON_DEMAND. SWITCH_TO_ON_DEMAND specifies that if no Spot + /// instances are available, On-Demand Instances should be provisioned to fulfill any + /// remaining Spot capacity. /// /// public SpotProvisioningTimeoutAction TimeoutAction diff --git a/sdk/src/Services/ElasticMapReduce/Generated/ServiceEnumerations.cs b/sdk/src/Services/ElasticMapReduce/Generated/ServiceEnumerations.cs index 0335730826de..5873f3b18f5b 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/ServiceEnumerations.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/ServiceEnumerations.cs @@ -395,6 +395,10 @@ public class ClusterStateChangeReasonCode : ConstantClass /// public static readonly ClusterStateChangeReasonCode INSTANCE_FAILURE = new ClusterStateChangeReasonCode("INSTANCE_FAILURE"); /// + /// Constant INSTANCE_FLEET_TIMEOUT for ClusterStateChangeReasonCode + /// + public static readonly ClusterStateChangeReasonCode INSTANCE_FLEET_TIMEOUT = new ClusterStateChangeReasonCode("INSTANCE_FLEET_TIMEOUT"); + /// /// Constant INTERNAL_ERROR for ClusterStateChangeReasonCode /// public static readonly ClusterStateChangeReasonCode INTERNAL_ERROR = new ClusterStateChangeReasonCode("INTERNAL_ERROR"); @@ -1232,6 +1236,56 @@ public static implicit operator MarketType(string value) } + /// + /// Constants used for properties of type RepoUpgradeOnBoot. + /// + public class RepoUpgradeOnBoot : ConstantClass + { + + /// + /// Constant NONE for RepoUpgradeOnBoot + /// + public static readonly RepoUpgradeOnBoot NONE = new RepoUpgradeOnBoot("NONE"); + /// + /// Constant SECURITY for RepoUpgradeOnBoot + /// + public static readonly RepoUpgradeOnBoot SECURITY = new RepoUpgradeOnBoot("SECURITY"); + + /// + /// This constant constructor does not need to be called if the constant + /// you are attempting to use is already defined as a static instance of + /// this class. + /// This constructor should be used to construct constants that are not + /// defined as statics, for instance if attempting to use a feature that is + /// newer than the current version of the SDK. + /// + public RepoUpgradeOnBoot(string value) + : base(value) + { + } + + /// + /// Finds the constant for the unique value. + /// + /// The unique value for the constant + /// The constant for the unique value + public static RepoUpgradeOnBoot FindValue(string value) + { + return FindValue(value); + } + + /// + /// Utility method to convert strings to the constant class. + /// + /// The string value to convert to the constant class. + /// + public static implicit operator RepoUpgradeOnBoot(string value) + { + return FindValue(value); + } + } + + /// /// Constants used for properties of type ScaleDownBehavior. /// diff --git a/sdk/src/Services/ElasticMapReduce/Generated/_bcl35/AmazonElasticMapReduceClient.cs b/sdk/src/Services/ElasticMapReduce/Generated/_bcl35/AmazonElasticMapReduceClient.cs index 9133aac629df..f12067c75fe0 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/_bcl35/AmazonElasticMapReduceClient.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/_bcl35/AmazonElasticMapReduceClient.cs @@ -1340,10 +1340,9 @@ public ListInstanceGroupsResponse EndListInstanceGroups(IAsyncResult asyncResul #region ListInstances /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// /// The response from the ListInstances service method, as returned by ElasticMapReduce. @@ -1360,10 +1359,9 @@ public ListInstancesResponse ListInstances() } /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// Container for the necessary parameters to execute the ListInstances service method. /// diff --git a/sdk/src/Services/ElasticMapReduce/Generated/_bcl35/IAmazonElasticMapReduce.cs b/sdk/src/Services/ElasticMapReduce/Generated/_bcl35/IAmazonElasticMapReduce.cs index a0bfb52fa499..97cb8baad559 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/_bcl35/IAmazonElasticMapReduce.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/_bcl35/IAmazonElasticMapReduce.cs @@ -940,10 +940,9 @@ public partial interface IAmazonElasticMapReduce : IAmazonService, IDisposable /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// /// The response from the ListInstances service method, as returned by ElasticMapReduce. @@ -957,10 +956,9 @@ public partial interface IAmazonElasticMapReduce : IAmazonService, IDisposable ListInstancesResponse ListInstances(); /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// Container for the necessary parameters to execute the ListInstances service method. /// diff --git a/sdk/src/Services/ElasticMapReduce/Generated/_bcl45/AmazonElasticMapReduceClient.cs b/sdk/src/Services/ElasticMapReduce/Generated/_bcl45/AmazonElasticMapReduceClient.cs index b14c3e02a305..a8e77ca9dd99 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/_bcl45/AmazonElasticMapReduceClient.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/_bcl45/AmazonElasticMapReduceClient.cs @@ -1295,10 +1295,9 @@ public ListInstanceGroupsResponse ListInstanceGroups(ListInstanceGroupsRequest r /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// /// The response from the ListInstances service method, as returned by ElasticMapReduce. @@ -1316,10 +1315,9 @@ public ListInstancesResponse ListInstances() /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// Container for the necessary parameters to execute the ListInstances service method. /// @@ -1341,10 +1339,9 @@ public ListInstancesResponse ListInstances(ListInstancesRequest request) /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. diff --git a/sdk/src/Services/ElasticMapReduce/Generated/_bcl45/IAmazonElasticMapReduce.cs b/sdk/src/Services/ElasticMapReduce/Generated/_bcl45/IAmazonElasticMapReduce.cs index 958b7a3da018..36b03ade6fec 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/_bcl45/IAmazonElasticMapReduce.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/_bcl45/IAmazonElasticMapReduce.cs @@ -897,10 +897,9 @@ public partial interface IAmazonElasticMapReduce : IAmazonService, IDisposable /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// /// The response from the ListInstances service method, as returned by ElasticMapReduce. @@ -915,10 +914,9 @@ public partial interface IAmazonElasticMapReduce : IAmazonService, IDisposable /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// Container for the necessary parameters to execute the ListInstances service method. /// @@ -934,10 +932,9 @@ public partial interface IAmazonElasticMapReduce : IAmazonService, IDisposable /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. diff --git a/sdk/src/Services/ElasticMapReduce/Generated/_mobile/AmazonElasticMapReduceClient.cs b/sdk/src/Services/ElasticMapReduce/Generated/_mobile/AmazonElasticMapReduceClient.cs index 9cfa81f70c3d..81ffd9bd3a59 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/_mobile/AmazonElasticMapReduceClient.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/_mobile/AmazonElasticMapReduceClient.cs @@ -919,10 +919,9 @@ internal ListInstancesResponse ListInstances(ListInstancesRequest request) /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. diff --git a/sdk/src/Services/ElasticMapReduce/Generated/_mobile/IAmazonElasticMapReduce.cs b/sdk/src/Services/ElasticMapReduce/Generated/_mobile/IAmazonElasticMapReduce.cs index 66c924beea9f..9b963da43aab 100644 --- a/sdk/src/Services/ElasticMapReduce/Generated/_mobile/IAmazonElasticMapReduce.cs +++ b/sdk/src/Services/ElasticMapReduce/Generated/_mobile/IAmazonElasticMapReduce.cs @@ -444,10 +444,9 @@ public partial interface IAmazonElasticMapReduce : IAmazonService, IDisposable /// - /// Provides information about the cluster instances that Amazon EMR provisions on behalf - /// of a user when it creates the cluster. For example, this operation indicates when - /// the EC2 instances reach the Ready state, when instances become available to Amazon - /// EMR to use for jobs, and the IP addresses for cluster instances, etc. + /// Provides information for all active EC2 instances and EC2 instances terminated in + /// the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following + /// states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.