From 58d5730f78c879e6b74a7ce8461d7049ec0d2267 Mon Sep 17 00:00:00 2001 From: Sean O'Brien <60306702+stobrien89@users.noreply.github.com> Date: Fri, 21 May 2021 17:16:17 -0700 Subject: [PATCH 1/3] Multithreading docs fixes (#2878) * fix subheading spacing * fix session example rendering * fix resource example rendering --- docs/source/guide/clients.rst | 2 +- docs/source/guide/resources.rst | 2 +- docs/source/guide/session.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/guide/clients.rst b/docs/source/guide/clients.rst index 42a537af4a..9a4c442391 100644 --- a/docs/source/guide/clients.rst +++ b/docs/source/guide/clients.rst @@ -126,7 +126,7 @@ few attributes (namely ``meta``, ``exceptions`` and ``waiter_names``). These are safe to read but any mutations should not be considered thread-safe. -**Custom**\ `Botocore Events`_\ **:** Botocore (the library Boto3 is +**Custom** \ `Botocore Events`_\ **:** Botocore (the library Boto3 is built on) allows advanced users to provide their own custom event hooks which may interact with boto3’s client. The majority of users will not need to use these interfaces, but those that do should no longer diff --git a/docs/source/guide/resources.rst b/docs/source/guide/resources.rst index 73ffeb6df3..b6579f34f0 100644 --- a/docs/source/guide/resources.rst +++ b/docs/source/guide/resources.rst @@ -204,7 +204,7 @@ Multithreading or multiprocessing with resources Resource instances are **not** thread safe and should not be shared across threads or processes. These special classes contain additional meta data that cannot be shared. It's recommended to create a new -Resource for each thread or process: +Resource for each thread or process:: import boto3 import boto3.session diff --git a/docs/source/guide/session.rst b/docs/source/guide/session.rst index c2f8ce631d..f89a8b7ed4 100644 --- a/docs/source/guide/session.rst +++ b/docs/source/guide/session.rst @@ -64,7 +64,7 @@ Multithreading or multiprocessing with sessions Similar to ``Resource`` objects, ``Session`` objects are not thread safe and should not be shared across threads and processes. It's recommended -to create a new ``Session`` object for each thread or process: +to create a new ``Session`` object for each thread or process:: import boto3 import boto3.session From 1ea9e9cd3890655ef7bfd996a49e1044858f1b17 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 May 2021 18:09:34 +0000 Subject: [PATCH 2/3] Add changelog entries from botocore --- .changes/next-release/api-change-ce-35006.json | 5 +++++ .changes/next-release/api-change-computeoptimizer-57642.json | 5 +++++ .changes/next-release/api-change-ec2-47300.json | 5 +++++ .changes/next-release/api-change-logs-39304.json | 5 +++++ .changes/next-release/api-change-quicksight-88728.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-ce-35006.json create mode 100644 .changes/next-release/api-change-computeoptimizer-57642.json create mode 100644 .changes/next-release/api-change-ec2-47300.json create mode 100644 .changes/next-release/api-change-logs-39304.json create mode 100644 .changes/next-release/api-change-quicksight-88728.json diff --git a/.changes/next-release/api-change-ce-35006.json b/.changes/next-release/api-change-ce-35006.json new file mode 100644 index 0000000000..eef0e0df75 --- /dev/null +++ b/.changes/next-release/api-change-ce-35006.json @@ -0,0 +1,5 @@ +{ + "category": "``ce``", + "type": "api-change", + "description": "[``botocore``] Introduced FindingReasonCodes, PlatformDifferences, DiskResourceUtilization and NetworkResourceUtilization to GetRightsizingRecommendation action" +} diff --git a/.changes/next-release/api-change-computeoptimizer-57642.json b/.changes/next-release/api-change-computeoptimizer-57642.json new file mode 100644 index 0000000000..ec817d37ff --- /dev/null +++ b/.changes/next-release/api-change-computeoptimizer-57642.json @@ -0,0 +1,5 @@ +{ + "category": "``compute-optimizer``", + "type": "api-change", + "description": "[``botocore``] Adds support for 1) additional instance types, 2) additional instance metrics, 3) finding reasons for instance recommendations, and 4) platform differences between a current instance and a recommended instance type." +} diff --git a/.changes/next-release/api-change-ec2-47300.json b/.changes/next-release/api-change-ec2-47300.json new file mode 100644 index 0000000000..9e5eadbeeb --- /dev/null +++ b/.changes/next-release/api-change-ec2-47300.json @@ -0,0 +1,5 @@ +{ + "category": "``ec2``", + "type": "api-change", + "description": "[``botocore``] This release adds support for creating and managing EC2 On-Demand Capacity Reservations on Outposts." +} diff --git a/.changes/next-release/api-change-logs-39304.json b/.changes/next-release/api-change-logs-39304.json new file mode 100644 index 0000000000..2adcf0dd26 --- /dev/null +++ b/.changes/next-release/api-change-logs-39304.json @@ -0,0 +1,5 @@ +{ + "category": "``logs``", + "type": "api-change", + "description": "[``botocore``] This release provides dimensions and unit support for metric filters." +} diff --git a/.changes/next-release/api-change-quicksight-88728.json b/.changes/next-release/api-change-quicksight-88728.json new file mode 100644 index 0000000000..bf11a73b07 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-88728.json @@ -0,0 +1,5 @@ +{ + "category": "``quicksight``", + "type": "api-change", + "description": "[``botocore``] Add new parameters on RegisterUser and UpdateUser APIs to assign or update external ID associated to QuickSight users federated through web identity." +} From 99014a56856ffb7a0211fbb36c91e92b2f8d3364 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 May 2021 18:09:41 +0000 Subject: [PATCH 3/3] Bumping version to 1.17.79 --- .changes/1.17.79.json | 27 +++++++++++++++++++ .../next-release/api-change-ce-35006.json | 5 ---- .../api-change-computeoptimizer-57642.json | 5 ---- .../next-release/api-change-ec2-47300.json | 5 ---- .../next-release/api-change-logs-39304.json | 5 ---- .../api-change-quicksight-88728.json | 5 ---- CHANGELOG.rst | 10 +++++++ boto3/__init__.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 40 insertions(+), 28 deletions(-) create mode 100644 .changes/1.17.79.json delete mode 100644 .changes/next-release/api-change-ce-35006.json delete mode 100644 .changes/next-release/api-change-computeoptimizer-57642.json delete mode 100644 .changes/next-release/api-change-ec2-47300.json delete mode 100644 .changes/next-release/api-change-logs-39304.json delete mode 100644 .changes/next-release/api-change-quicksight-88728.json diff --git a/.changes/1.17.79.json b/.changes/1.17.79.json new file mode 100644 index 0000000000..c6deb90281 --- /dev/null +++ b/.changes/1.17.79.json @@ -0,0 +1,27 @@ +[ + { + "category": "``quicksight``", + "description": "[``botocore``] Add new parameters on RegisterUser and UpdateUser APIs to assign or update external ID associated to QuickSight users federated through web identity.", + "type": "api-change" + }, + { + "category": "``ce``", + "description": "[``botocore``] Introduced FindingReasonCodes, PlatformDifferences, DiskResourceUtilization and NetworkResourceUtilization to GetRightsizingRecommendation action", + "type": "api-change" + }, + { + "category": "``compute-optimizer``", + "description": "[``botocore``] Adds support for 1) additional instance types, 2) additional instance metrics, 3) finding reasons for instance recommendations, and 4) platform differences between a current instance and a recommended instance type.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] This release adds support for creating and managing EC2 On-Demand Capacity Reservations on Outposts.", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "[``botocore``] This release provides dimensions and unit support for metric filters.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ce-35006.json b/.changes/next-release/api-change-ce-35006.json deleted file mode 100644 index eef0e0df75..0000000000 --- a/.changes/next-release/api-change-ce-35006.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "category": "``ce``", - "type": "api-change", - "description": "[``botocore``] Introduced FindingReasonCodes, PlatformDifferences, DiskResourceUtilization and NetworkResourceUtilization to GetRightsizingRecommendation action" -} diff --git a/.changes/next-release/api-change-computeoptimizer-57642.json b/.changes/next-release/api-change-computeoptimizer-57642.json deleted file mode 100644 index ec817d37ff..0000000000 --- a/.changes/next-release/api-change-computeoptimizer-57642.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "category": "``compute-optimizer``", - "type": "api-change", - "description": "[``botocore``] Adds support for 1) additional instance types, 2) additional instance metrics, 3) finding reasons for instance recommendations, and 4) platform differences between a current instance and a recommended instance type." -} diff --git a/.changes/next-release/api-change-ec2-47300.json b/.changes/next-release/api-change-ec2-47300.json deleted file mode 100644 index 9e5eadbeeb..0000000000 --- a/.changes/next-release/api-change-ec2-47300.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "category": "``ec2``", - "type": "api-change", - "description": "[``botocore``] This release adds support for creating and managing EC2 On-Demand Capacity Reservations on Outposts." -} diff --git a/.changes/next-release/api-change-logs-39304.json b/.changes/next-release/api-change-logs-39304.json deleted file mode 100644 index 2adcf0dd26..0000000000 --- a/.changes/next-release/api-change-logs-39304.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "category": "``logs``", - "type": "api-change", - "description": "[``botocore``] This release provides dimensions and unit support for metric filters." -} diff --git a/.changes/next-release/api-change-quicksight-88728.json b/.changes/next-release/api-change-quicksight-88728.json deleted file mode 100644 index bf11a73b07..0000000000 --- a/.changes/next-release/api-change-quicksight-88728.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "category": "``quicksight``", - "type": "api-change", - "description": "[``botocore``] Add new parameters on RegisterUser and UpdateUser APIs to assign or update external ID associated to QuickSight users federated through web identity." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 84013fef3f..ad1cde7b17 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.17.79 +======= + +* api-change:``quicksight``: [``botocore``] Add new parameters on RegisterUser and UpdateUser APIs to assign or update external ID associated to QuickSight users federated through web identity. +* api-change:``ce``: [``botocore``] Introduced FindingReasonCodes, PlatformDifferences, DiskResourceUtilization and NetworkResourceUtilization to GetRightsizingRecommendation action +* api-change:``compute-optimizer``: [``botocore``] Adds support for 1) additional instance types, 2) additional instance metrics, 3) finding reasons for instance recommendations, and 4) platform differences between a current instance and a recommended instance type. +* api-change:``ec2``: [``botocore``] This release adds support for creating and managing EC2 On-Demand Capacity Reservations on Outposts. +* api-change:``logs``: [``botocore``] This release provides dimensions and unit support for metric filters. + + 1.17.78 ======= diff --git a/boto3/__init__.py b/boto3/__init__.py index f319aeb12e..7348009744 100644 --- a/boto3/__init__.py +++ b/boto3/__init__.py @@ -18,7 +18,7 @@ __author__ = 'Amazon Web Services' -__version__ = '1.17.78' +__version__ = '1.17.79' # The default Boto3 session; autoloaded when needed. diff --git a/setup.cfg b/setup.cfg index a0763826cf..797acb280c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,6 @@ universal = 1 [metadata] requires_dist = - botocore>=1.20.78,<1.21.0 + botocore>=1.20.79,<1.21.0 jmespath>=0.7.1,<1.0.0 s3transfer>=0.4.0,<0.5.0 diff --git a/setup.py b/setup.py index 324a5b5b41..b04bc1df1a 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ requires = [ - 'botocore>=1.20.78,<1.21.0', + 'botocore>=1.20.79,<1.21.0', 'jmespath>=0.7.1,<1.0.0', 's3transfer>=0.4.0,<0.5.0' ]