From 65db73f1804de4fff2712e25566f25e2b8cf9ae1 Mon Sep 17 00:00:00 2001 From: Alessandra Romero <24320222+alexgromero@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:13:33 -0500 Subject: [PATCH 1/3] Add client exceptions to boto3 docs (#4343) --- boto3/docs/service.py | 2 + tests/unit/docs/__init__.py | 6 +++ tests/unit/docs/test_client.py | 86 +++++++++++++++++++++++++++++++++ tests/unit/docs/test_service.py | 8 +++ 4 files changed, 102 insertions(+) diff --git a/boto3/docs/service.py b/boto3/docs/service.py index 39ed89b871..0076a3420b 100644 --- a/boto3/docs/service.py +++ b/boto3/docs/service.py @@ -42,6 +42,7 @@ def __init__(self, service_name, session, root_docs_path): self.sections = [ 'title', 'client', + 'client-exceptions', 'paginators', 'waiters', 'resources', @@ -65,6 +66,7 @@ def document_service(self): self.title(doc_structure.get_section('title')) self.client_api(doc_structure.get_section('client')) + self.client_exceptions(doc_structure.get_section('client-exceptions')) self.paginator_api(doc_structure.get_section('paginators')) self.waiter_api(doc_structure.get_section('waiters')) if self._service_resource: diff --git a/tests/unit/docs/__init__.py b/tests/unit/docs/__init__.py index a50934c8be..4d04a2f70b 100644 --- a/tests/unit/docs/__init__.py +++ b/tests/unit/docs/__init__.py @@ -344,6 +344,12 @@ def add_shape_to_params( required_list.append(param_name) params_shape['required'] = required_list + def add_shape_to_errors(self, shape_name): + operation = self.json_model['operations']['SampleOperation'] + errors = operation.get('errors', []) + errors.append({'shape': shape_name}) + operation['errors'] = errors + def assert_contains_lines_in_order(self, lines, contents=None): if contents is None: contents = self.doc_structure.flush_structure().decode('utf-8') diff --git a/tests/unit/docs/test_client.py b/tests/unit/docs/test_client.py index 11a42fa3cf..1facc5c52f 100644 --- a/tests/unit/docs/test_client.py +++ b/tests/unit/docs/test_client.py @@ -10,6 +10,8 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +from botocore.docs.client import ClientExceptionsDocumenter + from boto3.docs.client import Boto3ClientDocumenter from tests.unit.docs import BaseDocsTest @@ -17,6 +19,16 @@ class TestBoto3ClientDocumenter(BaseDocsTest): def setUp(self): super().setUp() + exception_shape = { + 'SomeException': { + 'exception': True, + 'type': 'structure', + 'members': {'Message': {'shape': 'String'}}, + } + } + self.add_shape(exception_shape) + self.add_shape_to_errors('SomeException') + self.setup_client_and_resource() self.client_documenter = Boto3ClientDocumenter( self.client, self.root_services_path ) @@ -96,8 +108,82 @@ def test_document_client(self): ' - *(dict) --*', ' - **Foo** *(string) --*', ' - **Bar** *(string) --*', + '**Exceptions**', + '* :py:class:`MyService.Client.exceptions.SomeException`', ], self.get_nested_service_contents( 'myservice', 'client', 'sample_operation' ), ) + + +class TestClientExceptionsDocumenter(BaseDocsTest): + def setup_documenter(self): + self.setup_client_and_resource() + self.exceptions_documenter = ClientExceptionsDocumenter( + self.client, self.root_services_path + ) + + def test_no_modeled_exceptions(self): + self.setup_documenter() + self.exceptions_documenter.document_exceptions(self.doc_structure) + self.assert_contains_lines_in_order( + [ + '=================', + 'Client Exceptions', + '=================', + 'Client exceptions are available', + 'This client has no modeled exception classes.', + ] + ) + + def test_modeled_exceptions(self): + exception_shape = { + 'SomeException': { + 'exception': True, + 'type': 'structure', + 'members': {'Message': {'shape': 'String'}}, + } + } + self.add_shape(exception_shape) + self.setup_documenter() + self.exceptions_documenter.document_exceptions(self.doc_structure) + self.assert_contains_lines_in_order( + [ + '=================', + 'Client Exceptions', + '=================', + 'Client exceptions are available', + 'The available client exceptions are:', + '.. toctree::', + ':maxdepth: 1', + ':titlesonly:', + ' myservice/client/exceptions/SomeException', + ] + ) + self.assert_contains_lines_in_order( + [ + '.. py:class:: MyService.Client.exceptions.SomeException', + '**Example**', + '::', + 'except client.exceptions.SomeException as e:', + '.. py:attribute:: response', + '**Syntax**', + '{', + "'Message': 'string',", + "'Error': {", + "'Code': 'string',", + "'Message': 'string'", + '}', + '}', + '**Structure**', + '- *(dict) --*', + '- **Message** *(string) --* ', + '- **Error** *(dict) --* ', + '- **Code** *(string) --* ', + '- **Message** *(string) --* ', + ], + self.get_nested_service_contents( + 'myservice', 'client/exceptions', 'SomeException' + ), + ) diff --git a/tests/unit/docs/test_service.py b/tests/unit/docs/test_service.py index a6e8ef19f8..5ceae3713c 100644 --- a/tests/unit/docs/test_service.py +++ b/tests/unit/docs/test_service.py @@ -34,6 +34,14 @@ def test_document_service(self): '.. py:class:: MyService.Client', 'These are the available methods:', ' myservice/client/sample_operation', + '=================', + 'Client Exceptions', + '=================', + 'Client exceptions are available on a client instance ', + 'via the ``exceptions`` property. For more detailed instructions ', + 'and examples on the exact usage of client exceptions, see the ', + 'error handling ', + 'This client has no modeled exception classes.', '==========', 'Paginators', '==========', From d333cd61ce1abceb52f51374d93687869c03b80e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 20 Nov 2024 19:06:13 +0000 Subject: [PATCH 2/3] Add changelog entries from botocore --- .changes/next-release/api-change-autoscaling-75833.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-37272.json | 5 +++++ .changes/next-release/api-change-cloudfront-34383.json | 5 +++++ .changes/next-release/api-change-computeoptimizer-18290.json | 5 +++++ .changes/next-release/api-change-controltower-13569.json | 5 +++++ .../next-release/api-change-costoptimizationhub-87674.json | 5 +++++ .changes/next-release/api-change-datazone-93401.json | 5 +++++ .changes/next-release/api-change-discovery-40174.json | 5 +++++ .changes/next-release/api-change-ec2-52808.json | 5 +++++ .changes/next-release/api-change-ecs-4153.json | 5 +++++ .changes/next-release/api-change-elbv2-1292.json | 5 +++++ .changes/next-release/api-change-lambda-66589.json | 5 +++++ .changes/next-release/api-change-mediaconvert-47935.json | 5 +++++ .changes/next-release/api-change-mediapackagev2-86061.json | 5 +++++ .changes/next-release/api-change-omics-36646.json | 5 +++++ .changes/next-release/api-change-rbin-72374.json | 5 +++++ .changes/next-release/api-change-rds-16228.json | 5 +++++ .changes/next-release/api-change-timestreamquery-59956.json | 5 +++++ .changes/next-release/api-change-workspaces-79136.json | 5 +++++ .changes/next-release/api-change-workspacesweb-55721.json | 5 +++++ 20 files changed, 100 insertions(+) create mode 100644 .changes/next-release/api-change-autoscaling-75833.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-37272.json create mode 100644 .changes/next-release/api-change-cloudfront-34383.json create mode 100644 .changes/next-release/api-change-computeoptimizer-18290.json create mode 100644 .changes/next-release/api-change-controltower-13569.json create mode 100644 .changes/next-release/api-change-costoptimizationhub-87674.json create mode 100644 .changes/next-release/api-change-datazone-93401.json create mode 100644 .changes/next-release/api-change-discovery-40174.json create mode 100644 .changes/next-release/api-change-ec2-52808.json create mode 100644 .changes/next-release/api-change-ecs-4153.json create mode 100644 .changes/next-release/api-change-elbv2-1292.json create mode 100644 .changes/next-release/api-change-lambda-66589.json create mode 100644 .changes/next-release/api-change-mediaconvert-47935.json create mode 100644 .changes/next-release/api-change-mediapackagev2-86061.json create mode 100644 .changes/next-release/api-change-omics-36646.json create mode 100644 .changes/next-release/api-change-rbin-72374.json create mode 100644 .changes/next-release/api-change-rds-16228.json create mode 100644 .changes/next-release/api-change-timestreamquery-59956.json create mode 100644 .changes/next-release/api-change-workspaces-79136.json create mode 100644 .changes/next-release/api-change-workspacesweb-55721.json diff --git a/.changes/next-release/api-change-autoscaling-75833.json b/.changes/next-release/api-change-autoscaling-75833.json new file mode 100644 index 0000000000..6691e49828 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-75833.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "[``botocore``] With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-37272.json b/.changes/next-release/api-change-bedrockagentruntime-37272.json new file mode 100644 index 0000000000..b4193a0408 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-37272.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "[``botocore``] Releasing new Prompt Optimization to enhance your prompts for improved performance" +} diff --git a/.changes/next-release/api-change-cloudfront-34383.json b/.changes/next-release/api-change-cloudfront-34383.json new file mode 100644 index 0000000000..454631f91b --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-34383.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "[``botocore``] Add support for gRPC, VPC origins, and Anycast IP Lists. Allow LoggingConfig IncludeCookies to be set regardless of whether the LoggingConfig is enabled." +} diff --git a/.changes/next-release/api-change-computeoptimizer-18290.json b/.changes/next-release/api-change-computeoptimizer-18290.json new file mode 100644 index 0000000000..453060622f --- /dev/null +++ b/.changes/next-release/api-change-computeoptimizer-18290.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``compute-optimizer``", + "description": "[``botocore``] This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases." +} diff --git a/.changes/next-release/api-change-controltower-13569.json b/.changes/next-release/api-change-controltower-13569.json new file mode 100644 index 0000000000..3952bbb6e5 --- /dev/null +++ b/.changes/next-release/api-change-controltower-13569.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controltower``", + "description": "[``botocore``] Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts." +} diff --git a/.changes/next-release/api-change-costoptimizationhub-87674.json b/.changes/next-release/api-change-costoptimizationhub-87674.json new file mode 100644 index 0000000000..8d3a20e7c0 --- /dev/null +++ b/.changes/next-release/api-change-costoptimizationhub-87674.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cost-optimization-hub``", + "description": "[``botocore``] This release adds action type \"Delete\" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type \"Delete\"." +} diff --git a/.changes/next-release/api-change-datazone-93401.json b/.changes/next-release/api-change-datazone-93401.json new file mode 100644 index 0000000000..72c9fcc8e7 --- /dev/null +++ b/.changes/next-release/api-change-datazone-93401.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "[``botocore``] This release supports Metadata Enforcement Rule feature for Create Subscription Request action." +} diff --git a/.changes/next-release/api-change-discovery-40174.json b/.changes/next-release/api-change-discovery-40174.json new file mode 100644 index 0000000000..5a1e6f5e63 --- /dev/null +++ b/.changes/next-release/api-change-discovery-40174.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``discovery``", + "description": "[``botocore``] Add support to import data from commercially available discovery tools without file manipulation." +} diff --git a/.changes/next-release/api-change-ec2-52808.json b/.changes/next-release/api-change-ec2-52808.json new file mode 100644 index 0000000000..68dc5c2256 --- /dev/null +++ b/.changes/next-release/api-change-ec2-52808.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "[``botocore``] With this release, customers can express their desire to launch instances only in an ODCR or ODCR group rather than OnDemand capacity. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family." +} diff --git a/.changes/next-release/api-change-ecs-4153.json b/.changes/next-release/api-change-ecs-4153.json new file mode 100644 index 0000000000..82a843d570 --- /dev/null +++ b/.changes/next-release/api-change-ecs-4153.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "[``botocore``] This release adds support for the Availability Zone rebalancing feature on Amazon ECS." +} diff --git a/.changes/next-release/api-change-elbv2-1292.json b/.changes/next-release/api-change-elbv2-1292.json new file mode 100644 index 0000000000..2f53af8e13 --- /dev/null +++ b/.changes/next-release/api-change-elbv2-1292.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "[``botocore``] This release adds support for configuring Load balancer Capacity Unit reservations" +} diff --git a/.changes/next-release/api-change-lambda-66589.json b/.changes/next-release/api-change-lambda-66589.json new file mode 100644 index 0000000000..05c32b2f0b --- /dev/null +++ b/.changes/next-release/api-change-lambda-66589.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "[``botocore``] Add Node 22.x (node22.x) support to AWS Lambda" +} diff --git a/.changes/next-release/api-change-mediaconvert-47935.json b/.changes/next-release/api-change-mediaconvert-47935.json new file mode 100644 index 0000000000..07b0e40160 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-47935.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "[``botocore``] This release adds the ability to reconfigure concurrent job settings for existing queues and create queues with custom concurrent job settings." +} diff --git a/.changes/next-release/api-change-mediapackagev2-86061.json b/.changes/next-release/api-change-mediapackagev2-86061.json new file mode 100644 index 0000000000..5e961e2df6 --- /dev/null +++ b/.changes/next-release/api-change-mediapackagev2-86061.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediapackagev2``", + "description": "[``botocore``] MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API." +} diff --git a/.changes/next-release/api-change-omics-36646.json b/.changes/next-release/api-change-omics-36646.json new file mode 100644 index 0000000000..afe6516ff1 --- /dev/null +++ b/.changes/next-release/api-change-omics-36646.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``omics``", + "description": "[``botocore``] Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run." +} diff --git a/.changes/next-release/api-change-rbin-72374.json b/.changes/next-release/api-change-rbin-72374.json new file mode 100644 index 0000000000..1a3caf6493 --- /dev/null +++ b/.changes/next-release/api-change-rbin-72374.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rbin``", + "description": "[``botocore``] This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule." +} diff --git a/.changes/next-release/api-change-rds-16228.json b/.changes/next-release/api-change-rds-16228.json new file mode 100644 index 0000000000..8c85420e6c --- /dev/null +++ b/.changes/next-release/api-change-rds-16228.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "[``botocore``] This release adds support for scale storage on the DB instance using a Blue/Green Deployment." +} diff --git a/.changes/next-release/api-change-timestreamquery-59956.json b/.changes/next-release/api-change-timestreamquery-59956.json new file mode 100644 index 0000000000..3a0b96446d --- /dev/null +++ b/.changes/next-release/api-change-timestreamquery-59956.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-query``", + "description": "[``botocore``] This release adds support for Provisioning Timestream Compute Units (TCUs), a new feature that allows provisioning dedicated compute resources for your queries, providing predictable and cost-effective query performance." +} diff --git a/.changes/next-release/api-change-workspaces-79136.json b/.changes/next-release/api-change-workspaces-79136.json new file mode 100644 index 0000000000..e07d0563e6 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-79136.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "[``botocore``] Added support for Rocky Linux 8 on Amazon WorkSpaces Personal." +} diff --git a/.changes/next-release/api-change-workspacesweb-55721.json b/.changes/next-release/api-change-workspacesweb-55721.json new file mode 100644 index 0000000000..5cc50da392 --- /dev/null +++ b/.changes/next-release/api-change-workspacesweb-55721.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-web``", + "description": "[``botocore``] Added data protection settings with support for inline data redaction." +} From cf90c6218d4725f34354c8c316dea464846f6252 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 20 Nov 2024 19:06:38 +0000 Subject: [PATCH 3/3] Bumping version to 1.35.66 --- .changes/1.35.66.json | 102 ++++++++++++++++++ .../api-change-autoscaling-75833.json | 5 - .../api-change-bedrockagentruntime-37272.json | 5 - .../api-change-cloudfront-34383.json | 5 - .../api-change-computeoptimizer-18290.json | 5 - .../api-change-controltower-13569.json | 5 - .../api-change-costoptimizationhub-87674.json | 5 - .../api-change-datazone-93401.json | 5 - .../api-change-discovery-40174.json | 5 - .../next-release/api-change-ec2-52808.json | 5 - .../next-release/api-change-ecs-4153.json | 5 - .../next-release/api-change-elbv2-1292.json | 5 - .../next-release/api-change-lambda-66589.json | 5 - .../api-change-mediaconvert-47935.json | 5 - .../api-change-mediapackagev2-86061.json | 5 - .../next-release/api-change-omics-36646.json | 5 - .../next-release/api-change-rbin-72374.json | 5 - .../next-release/api-change-rds-16228.json | 5 - .../api-change-timestreamquery-59956.json | 5 - .../api-change-workspaces-79136.json | 5 - .../api-change-workspacesweb-55721.json | 5 - CHANGELOG.rst | 25 +++++ boto3/__init__.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 25 files changed, 130 insertions(+), 103 deletions(-) create mode 100644 .changes/1.35.66.json delete mode 100644 .changes/next-release/api-change-autoscaling-75833.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-37272.json delete mode 100644 .changes/next-release/api-change-cloudfront-34383.json delete mode 100644 .changes/next-release/api-change-computeoptimizer-18290.json delete mode 100644 .changes/next-release/api-change-controltower-13569.json delete mode 100644 .changes/next-release/api-change-costoptimizationhub-87674.json delete mode 100644 .changes/next-release/api-change-datazone-93401.json delete mode 100644 .changes/next-release/api-change-discovery-40174.json delete mode 100644 .changes/next-release/api-change-ec2-52808.json delete mode 100644 .changes/next-release/api-change-ecs-4153.json delete mode 100644 .changes/next-release/api-change-elbv2-1292.json delete mode 100644 .changes/next-release/api-change-lambda-66589.json delete mode 100644 .changes/next-release/api-change-mediaconvert-47935.json delete mode 100644 .changes/next-release/api-change-mediapackagev2-86061.json delete mode 100644 .changes/next-release/api-change-omics-36646.json delete mode 100644 .changes/next-release/api-change-rbin-72374.json delete mode 100644 .changes/next-release/api-change-rds-16228.json delete mode 100644 .changes/next-release/api-change-timestreamquery-59956.json delete mode 100644 .changes/next-release/api-change-workspaces-79136.json delete mode 100644 .changes/next-release/api-change-workspacesweb-55721.json diff --git a/.changes/1.35.66.json b/.changes/1.35.66.json new file mode 100644 index 0000000000..84ce583355 --- /dev/null +++ b/.changes/1.35.66.json @@ -0,0 +1,102 @@ +[ + { + "category": "``autoscaling``", + "description": "[``botocore``] With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "[``botocore``] Releasing new Prompt Optimization to enhance your prompts for improved performance", + "type": "api-change" + }, + { + "category": "``cloudfront``", + "description": "[``botocore``] Add support for gRPC, VPC origins, and Anycast IP Lists. Allow LoggingConfig IncludeCookies to be set regardless of whether the LoggingConfig is enabled.", + "type": "api-change" + }, + { + "category": "``compute-optimizer``", + "description": "[``botocore``] This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases.", + "type": "api-change" + }, + { + "category": "``controltower``", + "description": "[``botocore``] Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts.", + "type": "api-change" + }, + { + "category": "``cost-optimization-hub``", + "description": "[``botocore``] This release adds action type \"Delete\" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type \"Delete\".", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "[``botocore``] This release supports Metadata Enforcement Rule feature for Create Subscription Request action.", + "type": "api-change" + }, + { + "category": "``discovery``", + "description": "[``botocore``] Add support to import data from commercially available discovery tools without file manipulation.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] With this release, customers can express their desire to launch instances only in an ODCR or ODCR group rather than OnDemand capacity. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "[``botocore``] This release adds support for the Availability Zone rebalancing feature on Amazon ECS.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "[``botocore``] This release adds support for configuring Load balancer Capacity Unit reservations", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "[``botocore``] Add Node 22.x (node22.x) support to AWS Lambda", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "[``botocore``] This release adds the ability to reconfigure concurrent job settings for existing queues and create queues with custom concurrent job settings.", + "type": "api-change" + }, + { + "category": "``mediapackagev2``", + "description": "[``botocore``] MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API.", + "type": "api-change" + }, + { + "category": "``omics``", + "description": "[``botocore``] Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run.", + "type": "api-change" + }, + { + "category": "``rbin``", + "description": "[``botocore``] This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "[``botocore``] This release adds support for scale storage on the DB instance using a Blue/Green Deployment.", + "type": "api-change" + }, + { + "category": "``timestream-query``", + "description": "[``botocore``] This release adds support for Provisioning Timestream Compute Units (TCUs), a new feature that allows provisioning dedicated compute resources for your queries, providing predictable and cost-effective query performance.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "[``botocore``] Added support for Rocky Linux 8 on Amazon WorkSpaces Personal.", + "type": "api-change" + }, + { + "category": "``workspaces-web``", + "description": "[``botocore``] Added data protection settings with support for inline data redaction.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-autoscaling-75833.json b/.changes/next-release/api-change-autoscaling-75833.json deleted file mode 100644 index 6691e49828..0000000000 --- a/.changes/next-release/api-change-autoscaling-75833.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "[``botocore``] With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-37272.json b/.changes/next-release/api-change-bedrockagentruntime-37272.json deleted file mode 100644 index b4193a0408..0000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-37272.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "[``botocore``] Releasing new Prompt Optimization to enhance your prompts for improved performance" -} diff --git a/.changes/next-release/api-change-cloudfront-34383.json b/.changes/next-release/api-change-cloudfront-34383.json deleted file mode 100644 index 454631f91b..0000000000 --- a/.changes/next-release/api-change-cloudfront-34383.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "[``botocore``] Add support for gRPC, VPC origins, and Anycast IP Lists. Allow LoggingConfig IncludeCookies to be set regardless of whether the LoggingConfig is enabled." -} diff --git a/.changes/next-release/api-change-computeoptimizer-18290.json b/.changes/next-release/api-change-computeoptimizer-18290.json deleted file mode 100644 index 453060622f..0000000000 --- a/.changes/next-release/api-change-computeoptimizer-18290.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``compute-optimizer``", - "description": "[``botocore``] This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases." -} diff --git a/.changes/next-release/api-change-controltower-13569.json b/.changes/next-release/api-change-controltower-13569.json deleted file mode 100644 index 3952bbb6e5..0000000000 --- a/.changes/next-release/api-change-controltower-13569.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controltower``", - "description": "[``botocore``] Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts." -} diff --git a/.changes/next-release/api-change-costoptimizationhub-87674.json b/.changes/next-release/api-change-costoptimizationhub-87674.json deleted file mode 100644 index 8d3a20e7c0..0000000000 --- a/.changes/next-release/api-change-costoptimizationhub-87674.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cost-optimization-hub``", - "description": "[``botocore``] This release adds action type \"Delete\" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type \"Delete\"." -} diff --git a/.changes/next-release/api-change-datazone-93401.json b/.changes/next-release/api-change-datazone-93401.json deleted file mode 100644 index 72c9fcc8e7..0000000000 --- a/.changes/next-release/api-change-datazone-93401.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "[``botocore``] This release supports Metadata Enforcement Rule feature for Create Subscription Request action." -} diff --git a/.changes/next-release/api-change-discovery-40174.json b/.changes/next-release/api-change-discovery-40174.json deleted file mode 100644 index 5a1e6f5e63..0000000000 --- a/.changes/next-release/api-change-discovery-40174.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``discovery``", - "description": "[``botocore``] Add support to import data from commercially available discovery tools without file manipulation." -} diff --git a/.changes/next-release/api-change-ec2-52808.json b/.changes/next-release/api-change-ec2-52808.json deleted file mode 100644 index 68dc5c2256..0000000000 --- a/.changes/next-release/api-change-ec2-52808.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "[``botocore``] With this release, customers can express their desire to launch instances only in an ODCR or ODCR group rather than OnDemand capacity. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family." -} diff --git a/.changes/next-release/api-change-ecs-4153.json b/.changes/next-release/api-change-ecs-4153.json deleted file mode 100644 index 82a843d570..0000000000 --- a/.changes/next-release/api-change-ecs-4153.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "[``botocore``] This release adds support for the Availability Zone rebalancing feature on Amazon ECS." -} diff --git a/.changes/next-release/api-change-elbv2-1292.json b/.changes/next-release/api-change-elbv2-1292.json deleted file mode 100644 index 2f53af8e13..0000000000 --- a/.changes/next-release/api-change-elbv2-1292.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "[``botocore``] This release adds support for configuring Load balancer Capacity Unit reservations" -} diff --git a/.changes/next-release/api-change-lambda-66589.json b/.changes/next-release/api-change-lambda-66589.json deleted file mode 100644 index 05c32b2f0b..0000000000 --- a/.changes/next-release/api-change-lambda-66589.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "[``botocore``] Add Node 22.x (node22.x) support to AWS Lambda" -} diff --git a/.changes/next-release/api-change-mediaconvert-47935.json b/.changes/next-release/api-change-mediaconvert-47935.json deleted file mode 100644 index 07b0e40160..0000000000 --- a/.changes/next-release/api-change-mediaconvert-47935.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "[``botocore``] This release adds the ability to reconfigure concurrent job settings for existing queues and create queues with custom concurrent job settings." -} diff --git a/.changes/next-release/api-change-mediapackagev2-86061.json b/.changes/next-release/api-change-mediapackagev2-86061.json deleted file mode 100644 index 5e961e2df6..0000000000 --- a/.changes/next-release/api-change-mediapackagev2-86061.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediapackagev2``", - "description": "[``botocore``] MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API." -} diff --git a/.changes/next-release/api-change-omics-36646.json b/.changes/next-release/api-change-omics-36646.json deleted file mode 100644 index afe6516ff1..0000000000 --- a/.changes/next-release/api-change-omics-36646.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``omics``", - "description": "[``botocore``] Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run." -} diff --git a/.changes/next-release/api-change-rbin-72374.json b/.changes/next-release/api-change-rbin-72374.json deleted file mode 100644 index 1a3caf6493..0000000000 --- a/.changes/next-release/api-change-rbin-72374.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rbin``", - "description": "[``botocore``] This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule." -} diff --git a/.changes/next-release/api-change-rds-16228.json b/.changes/next-release/api-change-rds-16228.json deleted file mode 100644 index 8c85420e6c..0000000000 --- a/.changes/next-release/api-change-rds-16228.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "[``botocore``] This release adds support for scale storage on the DB instance using a Blue/Green Deployment." -} diff --git a/.changes/next-release/api-change-timestreamquery-59956.json b/.changes/next-release/api-change-timestreamquery-59956.json deleted file mode 100644 index 3a0b96446d..0000000000 --- a/.changes/next-release/api-change-timestreamquery-59956.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-query``", - "description": "[``botocore``] This release adds support for Provisioning Timestream Compute Units (TCUs), a new feature that allows provisioning dedicated compute resources for your queries, providing predictable and cost-effective query performance." -} diff --git a/.changes/next-release/api-change-workspaces-79136.json b/.changes/next-release/api-change-workspaces-79136.json deleted file mode 100644 index e07d0563e6..0000000000 --- a/.changes/next-release/api-change-workspaces-79136.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "[``botocore``] Added support for Rocky Linux 8 on Amazon WorkSpaces Personal." -} diff --git a/.changes/next-release/api-change-workspacesweb-55721.json b/.changes/next-release/api-change-workspacesweb-55721.json deleted file mode 100644 index 5cc50da392..0000000000 --- a/.changes/next-release/api-change-workspacesweb-55721.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-web``", - "description": "[``botocore``] Added data protection settings with support for inline data redaction." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bc95458d06..2d90a00f8e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,31 @@ CHANGELOG ========= +1.35.66 +======= + +* api-change:``autoscaling``: [``botocore``] With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs. +* api-change:``bedrock-agent-runtime``: [``botocore``] Releasing new Prompt Optimization to enhance your prompts for improved performance +* api-change:``cloudfront``: [``botocore``] Add support for gRPC, VPC origins, and Anycast IP Lists. Allow LoggingConfig IncludeCookies to be set regardless of whether the LoggingConfig is enabled. +* api-change:``compute-optimizer``: [``botocore``] This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases. +* api-change:``controltower``: [``botocore``] Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts. +* api-change:``cost-optimization-hub``: [``botocore``] This release adds action type "Delete" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type "Delete". +* api-change:``datazone``: [``botocore``] This release supports Metadata Enforcement Rule feature for Create Subscription Request action. +* api-change:``discovery``: [``botocore``] Add support to import data from commercially available discovery tools without file manipulation. +* api-change:``ec2``: [``botocore``] With this release, customers can express their desire to launch instances only in an ODCR or ODCR group rather than OnDemand capacity. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family. +* api-change:``ecs``: [``botocore``] This release adds support for the Availability Zone rebalancing feature on Amazon ECS. +* api-change:``elbv2``: [``botocore``] This release adds support for configuring Load balancer Capacity Unit reservations +* api-change:``lambda``: [``botocore``] Add Node 22.x (node22.x) support to AWS Lambda +* api-change:``mediaconvert``: [``botocore``] This release adds the ability to reconfigure concurrent job settings for existing queues and create queues with custom concurrent job settings. +* api-change:``mediapackagev2``: [``botocore``] MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API. +* api-change:``omics``: [``botocore``] Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run. +* api-change:``rbin``: [``botocore``] This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule. +* api-change:``rds``: [``botocore``] This release adds support for scale storage on the DB instance using a Blue/Green Deployment. +* api-change:``timestream-query``: [``botocore``] This release adds support for Provisioning Timestream Compute Units (TCUs), a new feature that allows provisioning dedicated compute resources for your queries, providing predictable and cost-effective query performance. +* api-change:``workspaces``: [``botocore``] Added support for Rocky Linux 8 on Amazon WorkSpaces Personal. +* api-change:``workspaces-web``: [``botocore``] Added data protection settings with support for inline data redaction. + + 1.35.65 ======= diff --git a/boto3/__init__.py b/boto3/__init__.py index 7e622c962b..35d4b62c69 100644 --- a/boto3/__init__.py +++ b/boto3/__init__.py @@ -17,7 +17,7 @@ from boto3.session import Session __author__ = 'Amazon Web Services' -__version__ = '1.35.65' +__version__ = '1.35.66' # The default Boto3 session; autoloaded when needed. diff --git a/setup.cfg b/setup.cfg index c1d305daa9..cb40c51f2d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore>=1.35.65,<1.36.0 + botocore>=1.35.66,<1.36.0 jmespath>=0.7.1,<2.0.0 s3transfer>=0.10.0,<0.11.0 diff --git a/setup.py b/setup.py index 6fbbbb0418..54174baf82 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ requires = [ - 'botocore>=1.35.65,<1.36.0', + 'botocore>=1.35.66,<1.36.0', 'jmespath>=0.7.1,<2.0.0', 's3transfer>=0.10.0,<0.11.0', ]