Skip to content

Commit

Permalink
Release v1.37.26 (2021-03-08) (#3813)
Browse files Browse the repository at this point in the history
Release v1.37.26 (2021-03-08)
===

### Service Client Updates
* `service/autoscaling`: Updates service documentation
  * Documentation updates for autoscaling for capacity-optimized-prioritized SpotAllocationStrategy
* `service/elasticmapreduce`: Updates service API and documentation
  * Amazon EMR customers can now specify how EC2 On-Demand Capacity Reservations are used in their EMR clusters with instance fleets using allocation strategy.
* `service/kinesis-video-archived-media`: Updates service API and documentation
* `service/lambda`: Updates service API and documentation
  * Documentation updates for Lambda. Constraint updates to AddLayerVersionPermission's Action and OrganizationId parameters, and AddPermission's Principal and SourceAccount parameters.
* `service/s3`: Updates service documentation and examples
  * Amazon S3 Documentation updates
* `service/s3control`: Updates service API and documentation
  * Documentation updates for Amazon S3
  • Loading branch information
aws-sdk-go-automation committed Mar 8, 2021
1 parent 81960d7 commit 57e8a37
Show file tree
Hide file tree
Showing 24 changed files with 1,178 additions and 1,027 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
Release v1.37.26 (2021-03-08)
===

### Service Client Updates
* `service/autoscaling`: Updates service documentation
* Documentation updates for autoscaling for capacity-optimized-prioritized SpotAllocationStrategy
* `service/elasticmapreduce`: Updates service API and documentation
* Amazon EMR customers can now specify how EC2 On-Demand Capacity Reservations are used in their EMR clusters with instance fleets using allocation strategy.
* `service/kinesis-video-archived-media`: Updates service API and documentation
* `service/lambda`: Updates service API and documentation
* Documentation updates for Lambda. Constraint updates to AddLayerVersionPermission's Action and OrganizationId parameters, and AddPermission's Principal and SourceAccount parameters.
* `service/s3`: Updates service documentation and examples
* Amazon S3 Documentation updates
* `service/s3control`: Updates service API and documentation
* Documentation updates for Amazon S3

Release v1.37.25 (2021-03-05)
===

Expand Down
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.37.25"
const SDKVersion = "1.37.26"
16 changes: 8 additions & 8 deletions models/apis/autoscaling/2011-01-01/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@
"InstancesDistribution": {
"base": "<p>Describes an instances distribution for an Auto Scaling group with a <a>MixedInstancesPolicy</a>.</p> <p>The instances distribution specifies the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities.</p> <p>When you update <code>SpotAllocationStrategy</code>, <code>SpotInstancePools</code>, or <code>SpotMaxPrice</code>, this update action does not deploy any changes across the running Amazon EC2 instances in the group. Your existing Spot Instances continue to run as long as the maximum price for those instances is higher than the current Spot price. When scale out occurs, Amazon EC2 Auto Scaling launches instances based on the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.</p>",
"refs": {
"MixedInstancesPolicy$InstancesDistribution": "<p>Specifies the instances distribution. If not provided, the value for each parameter in <code>InstancesDistribution</code> uses a default value.</p>"
"MixedInstancesPolicy$InstancesDistribution": "<p>Specifies the instances distribution. If not provided, the value for each property in <code>InstancesDistribution</code> uses a default value.</p>"
}
},
"InstancesToUpdate": {
Expand Down Expand Up @@ -864,7 +864,7 @@
}
},
"LaunchTemplate": {
"base": "<p>Describes a launch template and overrides. </p> <p>You specify these parameters as part of a mixed instances policy. </p> <p>When you update the launch template or overrides, existing Amazon EC2 instances continue to run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.</p>",
"base": "<p>Describes a launch template and overrides. </p> <p>You specify these properties as part of a mixed instances policy. </p> <p>When you update the launch template or overrides, existing Amazon EC2 instances continue to run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.</p>",
"refs": {
"MixedInstancesPolicy$LaunchTemplate": "<p>Specifies the launch template to use and optionally the instance types (overrides) that are used to provision EC2 instances to fulfill On-Demand and Spot capacities. Required when creating a mixed instances policy.</p>"
}
Expand Down Expand Up @@ -1143,11 +1143,11 @@
}
},
"MixedInstancesPolicy": {
"base": "<p>Describes a mixed instances policy for an Auto Scaling group. With mixed instances, your Auto Scaling group can provision a combination of On-Demand Instances and Spot Instances across multiple instance types. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p> <p>You can create a mixed instances policy for a new Auto Scaling group, or you can create it for an existing group by updating the group to specify <code>MixedInstancesPolicy</code> as the top-level parameter instead of a launch configuration or launch template.</p>",
"base": "<p>Describes a mixed instances policy for an Auto Scaling group. With mixed instances, your Auto Scaling group can provision a combination of On-Demand Instances and Spot Instances across multiple instance types. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p> <p>You can create a mixed instances policy for a new Auto Scaling group, or you can create it for an existing group by updating the group to specify <code>MixedInstancesPolicy</code> as the top-level property instead of a launch configuration or launch template.</p>",
"refs": {
"AutoScalingGroup$MixedInstancesPolicy": "<p>The mixed instances policy for the group.</p>",
"CreateAutoScalingGroupType$MixedInstancesPolicy": "<p>An embedded object that specifies a mixed instances policy. The required parameters must be specified. If optional parameters are unspecified, their default values are used.</p> <p>The policy includes parameters that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the parameters that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>",
"UpdateAutoScalingGroupType$MixedInstancesPolicy": "<p>An embedded object that specifies a mixed instances policy. When you make changes to an existing policy, all optional parameters are left unchanged if not specified. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
"CreateAutoScalingGroupType$MixedInstancesPolicy": "<p>An embedded object that specifies a mixed instances policy. The required properties must be specified. If optional properties are unspecified, their default values are used.</p> <p>The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>",
"UpdateAutoScalingGroupType$MixedInstancesPolicy": "<p>An embedded object that specifies a mixed instances policy. When you make changes to an existing policy, all optional properties are left unchanged if not specified. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html\">Auto Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
}
},
"MonitoringEnabled": {
Expand Down Expand Up @@ -1209,7 +1209,7 @@
"Overrides": {
"base": null,
"refs": {
"LaunchTemplate$Overrides": "<p>Any parameters that you specify override the same parameters in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance. </p>"
"LaunchTemplate$Overrides": "<p>Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance. </p>"
}
},
"PoliciesType": {
Expand Down Expand Up @@ -1672,8 +1672,8 @@
"DescribeTagsType$NextToken": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>",
"FailedScheduledUpdateGroupActionRequest$ErrorMessage": "<p>The error message accompanying the error code.</p>",
"Filter$Name": "<p>The name of the filter. The valid values are: <code>auto-scaling-group</code>, <code>key</code>, <code>value</code>, and <code>propagate-at-launch</code>.</p>",
"InstancesDistribution$OnDemandAllocationStrategy": "<p>Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid value is <code>prioritized</code>, which is also the default value. This strategy uses the order of instance types in the overrides to define the launch priority of each instance type. The first instance type in the array is prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled using your highest priority instance, then the Auto Scaling groups launches the remaining capacity using the second priority instance type, and so on.</p>",
"InstancesDistribution$SpotAllocationStrategy": "<p>Indicates how to allocate instances across Spot Instance pools. If the allocation strategy is <code>capacity-optimized</code> (recommended), the Auto Scaling group launches instances using Spot pools that are optimally chosen based on the available Spot capacity. If the allocation strategy is <code>lowest-price</code>, the Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify. Defaults to <code>lowest-price</code> if not specified.</p>",
"InstancesDistribution$OnDemandAllocationStrategy": "<p>Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid value is <code>prioritized</code>, which is also the default value. This strategy uses the order of instance types in the <code>LaunchTemplateOverrides</code> to define the launch priority of each instance type. The first instance type in the array is prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled using your highest priority instance, then the Auto Scaling groups launches the remaining capacity using the second priority instance type, and so on.</p>",
"InstancesDistribution$SpotAllocationStrategy": "<p>Indicates how to allocate instances across Spot Instance pools. </p> <p>If the allocation strategy is <code>lowest-price</code>, the Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify. Defaults to <code>lowest-price</code> if not specified.</p> <p>If the allocation strategy is <code>capacity-optimized</code> (recommended), the Auto Scaling group launches instances using Spot pools that are optimally chosen based on the available Spot capacity. Alternatively, you can use <code>capacity-optimized-prioritized</code> and set the order of instance types in the list of launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best-effort basis but optimizes for capacity first. </p>",
"LaunchConfigurationNamesType$NextToken": "<p>The token for the next set of items to return. (You received this token from a previous call.)</p>",
"LaunchConfigurationsType$NextToken": "<p>A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the <code>NextToken</code> value when requesting the next set of items. This value is null when there are no more items to return.</p>",
"PoliciesType$NextToken": "<p>A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the <code>NextToken</code> value when requesting the next set of items. This value is null when there are no more items to return.</p>",
Expand Down
21 changes: 20 additions & 1 deletion models/apis/elasticmapreduce/2009-03-31/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2191,6 +2191,24 @@
"type":"list",
"member":{"shape":"NotebookExecutionSummary"}
},
"OnDemandCapacityReservationOptions":{
"type":"structure",
"members":{
"UsageStrategy":{"shape":"OnDemandCapacityReservationUsageStrategy"},
"CapacityReservationPreference":{"shape":"OnDemandCapacityReservationPreference"}
}
},
"OnDemandCapacityReservationPreference":{
"type":"string",
"enum":[
"open",
"none"
]
},
"OnDemandCapacityReservationUsageStrategy":{
"type":"string",
"enum":["use-capacity-reservations-first"]
},
"OnDemandProvisioningAllocationStrategy":{
"type":"string",
"enum":["lowest-price"]
Expand All @@ -2199,7 +2217,8 @@
"type":"structure",
"required":["AllocationStrategy"],
"members":{
"AllocationStrategy":{"shape":"OnDemandProvisioningAllocationStrategy"}
"AllocationStrategy":{"shape":"OnDemandProvisioningAllocationStrategy"},
"CapacityReservationOptions":{"shape":"OnDemandCapacityReservationOptions"}
}
},
"OptionalArnType":{
Expand Down
Loading

0 comments on commit 57e8a37

Please sign in to comment.