Skip to content

Commit a6acb7e

Browse files
authored
Prepare release 3.1.9 (#5135)
1 parent 0e3ac26 commit a6acb7e

11 files changed

Lines changed: 72 additions & 22 deletions

File tree

CHANGELOG.md

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

4+
3.1.9
5+
-----
6+
Docker Digest for 3.1.9: <autopopulateddigest>
7+
8+
New Services:
9+
* EBS:
10+
* complete_snapshot()
11+
* get_snapshot_block()
12+
* list_changed_blocks()
13+
* list_snapshot_blocks()
14+
* put_snapshot_block()
15+
* start_snapshot()
16+
17+
New Methods:
18+
* CloudFront:
19+
* update_distribution()
20+
* Datasets:
21+
* create_dataset()
22+
* delete_dataset()
23+
* describe_dataset()
24+
* list_datasets()
25+
* update_dataset()
26+
* Glue:
27+
* list_crawlers()
28+
* Rekognition:
29+
* get_face_search()
30+
* start_face_seach()
31+
32+
Miscellaneous:
33+
* EC2:describe_vpc_endpoints() now supports the `vpc-endpoint-type`-filter
34+
* RDS:create_db_cluster() now supports the EnableCloudwatchLogsExports-parameter
35+
* RDS:create_db_instance() now supports the EnableCloudwatchLogsExports-parameter
36+
* SSM now integrates with SecretsManager
37+
438
3.1.8
539
-----
640
Docker Digest for 3.1.8: _sha256:a7d8c55eec8d75d75dd2532a6a0a9647935238236a54e4de7bb3f72bc28b7bf8_

IMPLEMENTATION_COVERAGE.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@
536536

537537
## cloudfront
538538
<details>
539-
<summary>4% implemented</summary>
539+
<summary>5% implemented</summary>
540540

541541
- [ ] associate_alias
542542
- [ ] create_cache_policy
@@ -620,7 +620,7 @@
620620
- [ ] untag_resource
621621
- [ ] update_cache_policy
622622
- [ ] update_cloud_front_origin_access_identity
623-
- [ ] update_distribution
623+
- [X] update_distribution
624624
- [ ] update_field_level_encryption_config
625625
- [ ] update_field_level_encryption_profile
626626
- [ ] update_function
@@ -1069,7 +1069,7 @@
10691069

10701070
## databrew
10711071
<details>
1072-
<summary>27% implemented</summary>
1072+
<summary>34% implemented</summary>
10731073

10741074
- [ ] batch_delete_recipe_version
10751075
- [X] create_dataset
@@ -1802,6 +1802,7 @@
18021802
- [ ] get_groups_for_capacity_reservation
18031803
- [ ] get_host_reservation_purchase_preview
18041804
- [ ] get_instance_types_from_instance_requirements
1805+
- [ ] get_instance_uefi_data
18051806
- [ ] get_ipam_address_history
18061807
- [ ] get_ipam_pool_allocations
18071808
- [ ] get_ipam_pool_cidrs
@@ -2789,7 +2790,7 @@
27892790
- [ ] get_workflow_runs
27902791
- [ ] import_catalog_to_glue
27912792
- [ ] list_blueprints
2792-
- [ ] list_crawlers
2793+
- [X] list_crawlers
27932794
- [ ] list_custom_entity_types
27942795
- [ ] list_dev_endpoints
27952796
- [X] list_jobs
@@ -4516,7 +4517,7 @@
45164517

45174518
## rekognition
45184519
<details>
4519-
<summary>3% implemented</summary>
4520+
<summary>6% implemented</summary>
45204521

45214522
- [ ] compare_faces
45224523
- [ ] create_collection
@@ -4546,7 +4547,7 @@
45464547
- [ ] get_celebrity_recognition
45474548
- [ ] get_content_moderation
45484549
- [ ] get_face_detection
4549-
- [ ] get_face_search
4550+
- [X] get_face_search
45504551
- [ ] get_label_detection
45514552
- [ ] get_person_tracking
45524553
- [ ] get_segment_detection
@@ -4564,7 +4565,7 @@
45644565
- [ ] start_celebrity_recognition
45654566
- [ ] start_content_moderation
45664567
- [ ] start_face_detection
4567-
- [ ] start_face_search
4568+
- [X] start_face_search
45684569
- [ ] start_label_detection
45694570
- [ ] start_person_tracking
45704571
- [ ] start_project_version

docs/docs/services/cloudfront.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ cloudfront
3030
- [ ] create_cloud_front_origin_access_identity
3131
- [X] create_distribution
3232

33-
This has been tested against an S3-distribution with the simplest possible configuration.
34-
Please raise an issue if we're not persisting/returning the correct attributes for your use-case.
33+
This has been tested against an S3-distribution with the
34+
simplest possible configuration. Please raise an issue if
35+
we're not persisting/returning the correct attributes for your
36+
use-case.
3537

3638

3739
- [ ] create_distribution_with_tags
@@ -122,13 +124,10 @@ cloudfront
122124
- [ ] update_cache_policy
123125
- [ ] update_cloud_front_origin_access_identity
124126
- [X] update_distribution
125-
127+
126128
The IfMatch-value is ignored - any value is considered valid.
127129
Calling this function without a value is invalid, per AWS' behaviour
128-
129-
This implementation is immature, and tests the basic
130-
functionality of updating an exisint distribution with very
131-
simple changes.
130+
132131

133132
- [ ] update_field_level_encryption_config
134133
- [ ] update_field_level_encryption_profile

docs/docs/services/ec2.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ ec2
427427
- [ ] get_groups_for_capacity_reservation
428428
- [ ] get_host_reservation_purchase_preview
429429
- [ ] get_instance_types_from_instance_requirements
430+
- [ ] get_instance_uefi_data
430431
- [ ] get_ipam_address_history
431432
- [ ] get_ipam_pool_allocations
432433
- [ ] get_ipam_pool_cidrs

docs/docs/services/glue.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ glue
150150
- [ ] get_workflow_runs
151151
- [ ] import_catalog_to_glue
152152
- [ ] list_blueprints
153-
- [ ] list_crawlers
153+
- [X] list_crawlers
154154
- [ ] list_custom_entity_types
155155
- [ ] list_dev_endpoints
156156
- [X] list_jobs

docs/docs/services/rekognition.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ rekognition
5555
- [ ] get_celebrity_recognition
5656
- [ ] get_content_moderation
5757
- [ ] get_face_detection
58-
- [ ] get_face_search
58+
- [X] get_face_search
59+
60+
This returns hardcoded values and none of the parameters are taken into account.
61+
62+
5963
- [ ] get_label_detection
6064
- [ ] get_person_tracking
6165
- [ ] get_segment_detection
@@ -77,7 +81,7 @@ rekognition
7781
- [ ] start_celebrity_recognition
7882
- [ ] start_content_moderation
7983
- [ ] start_face_detection
80-
- [ ] start_face_search
84+
- [X] start_face_search
8185
- [ ] start_label_detection
8286
- [ ] start_person_tracking
8387
- [ ] start_project_version

moto/backend_index.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# autogenerated by ./scripts/update_backend_index.py
1+
# autogenerated by scripts/update_backend_index.py
22
import re
33

44
backend_url_patterns = [
@@ -92,7 +92,10 @@
9292
("medialive", re.compile("https?://medialive\\.(.+)\\.amazonaws.com")),
9393
("mediapackage", re.compile("https?://mediapackage\\.(.+)\\.amazonaws.com")),
9494
("mediastore", re.compile("https?://mediastore\\.(.+)\\.amazonaws\\.com")),
95-
("mediastore-data", re.compile("https?://data.mediastore\\.(.+)\\.amazonaws.com")),
95+
(
96+
"mediastore-data",
97+
re.compile("https?://data\\.mediastore\\.(.+)\\.amazonaws.com"),
98+
),
9699
("mq", re.compile("https?://mq\\.(.+)\\.amazonaws\\.com")),
97100
("opsworks", re.compile("https?://opsworks\\.us-east-1\\.amazonaws.com")),
98101
("organizations", re.compile("https?://organizations\\.(.+)\\.amazonaws\\.com")),
@@ -126,7 +129,7 @@
126129
"s3control",
127130
re.compile("https?://([0-9]+)\\.s3-control\\.(.+)\\.amazonaws\\.com"),
128131
),
129-
("sagemaker", re.compile("https?://api.sagemaker\\.(.+)\\.amazonaws.com")),
132+
("sagemaker", re.compile("https?://api\\.sagemaker\\.(.+)\\.amazonaws.com")),
130133
("sdb", re.compile("https?://sdb\\.(.+)\\.amazonaws\\.com")),
131134
("secretsmanager", re.compile("https?://secretsmanager\\.(.+)\\.amazonaws\\.com")),
132135
(

moto/cloudformation/models.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,12 @@ def filter_stacks(all_stacks, status_filter):
528528

529529

530530
class CloudFormationBackend(BaseBackend):
531+
"""
532+
CustomResources are supported when running Moto in ServerMode.
533+
Because creating these resources involves running a Lambda-function that informs the MotoServer about the status of the resources, the MotoServer has to be reachable for outside connections.
534+
This means it has to run inside a Docker-container, or be started using `moto_server -h 0.0.0.0`.
535+
"""
536+
531537
def __init__(self, region=None):
532538
self.stacks = OrderedDict()
533539
self.stacksets = OrderedDict()

moto/mediastoredata/urls.py

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

33
url_bases = [
4-
r"https?://data.mediastore\.(.+)\.amazonaws.com",
4+
r"https?://data\.mediastore\.(.+)\.amazonaws.com",
55
]
66

77
response = MediaStoreDataResponse()

moto/sagemaker/urls.py

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

33
url_bases = [
4-
r"https?://api.sagemaker\.(.+)\.amazonaws.com",
4+
r"https?://api\.sagemaker\.(.+)\.amazonaws.com",
55
]
66

77
url_paths = {

0 commit comments

Comments
 (0)