From aa21e0a79f3a9da6b0a323071163440853051817 Mon Sep 17 00:00:00 2001 From: Yeshnil Jainarain Date: Thu, 20 Jul 2023 15:18:20 +0200 Subject: [PATCH 1/3] move enable-primary-ipv6 into network-interfaces if necessary --- awscli/customizations/ec2/runinstances.py | 3 +++ tests/functional/ec2/test_run_instances.py | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/awscli/customizations/ec2/runinstances.py b/awscli/customizations/ec2/runinstances.py index fbcdf29dbd68..6f51d0841b5b 100644 --- a/awscli/customizations/ec2/runinstances.py +++ b/awscli/customizations/ec2/runinstances.py @@ -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 = [ diff --git a/tests/functional/ec2/test_run_instances.py b/tests/functional/ec2/test_run_instances.py index 32cf693fafca..b75110b37af6 100644 --- a/tests/functional/ec2/test_run_instances.py +++ b/tests/functional/ec2/test_run_instances.py @@ -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) \ No newline at end of file From 9febc508c2612a3b6085a5eecd0d4f70679d0490 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 3 Aug 2023 18:12:09 +0000 Subject: [PATCH 2/3] Update changelog based on model updates --- .changes/next-release/api-change-autoscaling-81347.json | 5 +++++ .changes/next-release/api-change-cloud9-91367.json | 5 +++++ .changes/next-release/api-change-dms-38288.json | 5 +++++ .changes/next-release/api-change-ec2-83833.json | 5 +++++ .changes/next-release/api-change-sagemaker-48006.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-autoscaling-81347.json create mode 100644 .changes/next-release/api-change-cloud9-91367.json create mode 100644 .changes/next-release/api-change-dms-38288.json create mode 100644 .changes/next-release/api-change-ec2-83833.json create mode 100644 .changes/next-release/api-change-sagemaker-48006.json diff --git a/.changes/next-release/api-change-autoscaling-81347.json b/.changes/next-release/api-change-autoscaling-81347.json new file mode 100644 index 000000000000..4f376750cec0 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-81347.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Documentation changes related to Amazon EC2 Auto Scaling APIs." +} diff --git a/.changes/next-release/api-change-cloud9-91367.json b/.changes/next-release/api-change-cloud9-91367.json new file mode 100644 index 000000000000..1a5415c54a0d --- /dev/null +++ b/.changes/next-release/api-change-cloud9-91367.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloud9``", + "description": "Updated the deprecation date for Amazon Linux. Doc only update." +} diff --git a/.changes/next-release/api-change-dms-38288.json b/.changes/next-release/api-change-dms-38288.json new file mode 100644 index 000000000000..91fe7426a3f1 --- /dev/null +++ b/.changes/next-release/api-change-dms-38288.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "The release makes public API for DMS Schema Conversion feature." +} diff --git a/.changes/next-release/api-change-ec2-83833.json b/.changes/next-release/api-change-ec2-83833.json new file mode 100644 index 000000000000..50ef6d833c51 --- /dev/null +++ b/.changes/next-release/api-change-ec2-83833.json @@ -0,0 +1,5 @@ +{ + "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." +} diff --git a/.changes/next-release/api-change-sagemaker-48006.json b/.changes/next-release/api-change-sagemaker-48006.json new file mode 100644 index 000000000000..4b36353f7c55 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-48006.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Amazon SageMaker now supports running training jobs on p5.48xlarge instance types." +} From e347b2950590c81b7fc8d34b876976f6e6b0a809 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 3 Aug 2023 18:12:09 +0000 Subject: [PATCH 3/3] Bumping version to 1.29.19 --- .changes/1.29.19.json | 27 +++++++++++++++++++ .../api-change-autoscaling-81347.json | 5 ---- .../next-release/api-change-cloud9-91367.json | 5 ---- .../next-release/api-change-dms-38288.json | 5 ---- .../next-release/api-change-ec2-83833.json | 5 ---- .../api-change-sagemaker-48006.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.29.19.json delete mode 100644 .changes/next-release/api-change-autoscaling-81347.json delete mode 100644 .changes/next-release/api-change-cloud9-91367.json delete mode 100644 .changes/next-release/api-change-dms-38288.json delete mode 100644 .changes/next-release/api-change-ec2-83833.json delete mode 100644 .changes/next-release/api-change-sagemaker-48006.json diff --git a/.changes/1.29.19.json b/.changes/1.29.19.json new file mode 100644 index 000000000000..2201efa7f49a --- /dev/null +++ b/.changes/1.29.19.json @@ -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" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-autoscaling-81347.json b/.changes/next-release/api-change-autoscaling-81347.json deleted file mode 100644 index 4f376750cec0..000000000000 --- a/.changes/next-release/api-change-autoscaling-81347.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Documentation changes related to Amazon EC2 Auto Scaling APIs." -} diff --git a/.changes/next-release/api-change-cloud9-91367.json b/.changes/next-release/api-change-cloud9-91367.json deleted file mode 100644 index 1a5415c54a0d..000000000000 --- a/.changes/next-release/api-change-cloud9-91367.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloud9``", - "description": "Updated the deprecation date for Amazon Linux. Doc only update." -} diff --git a/.changes/next-release/api-change-dms-38288.json b/.changes/next-release/api-change-dms-38288.json deleted file mode 100644 index 91fe7426a3f1..000000000000 --- a/.changes/next-release/api-change-dms-38288.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "The release makes public API for DMS Schema Conversion feature." -} diff --git a/.changes/next-release/api-change-ec2-83833.json b/.changes/next-release/api-change-ec2-83833.json deleted file mode 100644 index 50ef6d833c51..000000000000 --- a/.changes/next-release/api-change-ec2-83833.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "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." -} diff --git a/.changes/next-release/api-change-sagemaker-48006.json b/.changes/next-release/api-change-sagemaker-48006.json deleted file mode 100644 index 4b36353f7c55..000000000000 --- a/.changes/next-release/api-change-sagemaker-48006.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Amazon SageMaker now supports running training jobs on p5.48xlarge instance types." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 97c2dd58ffb7..3870984b38a2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 693382489973..4ed7a77a06ec 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -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 diff --git a/doc/source/conf.py b/doc/source/conf.py index 64e5019ea1c0..556727518267 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -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. diff --git a/setup.cfg b/setup.cfg index a4ed1f286330..86c7db75c2d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/setup.py b/setup.py index 676998a4ada3..ed2d8f56e860 100644 --- a/setup.py +++ b/setup.py @@ -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',