Skip to content

Commit

Permalink
Merge branch 'release-1.35.22'
Browse files Browse the repository at this point in the history
* release-1.35.22:
  Bumping version to 1.35.22
  Update to latest models
  Merge customizations for Directory Service Data
  Factor out AWS_STS_REGIONAL_ENDPOINTS to allow customization (#3257)
  • Loading branch information
aws-sdk-python-automation committed Sep 18, 2024
2 parents c7615e4 + f3f7252 commit 1c5dec3
Show file tree
Hide file tree
Showing 17 changed files with 2,841 additions and 108 deletions.
37 changes: 37 additions & 0 deletions .changes/1.35.22.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"category": "``ce``",
"description": "This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations.",
"type": "api-change"
},
{
"category": "``ds``",
"description": "Added new APIs for enabling, disabling, and describing access to the AWS Directory Service Data API",
"type": "api-change"
},
{
"category": "``ds-data``",
"description": "Added new AWS Directory Service Data API, enabling you to manage data stored in AWS Directory Service directories. This includes APIs for creating, reading, updating, and deleting directory users, groups, and group memberships.",
"type": "api-change"
},
{
"category": "``guardduty``",
"description": "Add `launchType` and `sourceIPs` fields to GuardDuty findings.",
"type": "api-change"
},
{
"category": "``mailmanager``",
"description": "Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers.",
"type": "api-change"
},
{
"category": "``rds``",
"description": "Updates Amazon RDS documentation with information upgrading snapshots with unsupported engine versions for RDS for MySQL and RDS for PostgreSQL.",
"type": "api-change"
},
{
"category": "``s3``",
"description": "Added SSE-KMS support for directory buckets.",
"type": "api-change"
}
]
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
CHANGELOG
=========

1.35.22
=======

* api-change:``ce``: This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations.
* api-change:``ds``: Added new APIs for enabling, disabling, and describing access to the AWS Directory Service Data API
* api-change:``ds-data``: Added new AWS Directory Service Data API, enabling you to manage data stored in AWS Directory Service directories. This includes APIs for creating, reading, updating, and deleting directory users, groups, and group memberships.
* api-change:``guardduty``: Add `launchType` and `sourceIPs` fields to GuardDuty findings.
* api-change:``mailmanager``: Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers.
* api-change:``rds``: Updates Amazon RDS documentation with information upgrading snapshots with unsupported engine versions for RDS for MySQL and RDS for PostgreSQL.
* api-change:``s3``: Added SSE-KMS support for directory buckets.


1.35.21
=======

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.35.21'
__version__ = '1.35.22'


class NullHandler(logging.Handler):
Expand Down
28 changes: 22 additions & 6 deletions botocore/configprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,6 @@
'auto',
None,
),
'sts_regional_endpoints': (
'sts_regional_endpoints',
'AWS_STS_REGIONAL_ENDPOINTS',
'legacy',
None,
),
'retry_mode': ('retry_mode', 'AWS_RETRY_MODE', 'legacy', None),
'defaults_mode': ('defaults_mode', 'AWS_DEFAULTS_MODE', 'legacy', None),
# We can't have a default here for v1 because we need to defer to
Expand All @@ -175,6 +169,28 @@
None,
),
}

# Evaluate AWS_STS_REGIONAL_ENDPOINTS settings
try:
# This is not a public interface and is subject to abrupt breaking changes.
# Any usage is not advised or supported in external code bases.
from botocore.customizations.sts import (
sts_default_setting as _sts_default_setting,
)
except ImportError:
_sts_default_setting = 'legacy'

_STS_DEFAULT_SETTINGS = {
'sts_regional_endpoints': (
'sts_regional_endpoints',
'AWS_STS_REGIONAL_ENDPOINTS',
_sts_default_setting,
None,
),
}
BOTOCORE_DEFAUT_SESSION_VARIABLES.update(_STS_DEFAULT_SETTINGS)


# A mapping for the s3 specific configuration vars. These are the configuration
# vars that typically go in the s3 section of the config file. This mapping
# follows the same schema as the previous session variable mapping.
Expand Down
66 changes: 56 additions & 10 deletions botocore/data/ce/2017-10-25/service-2.json

Large diffs are not rendered by default.

Loading

0 comments on commit 1c5dec3

Please sign in to comment.