Skip to content

Commit

Permalink
Updates SDK to v2.1546.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 29, 2024
1 parent 7e5eb40 commit a91c317
Show file tree
Hide file tree
Showing 22 changed files with 232 additions and 152 deletions.
22 changes: 22 additions & 0 deletions .changes/2.1546.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"type": "feature",
"category": "AutoScaling",
"description": "EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type."
},
{
"type": "feature",
"category": "EC2",
"description": "EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type."
},
{
"type": "feature",
"category": "MWAA",
"description": "This release adds MAINTENANCE environment status for Amazon MWAA environments."
},
{
"type": "feature",
"category": "RDS",
"description": "Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience."
}
]
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1545.0-->
<!--LATEST=2.1546.0-->
<!--ENTRYINSERT-->

## 2.1546.0
* feature: AutoScaling: EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type.
* feature: EC2: EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type.
* feature: MWAA: This release adds MAINTENANCE environment status for Amazon MWAA environments.
* feature: RDS: Introduced support for the InsufficientDBInstanceCapacityFault error in the RDS RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime API methods. This provides enhanced error handling, ensuring a more robust experience.

## 2.1545.0
* feature: Connect: Update list and string length limits for predefined attributes.
* feature: Inspector2: This release adds ECR container image scanning based on their lastRecordedPullTime.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1545.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1546.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
3 changes: 3 additions & 0 deletions apis/autoscaling-2011-01-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -2083,6 +2083,9 @@
"SpotMaxPricePercentageOverLowestPrice": {
"type": "integer"
},
"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": {
"type": "integer"
},
"OnDemandMaxPricePercentageOverLowestPrice": {
"type": "integer"
},
Expand Down
16 changes: 10 additions & 6 deletions apis/autoscaling-2011-01-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@
"shape": "ResourceContentionFault"
}
],
"documentation": "<p>Gets information about the instance refreshes for the specified Auto Scaling group.</p> <p>This operation is part of the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html\">instance refresh feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.</p> <p>To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.</p>"
"documentation": "<p>Gets information about the instance refreshes for the specified Auto Scaling group from the previous six weeks.</p> <p>This operation is part of the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html\">instance refresh feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.</p> <p>To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.</p>"
},
"DescribeLaunchConfigurations": {
"name": "DescribeLaunchConfigurations",
Expand Down Expand Up @@ -3564,11 +3564,11 @@
"members": {
"MinHealthyPercentage": {
"shape": "IntPercentResettable",
"documentation": "<p>Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. After it's set, a value of <code>-1</code> will clear the previously set value.</p>"
"documentation": "<p>Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of <code>-1</code>.</p>"
},
"MaxHealthyPercentage": {
"shape": "IntPercent100To200Resettable",
"documentation": "<p>Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. After it's set, a value of <code>-1</code> will clear the previously set value. </p> <p>Both <code>MinHealthyPercentage</code> and <code>MaxHealthyPercentage</code> must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time.</p>"
"documentation": "<p>Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of <code>-1</code>.</p> <p>Both <code>MinHealthyPercentage</code> and <code>MaxHealthyPercentage</code> must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time.</p>"
}
},
"documentation": "<p>Describes an instance maintenance policy.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html\">Set instance maintenance policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
Expand Down Expand Up @@ -3778,11 +3778,15 @@
},
"SpotMaxPricePercentageOverLowestPrice": {
"shape": "NullablePositiveInteger",
"documentation": "<p>The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as <code>999999</code>. </p> <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. </p> <p>Default: <code>100</code> </p>"
"documentation": "<p>[Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.</p> <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p> <p>To turn off price protection, specify a high value, such as <code>999999</code>. </p> <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. </p> <note> <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified.</p> </note> <p>Default: <code>100</code> </p>"
},
"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": {
"shape": "NullablePositiveInteger",
"documentation": "<p>[Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.</p> <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p> <p>To indicate no price protection threshold, specify a high value, such as <code>999999</code>. </p> <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. </p> <note> <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you don't specify either, then <code>SpotMaxPricePercentageOverLowestPrice</code> is used and the value for that parameter defaults to <code>100</code>.</p> </note>"
},
"OnDemandMaxPricePercentageOverLowestPrice": {
"shape": "NullablePositiveInteger",
"documentation": "<p>The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as <code>999999</code>. </p> <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. </p> <p>Default: <code>20</code> </p>"
"documentation": "<p>[Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. </p> <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p> <p>To turn off price protection, specify a high value, such as <code>999999</code>. </p> <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. </p> <p>Default: <code>20</code> </p>"
},
"BareMetal": {
"shape": "BareMetal",
Expand Down Expand Up @@ -4555,7 +4559,7 @@
"documentation": "<p>The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html\">MetricDatum</a> data type in the <i>Amazon CloudWatch API Reference</i>.</p>"
}
},
"documentation": "<p>This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.</p> <p>For more information about the CloudWatch terminology below, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html\">Amazon CloudWatch concepts</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
"documentation": "<p>This structure defines the CloudWatch metric to return, along with the statistic and unit.</p> <p>For more information about the CloudWatch terminology below, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html\">Amazon CloudWatch concepts</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
},
"MetricStatistic": {
"type": "string",
Expand Down
8 changes: 4 additions & 4 deletions apis/comprehend-2017-11-27.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -3201,7 +3201,7 @@
},
"LanguageCode": {
"shape": "LanguageCode",
"documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>"
"documentation": "<p>The language of the input documents.</p>"
}
}
},
Expand Down Expand Up @@ -4334,7 +4334,7 @@
},
"LanguageCode": {
"shape": "LanguageCode",
"documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>"
"documentation": "<p>The language of the input text. Enter the language code for English (en) or Spanish (es).</p>"
}
}
},
Expand Down Expand Up @@ -7197,7 +7197,7 @@
},
"LanguageCode": {
"shape": "LanguageCode",
"documentation": "<p>The language code of the input documents</p>"
"documentation": "<p>The language code of the input documents.</p>"
},
"DataAccessRoleArn": {
"shape": "IamRoleArn",
Expand Down Expand Up @@ -7958,7 +7958,7 @@
},
"LanguageCode": {
"shape": "LanguageCode",
"documentation": "<p>The language of the input documents. Currently, English is the only valid language.</p>"
"documentation": "<p>The language of the input documents. Enter the language code for English (en) or Spanish (es).</p>"
},
"ClientRequestToken": {
"shape": "ClientRequestTokenString",
Expand Down
7 changes: 7 additions & 0 deletions apis/ec2-2016-11-15.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -27750,6 +27750,9 @@
"AllowedInstanceTypes": {
"shape": "Sdl",
"locationName": "AllowedInstanceType"
},
"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": {
"type": "integer"
}
}
},
Expand Down Expand Up @@ -28069,6 +28072,10 @@
"AllowedInstanceTypes": {
"shape": "Sdl",
"locationName": "allowedInstanceTypeSet"
},
"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": {
"locationName": "maxSpotPriceAsPercentageOfOptimalOnDemandPrice",
"type": "integer"
}
}
},
Expand Down
Loading

0 comments on commit a91c317

Please sign in to comment.