Skip to content

Commit

Permalink
Merge branch 'release-1.29.19' into develop
Browse files Browse the repository at this point in the history
* release-1.29.19:
  Bumping version to 1.29.19
  Update changelog based on model updates
  move enable-primary-ipv6 into network-interfaces if necessary
  • Loading branch information
aws-sdk-python-automation committed Aug 3, 2023
2 parents 11157ad + e347b29 commit d994fd7
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .changes/1.29.19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"category": "``autoscaling``",
"description": "Documentation changes related to Amazon EC2 Auto Scaling APIs.",
"type": "api-change"
},
{
"category": "``cloud9``",
"description": "Updated the deprecation date for Amazon Linux. Doc only update.",
"type": "api-change"
},
{
"category": "``dms``",
"description": "The release makes public API for DMS Schema Conversion feature.",
"type": "api-change"
},
{
"category": "``ec2``",
"description": "This release adds new parameter isPrimaryIPv6 to allow assigning an IPv6 address as a primary IPv6 address to a network interface which cannot be changed to give equivalent functionality available for network interfaces with primary IPv4 address.",
"type": "api-change"
},
{
"category": "``sagemaker``",
"description": "Amazon SageMaker now supports running training jobs on p5.48xlarge instance types.",
"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.29.19
=======

* api-change:``autoscaling``: Documentation changes related to Amazon EC2 Auto Scaling APIs.
* api-change:``cloud9``: Updated the deprecation date for Amazon Linux. Doc only update.
* api-change:``dms``: The release makes public API for DMS Schema Conversion feature.
* api-change:``ec2``: This release adds new parameter isPrimaryIPv6 to allow assigning an IPv6 address as a primary IPv6 address to a network interface which cannot be changed to give equivalent functionality available for network interfaces with primary IPv4 address.
* api-change:``sagemaker``: Amazon SageMaker now supports running training jobs on p5.48xlarge instance types.


1.29.18
=======

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

__version__ = '1.29.18'
__version__ = '1.29.19'

#
# Get our data path to be added to botocore's search path
Expand Down
3 changes: 3 additions & 0 deletions awscli/customizations/ec2/runinstances.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def _fix_args(params, **kwargs):
if 'Ipv6Addresses' in params:
interface['Ipv6Addresses'] = params['Ipv6Addresses']
del params['Ipv6Addresses']
if 'EnablePrimaryIpv6' in params:
interface['PrimaryIpv6'] = params['EnablePrimaryIpv6']
del params['EnablePrimaryIpv6']


EVENTS = [
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# The short X.Y version.
version = '1.29.'
# The full version, including alpha/beta/rc tags.
release = '1.29.18'
release = '1.29.19'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ universal = 0

[metadata]
requires_dist =
botocore==1.31.18
botocore==1.31.19
docutils>=0.10,<0.17
s3transfer>=0.6.0,<0.7.0
PyYAML>=3.10,<6.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def find_version(*file_paths):


install_requires = [
'botocore==1.31.18',
'botocore==1.31.19',
'docutils>=0.10,<0.17',
's3transfer>=0.6.0,<0.7.0',
'PyYAML>=3.10,<6.1',
Expand Down
15 changes: 15 additions & 0 deletions tests/functional/ec2/test_run_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,18 @@ def test_ipv6_addresses_and_associate_public_ip_address(self):
'MinCount': 1
}
self.assert_run_instances_call(args, expected)

def test_enable_primary_ipv6_and_associate_public_ip_address(self):
args = ' --associate-public-ip-address'
args += ' --enable-primary-ipv6 --image-id ami-foobar --count 1'
expected = {
'NetworkInterfaces': [{
'DeviceIndex': 0,
'AssociatePublicIpAddress': True,
'PrimaryIpv6': True
}],
'ImageId': 'ami-foobar',
'MaxCount': 1,
'MinCount': 1
}
self.assert_run_instances_call(args, expected)

0 comments on commit d994fd7

Please sign in to comment.