Skip to content

Commit

Permalink
Merge branch 'release-1.31.13' into develop
Browse files Browse the repository at this point in the history
* release-1.31.13:
  Bumping version to 1.31.13
  Update to latest models
  Add autoscaling sdk extras paginators
  • Loading branch information
aws-sdk-python-automation committed Jul 27, 2023
2 parents a939784 + 7af4392 commit 10f938d
Show file tree
Hide file tree
Showing 16 changed files with 1,433 additions and 1,672 deletions.
27 changes: 27 additions & 0 deletions .changes/1.31.13.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"category": "``autoscaling``",
"description": "This release updates validation for instance types used in the AllowedInstanceTypes and ExcludedInstanceTypes parameters of the InstanceRequirements property of a MixedInstancesPolicy.",
"type": "api-change"
},
{
"category": "``ebs``",
"description": "SDK and documentation updates for Amazon Elastic Block Store API",
"type": "api-change"
},
{
"category": "``ec2``",
"description": "SDK and documentation updates for Amazon Elastic Block Store APIs",
"type": "api-change"
},
{
"category": "``eks``",
"description": "Add multiple customer error code to handle customer caused failure when managing EKS node groups",
"type": "api-change"
},
{
"category": "``sagemaker``",
"description": "Expose ProfilerConfig attribute in SageMaker Search API response.",
"type": "api-change"
}
]
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
CHANGELOG
=========

1.31.13
=======

* api-change:``autoscaling``: This release updates validation for instance types used in the AllowedInstanceTypes and ExcludedInstanceTypes parameters of the InstanceRequirements property of a MixedInstancesPolicy.
* api-change:``ebs``: SDK and documentation updates for Amazon Elastic Block Store API
* api-change:``ec2``: SDK and documentation updates for Amazon Elastic Block Store APIs
* api-change:``eks``: Add multiple customer error code to handle customer caused failure when managing EKS node groups
* api-change:``sagemaker``: Expose ProfilerConfig attribute in SageMaker Search API response.


1.31.12
=======

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
import re

__version__ = '1.31.12'
__version__ = '1.31.13'


class NullHandler(logging.Handler):
Expand Down
6 changes: 6 additions & 0 deletions botocore/data/autoscaling/2011-01-01/paginators-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@
"limit_key": "MaxRecords",
"output_token": "NextToken",
"result_key": "LoadBalancers"
},
"DescribeWarmPool": {
"input_token": "NextToken",
"limit_key": "MaxRecords",
"output_token": "NextToken",
"result_key": "Instances"
}
}
}
12 changes: 12 additions & 0 deletions botocore/data/autoscaling/2011-01-01/paginators-1.sdk-extras.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1.0,
"merge": {
"pagination": {
"DescribeWarmPool": {
"non_aggregate_keys": [
"WarmPoolConfiguration"
]
}
}
}
}
13 changes: 7 additions & 6 deletions botocore/data/autoscaling/2011-01-01/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"errors":[
{"shape":"ResourceContentionFault"}
],
"documentation":"<p>Completes the lifecycle action for the specified token or instance with the specified result.</p> <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:</p> <ol> <li> <p>(Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.</p> </li> <li> <p>Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.</p> </li> <li> <p>If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state.</p> </li> <li> <p> <b>If you finish before the timeout period ends, send a callback by using the <a>CompleteLifecycleAction</a> API call.</b> </p> </li> </ol> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html\">Amazon EC2 Auto Scaling lifecycle hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
"documentation":"<p>Completes the lifecycle action for the specified token or instance with the specified result.</p> <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:</p> <ol> <li> <p>(Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.</p> </li> <li> <p>Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.</p> </li> <li> <p>If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state.</p> </li> <li> <p> <b>If you finish before the timeout period ends, send a callback by using the <a>CompleteLifecycleAction</a> API call.</b> </p> </li> </ol> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/completing-lifecycle-hooks.html\">Complete a lifecycle action</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
},
"CreateAutoScalingGroup":{
"name":"CreateAutoScalingGroup",
Expand Down Expand Up @@ -705,7 +705,7 @@
"errors":[
{"shape":"ResourceContentionFault"}
],
"documentation":"<p>Detaches one or more traffic sources from the specified Auto Scaling group.</p> <p>When you detach a taffic, it enters the <code>Removing</code> state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the <a>DescribeTrafficSources</a> API call. The instances continue to run.</p>"
"documentation":"<p>Detaches one or more traffic sources from the specified Auto Scaling group.</p> <p>When you detach a traffic source, it enters the <code>Removing</code> state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the <a>DescribeTrafficSources</a> API call. The instances continue to run.</p>"
},
"DisableMetricsCollection":{
"name":"DisableMetricsCollection",
Expand Down Expand Up @@ -1236,7 +1236,7 @@
"type":"string",
"max":30,
"min":1,
"pattern":"[a-zA-Z0-9\\.\\*]+"
"pattern":"[a-zA-Z0-9\\.\\*\\-]+"
},
"AllowedInstanceTypes":{
"type":"list",
Expand Down Expand Up @@ -2853,7 +2853,7 @@
"type":"string",
"max":30,
"min":1,
"pattern":"[a-zA-Z0-9\\.\\*]+"
"pattern":"[a-zA-Z0-9\\.\\*\\-]+"
},
"ExcludedInstanceTypes":{
"type":"list",
Expand Down Expand Up @@ -4543,7 +4543,7 @@
},
"ScalingAdjustment":{
"shape":"PolicyIncrement",
"documentation":"<p>The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value.</p> <p>Required if the policy type is <code>SimpleScaling</code>. (Not used with any other policy type.) </p>"
"documentation":"<p>The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value.</p> <p>Required if the policy type is <code>SimpleScaling</code>. (Not used with any other policy type.) </p>"
},
"Cooldown":{
"shape":"Cooldown",
Expand Down Expand Up @@ -4808,6 +4808,7 @@
},
"RollbackInstanceRefreshType":{
"type":"structure",
"required":["AutoScalingGroupName"],
"members":{
"AutoScalingGroupName":{
"shape":"XmlStringMaxLen255",
Expand Down Expand Up @@ -5208,7 +5209,7 @@
},
"ScalingAdjustment":{
"shape":"PolicyIncrement",
"documentation":"<p>The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.</p> <p>The amount by which to scale. The adjustment is based on the value that you specified in the <code>AdjustmentType</code> property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity. </p>"
"documentation":"<p>The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value.</p>"
}
},
"documentation":"<p>Describes information used to create a step adjustment for a step scaling policy.</p> <p>For the following examples, suppose that you have an alarm with a breach threshold of 50:</p> <ul> <li> <p>To trigger the adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.</p> </li> <li> <p>To trigger the adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.</p> </li> </ul> <p>There are a few rules for the step adjustments for your step policy:</p> <ul> <li> <p>The ranges of your step adjustments can't overlap or have a gap.</p> </li> <li> <p>At most, one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.</p> </li> <li> <p>At most, one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.</p> </li> <li> <p>The upper and lower bound can't be null in the same step adjustment.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps\">Step adjustments</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
Expand Down
Loading

0 comments on commit 10f938d

Please sign in to comment.