Skip to content

Commit afebd54

Browse files
authored
Prep release 5.0.18 (#8243)
1 parent fcb3c8b commit afebd54

14 files changed

Lines changed: 55 additions & 21 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
Moto Changelog
22
==============
33

4+
5.0.18
5+
-----
6+
Docker Digest for 5.0.18: <autopopulateddigest>
7+
8+
New Methods:
9+
* RDS:
10+
* delete_db_proxy()
11+
* deregister_db_proxy_targets()
12+
* describe_db_proxy_target_groups()
13+
* describe_db_proxy_targets()
14+
* modify_db_proxy_target_group()
15+
* register_db_proxy_targets()
16+
17+
Miscellaneous:
18+
* CloudFormation: create_change_set() now supports the UsePreviousTemplate-parameter
19+
* CognitoIDP: MFA-related features (like AssociateSoftwareToken) now also work with non-Python SDK's
20+
* ECS: update_service() now correctly sets the createdAt/updatedAt values when forceNewDeployment=True
21+
* ELBv2: remove_tags() now throws a ResourceNotFound Exception
22+
23+
424
5.0.17
525
-----
626
Docker Digest for 5.0.17: _sha256:39372432cb24ab46211ca45648ca787e104589070b0d0a13ea0d73c6eb550079_

IMPLEMENTATION_COVERAGE.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6379,6 +6379,7 @@
63796379
- [ ] start_asset_bundle_export_job
63806380
- [ ] start_asset_bundle_import_job
63816381
- [ ] start_dashboard_snapshot_job
6382+
- [ ] start_dashboard_snapshot_job_schedule
63826383
- [ ] tag_resource
63836384
- [ ] untag_resource
63846385
- [ ] update_account_customization
@@ -6640,7 +6641,7 @@
66406641

66416642
## redshift
66426643
<details>
6643-
<summary>22% implemented</summary>
6644+
<summary>21% implemented</summary>
66446645

66456646
- [ ] accept_reserved_node_exchange
66466647
- [ ] add_partner
@@ -6664,6 +6665,7 @@
66646665
- [ ] create_event_subscription
66656666
- [ ] create_hsm_client_certificate
66666667
- [ ] create_hsm_configuration
6668+
- [ ] create_integration
66676669
- [ ] create_redshift_idc_application
66686670
- [ ] create_scheduled_action
66696671
- [X] create_snapshot_copy_grant
@@ -6682,6 +6684,7 @@
66826684
- [ ] delete_event_subscription
66836685
- [ ] delete_hsm_client_certificate
66846686
- [ ] delete_hsm_configuration
6687+
- [ ] delete_integration
66856688
- [ ] delete_partner
66866689
- [ ] delete_redshift_idc_application
66876690
- [ ] delete_resource_policy
@@ -6714,6 +6717,7 @@
67146717
- [ ] describe_hsm_client_certificates
67156718
- [ ] describe_hsm_configurations
67166719
- [ ] describe_inbound_integrations
6720+
- [ ] describe_integrations
67176721
- [ ] describe_logging_status
67186722
- [ ] describe_node_configuration_options
67196723
- [ ] describe_orderable_cluster_options
@@ -6755,6 +6759,7 @@
67556759
- [ ] modify_custom_domain_association
67566760
- [ ] modify_endpoint_access
67576761
- [ ] modify_event_subscription
6762+
- [ ] modify_integration
67586763
- [ ] modify_redshift_idc_application
67596764
- [ ] modify_scheduled_action
67606765
- [X] modify_snapshot_copy_retention_period
@@ -8755,6 +8760,7 @@
87558760
- [ ] list_certificates
87568761
- [ ] list_connectors
87578762
- [ ] list_executions
8763+
- [ ] list_file_transfer_results
87588764
- [ ] list_host_keys
87598765
- [ ] list_profiles
87608766
- [ ] list_security_policies

docs/docs/services/quicksight.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ quicksight
164164
- [ ] start_asset_bundle_export_job
165165
- [ ] start_asset_bundle_import_job
166166
- [ ] start_dashboard_snapshot_job
167+
- [ ] start_dashboard_snapshot_job_schedule
167168
- [ ] tag_resource
168169
- [ ] untag_resource
169170
- [ ] update_account_customization

docs/docs/services/redshift.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ redshift
3636
- [ ] create_event_subscription
3737
- [ ] create_hsm_client_certificate
3838
- [ ] create_hsm_configuration
39+
- [ ] create_integration
3940
- [ ] create_redshift_idc_application
4041
- [ ] create_scheduled_action
4142
- [X] create_snapshot_copy_grant
@@ -54,6 +55,7 @@ redshift
5455
- [ ] delete_event_subscription
5556
- [ ] delete_hsm_client_certificate
5657
- [ ] delete_hsm_configuration
58+
- [ ] delete_integration
5759
- [ ] delete_partner
5860
- [ ] delete_redshift_idc_application
5961
- [ ] delete_resource_policy
@@ -86,6 +88,7 @@ redshift
8688
- [ ] describe_hsm_client_certificates
8789
- [ ] describe_hsm_configurations
8890
- [ ] describe_inbound_integrations
91+
- [ ] describe_integrations
8992
- [ ] describe_logging_status
9093
- [ ] describe_node_configuration_options
9194
- [ ] describe_orderable_cluster_options
@@ -127,6 +130,7 @@ redshift
127130
- [ ] modify_custom_domain_association
128131
- [ ] modify_endpoint_access
129132
- [ ] modify_event_subscription
133+
- [ ] modify_integration
130134
- [ ] modify_redshift_idc_application
131135
- [ ] modify_scheduled_action
132136
- [X] modify_snapshot_copy_retention_period

docs/docs/services/transfer.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ transfer
5252
- [ ] list_certificates
5353
- [ ] list_connectors
5454
- [ ] list_executions
55+
- [ ] list_file_transfer_results
5556
- [ ] list_host_keys
5657
- [ ] list_profiles
5758
- [ ] list_security_policies

moto/backend_index.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
("apigateway", re.compile("https?://apigateway\\.(.+)\\.amazonaws.com")),
99
(
1010
"apigatewaymanagementapi",
11-
re.compile(
12-
"https?://([^.]+\\.)*execute-api\\.[a-z]{2}-[-a-z]+-\\d+\\.amazonaws\\.com"
13-
),
11+
re.compile("https?://([^.]+\\.)*execute-api\\.[^.]+\\.amazonaws\\.com"),
1412
),
1513
("appconfig", re.compile("https?://appconfig\\.(.+)\\.amazonaws\\.com")),
1614
(
@@ -121,10 +119,13 @@
121119
("memorydb", re.compile("https?://memory-db\\.(.+)\\.amazonaws\\.com")),
122120
(
123121
"meteringmarketplace",
124-
re.compile("https?://metering.marketplace.(.+).amazonaws.com"),
122+
re.compile("https?://metering\\.marketplace\\.(.+)\\.amazonaws\\.com"),
123+
),
124+
(
125+
"meteringmarketplace",
126+
re.compile("https?://aws-marketplace\\.(.+)\\.amazonaws\\.com"),
125127
),
126-
("meteringmarketplace", re.compile("https?://aws-marketplace.(.+).amazonaws.com")),
127-
("moto_api._internal", re.compile("https?://motoapi.amazonaws.com")),
128+
("moto_api._internal", re.compile("https?://motoapi\\.amazonaws\\.com")),
128129
("mq", re.compile("https?://mq\\.(.+)\\.amazonaws\\.com")),
129130
("networkmanager", re.compile("https?://networkmanager\\.(.+)\\.amazonaws\\.com")),
130131
("opensearchserverless", re.compile("https?://aoss\\.(.+)\\.amazonaws\\.com")),
@@ -171,7 +172,7 @@
171172
("sagemaker", re.compile("https?://api\\.sagemaker\\.(.+)\\.amazonaws.com")),
172173
(
173174
"sagemakermetrics",
174-
re.compile("https?://metrics.sagemaker\\.(.+)\\.amazonaws\\.com"),
175+
re.compile("https?://metrics\\.sagemaker\\.(.+)\\.amazonaws\\.com"),
175176
),
176177
(
177178
"sagemakerruntime",
@@ -202,7 +203,7 @@
202203
("textract", re.compile("https?://textract\\.(.+)\\.amazonaws\\.com")),
203204
(
204205
"timestreamquery",
205-
re.compile("https?://query.timestream\\.(.+)\\.amazonaws\\.com"),
206+
re.compile("https?://query\\.timestream\\.(.+)\\.amazonaws\\.com"),
206207
),
207208
(
208209
"timestreamwrite",

moto/meteringmarketplace/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from .responses import MarketplaceMeteringResponse
22

33
url_bases = [
4-
"https?://metering.marketplace.(.+).amazonaws.com",
5-
"https?://aws-marketplace.(.+).amazonaws.com",
4+
r"https?://metering\.marketplace\.(.+)\.amazonaws\.com",
5+
r"https?://aws-marketplace\.(.+)\.amazonaws\.com",
66
]
77

88
url_paths = {"{0}/$": MarketplaceMeteringResponse.dispatch}

moto/moto_api/_internal/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from .recorder.responses import RecorderResponse
22
from .responses import MotoAPIResponse
33

4-
url_bases = ["https?://motoapi.amazonaws.com"]
4+
url_bases = [r"https?://motoapi\.amazonaws\.com"]
55

66
response_instance = MotoAPIResponse()
77
recorder_response = RecorderResponse()

moto/sagemakermetrics/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from .responses import SageMakerMetricsResponse
44

55
url_bases = [
6-
r"https?://metrics.sagemaker\.(.+)\.amazonaws\.com",
6+
r"https?://metrics\.sagemaker\.(.+)\.amazonaws\.com",
77
]
88

99
url_paths = {

moto/sns/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def get_post_data(
385385

386386
@lru_cache()
387387
def private_key(self) -> rsa.RSAPrivateKey:
388-
return rsa.generate_private_key(public_exponent=65537, key_size=2028)
388+
return rsa.generate_private_key(public_exponent=65537, key_size=2048)
389389

390390
def _parse_message_structure(self, message: str, protocol: str) -> str:
391391
try:

0 commit comments

Comments
 (0)