Prepare release 3.1.9 (#5135)

This commit is contained in:
Bert Blommers 2022-05-13 21:50:07 +00:00 committed by GitHub
parent 0e3ac26068
commit a6acb7ed55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 72 additions and 22 deletions

View File

@ -1,6 +1,40 @@
Moto Changelog Moto Changelog
============== ==============
3.1.9
-----
Docker Digest for 3.1.9: <autopopulateddigest>
New Services:
* EBS:
* complete_snapshot()
* get_snapshot_block()
* list_changed_blocks()
* list_snapshot_blocks()
* put_snapshot_block()
* start_snapshot()
New Methods:
* CloudFront:
* update_distribution()
* Datasets:
* create_dataset()
* delete_dataset()
* describe_dataset()
* list_datasets()
* update_dataset()
* Glue:
* list_crawlers()
* Rekognition:
* get_face_search()
* start_face_seach()
Miscellaneous:
* EC2:describe_vpc_endpoints() now supports the `vpc-endpoint-type`-filter
* RDS:create_db_cluster() now supports the EnableCloudwatchLogsExports-parameter
* RDS:create_db_instance() now supports the EnableCloudwatchLogsExports-parameter
* SSM now integrates with SecretsManager
3.1.8 3.1.8
----- -----
Docker Digest for 3.1.8: _sha256:a7d8c55eec8d75d75dd2532a6a0a9647935238236a54e4de7bb3f72bc28b7bf8_ Docker Digest for 3.1.8: _sha256:a7d8c55eec8d75d75dd2532a6a0a9647935238236a54e4de7bb3f72bc28b7bf8_

View File

@ -536,7 +536,7 @@
## cloudfront ## cloudfront
<details> <details>
<summary>4% implemented</summary> <summary>5% implemented</summary>
- [ ] associate_alias - [ ] associate_alias
- [ ] create_cache_policy - [ ] create_cache_policy
@ -620,7 +620,7 @@
- [ ] untag_resource - [ ] untag_resource
- [ ] update_cache_policy - [ ] update_cache_policy
- [ ] update_cloud_front_origin_access_identity - [ ] update_cloud_front_origin_access_identity
- [ ] update_distribution - [X] update_distribution
- [ ] update_field_level_encryption_config - [ ] update_field_level_encryption_config
- [ ] update_field_level_encryption_profile - [ ] update_field_level_encryption_profile
- [ ] update_function - [ ] update_function
@ -1069,7 +1069,7 @@
## databrew ## databrew
<details> <details>
<summary>27% implemented</summary> <summary>34% implemented</summary>
- [ ] batch_delete_recipe_version - [ ] batch_delete_recipe_version
- [X] create_dataset - [X] create_dataset
@ -1802,6 +1802,7 @@
- [ ] get_groups_for_capacity_reservation - [ ] get_groups_for_capacity_reservation
- [ ] get_host_reservation_purchase_preview - [ ] get_host_reservation_purchase_preview
- [ ] get_instance_types_from_instance_requirements - [ ] get_instance_types_from_instance_requirements
- [ ] get_instance_uefi_data
- [ ] get_ipam_address_history - [ ] get_ipam_address_history
- [ ] get_ipam_pool_allocations - [ ] get_ipam_pool_allocations
- [ ] get_ipam_pool_cidrs - [ ] get_ipam_pool_cidrs
@ -2789,7 +2790,7 @@
- [ ] get_workflow_runs - [ ] get_workflow_runs
- [ ] import_catalog_to_glue - [ ] import_catalog_to_glue
- [ ] list_blueprints - [ ] list_blueprints
- [ ] list_crawlers - [X] list_crawlers
- [ ] list_custom_entity_types - [ ] list_custom_entity_types
- [ ] list_dev_endpoints - [ ] list_dev_endpoints
- [X] list_jobs - [X] list_jobs
@ -4516,7 +4517,7 @@
## rekognition ## rekognition
<details> <details>
<summary>3% implemented</summary> <summary>6% implemented</summary>
- [ ] compare_faces - [ ] compare_faces
- [ ] create_collection - [ ] create_collection
@ -4546,7 +4547,7 @@
- [ ] get_celebrity_recognition - [ ] get_celebrity_recognition
- [ ] get_content_moderation - [ ] get_content_moderation
- [ ] get_face_detection - [ ] get_face_detection
- [ ] get_face_search - [X] get_face_search
- [ ] get_label_detection - [ ] get_label_detection
- [ ] get_person_tracking - [ ] get_person_tracking
- [ ] get_segment_detection - [ ] get_segment_detection
@ -4564,7 +4565,7 @@
- [ ] start_celebrity_recognition - [ ] start_celebrity_recognition
- [ ] start_content_moderation - [ ] start_content_moderation
- [ ] start_face_detection - [ ] start_face_detection
- [ ] start_face_search - [X] start_face_search
- [ ] start_label_detection - [ ] start_label_detection
- [ ] start_person_tracking - [ ] start_person_tracking
- [ ] start_project_version - [ ] start_project_version

View File

@ -30,8 +30,10 @@ cloudfront
- [ ] create_cloud_front_origin_access_identity - [ ] create_cloud_front_origin_access_identity
- [X] create_distribution - [X] create_distribution
This has been tested against an S3-distribution with the simplest possible configuration. This has been tested against an S3-distribution with the
Please raise an issue if we're not persisting/returning the correct attributes for your use-case. simplest possible configuration. Please raise an issue if
we're not persisting/returning the correct attributes for your
use-case.
- [ ] create_distribution_with_tags - [ ] create_distribution_with_tags
@ -126,9 +128,6 @@ cloudfront
The IfMatch-value is ignored - any value is considered valid. The IfMatch-value is ignored - any value is considered valid.
Calling this function without a value is invalid, per AWS' behaviour Calling this function without a value is invalid, per AWS' behaviour
This implementation is immature, and tests the basic
functionality of updating an exisint distribution with very
simple changes.
- [ ] update_field_level_encryption_config - [ ] update_field_level_encryption_config
- [ ] update_field_level_encryption_profile - [ ] update_field_level_encryption_profile

View File

@ -427,6 +427,7 @@ ec2
- [ ] get_groups_for_capacity_reservation - [ ] get_groups_for_capacity_reservation
- [ ] get_host_reservation_purchase_preview - [ ] get_host_reservation_purchase_preview
- [ ] get_instance_types_from_instance_requirements - [ ] get_instance_types_from_instance_requirements
- [ ] get_instance_uefi_data
- [ ] get_ipam_address_history - [ ] get_ipam_address_history
- [ ] get_ipam_pool_allocations - [ ] get_ipam_pool_allocations
- [ ] get_ipam_pool_cidrs - [ ] get_ipam_pool_cidrs

View File

@ -150,7 +150,7 @@ glue
- [ ] get_workflow_runs - [ ] get_workflow_runs
- [ ] import_catalog_to_glue - [ ] import_catalog_to_glue
- [ ] list_blueprints - [ ] list_blueprints
- [ ] list_crawlers - [X] list_crawlers
- [ ] list_custom_entity_types - [ ] list_custom_entity_types
- [ ] list_dev_endpoints - [ ] list_dev_endpoints
- [X] list_jobs - [X] list_jobs

View File

@ -55,7 +55,11 @@ rekognition
- [ ] get_celebrity_recognition - [ ] get_celebrity_recognition
- [ ] get_content_moderation - [ ] get_content_moderation
- [ ] get_face_detection - [ ] get_face_detection
- [ ] get_face_search - [X] get_face_search
This returns hardcoded values and none of the parameters are taken into account.
- [ ] get_label_detection - [ ] get_label_detection
- [ ] get_person_tracking - [ ] get_person_tracking
- [ ] get_segment_detection - [ ] get_segment_detection
@ -77,7 +81,7 @@ rekognition
- [ ] start_celebrity_recognition - [ ] start_celebrity_recognition
- [ ] start_content_moderation - [ ] start_content_moderation
- [ ] start_face_detection - [ ] start_face_detection
- [ ] start_face_search - [X] start_face_search
- [ ] start_label_detection - [ ] start_label_detection
- [ ] start_person_tracking - [ ] start_person_tracking
- [ ] start_project_version - [ ] start_project_version

View File

@ -1,4 +1,4 @@
# autogenerated by ./scripts/update_backend_index.py # autogenerated by scripts/update_backend_index.py
import re import re
backend_url_patterns = [ backend_url_patterns = [
@ -92,7 +92,10 @@ backend_url_patterns = [
("medialive", re.compile("https?://medialive\\.(.+)\\.amazonaws.com")), ("medialive", re.compile("https?://medialive\\.(.+)\\.amazonaws.com")),
("mediapackage", re.compile("https?://mediapackage\\.(.+)\\.amazonaws.com")), ("mediapackage", re.compile("https?://mediapackage\\.(.+)\\.amazonaws.com")),
("mediastore", re.compile("https?://mediastore\\.(.+)\\.amazonaws\\.com")), ("mediastore", re.compile("https?://mediastore\\.(.+)\\.amazonaws\\.com")),
("mediastore-data", re.compile("https?://data.mediastore\\.(.+)\\.amazonaws.com")), (
"mediastore-data",
re.compile("https?://data\\.mediastore\\.(.+)\\.amazonaws.com"),
),
("mq", re.compile("https?://mq\\.(.+)\\.amazonaws\\.com")), ("mq", re.compile("https?://mq\\.(.+)\\.amazonaws\\.com")),
("opsworks", re.compile("https?://opsworks\\.us-east-1\\.amazonaws.com")), ("opsworks", re.compile("https?://opsworks\\.us-east-1\\.amazonaws.com")),
("organizations", re.compile("https?://organizations\\.(.+)\\.amazonaws\\.com")), ("organizations", re.compile("https?://organizations\\.(.+)\\.amazonaws\\.com")),
@ -126,7 +129,7 @@ backend_url_patterns = [
"s3control", "s3control",
re.compile("https?://([0-9]+)\\.s3-control\\.(.+)\\.amazonaws\\.com"), re.compile("https?://([0-9]+)\\.s3-control\\.(.+)\\.amazonaws\\.com"),
), ),
("sagemaker", re.compile("https?://api.sagemaker\\.(.+)\\.amazonaws.com")), ("sagemaker", re.compile("https?://api\\.sagemaker\\.(.+)\\.amazonaws.com")),
("sdb", re.compile("https?://sdb\\.(.+)\\.amazonaws\\.com")), ("sdb", re.compile("https?://sdb\\.(.+)\\.amazonaws\\.com")),
("secretsmanager", re.compile("https?://secretsmanager\\.(.+)\\.amazonaws\\.com")), ("secretsmanager", re.compile("https?://secretsmanager\\.(.+)\\.amazonaws\\.com")),
( (

View File

@ -528,6 +528,12 @@ def filter_stacks(all_stacks, status_filter):
class CloudFormationBackend(BaseBackend): class CloudFormationBackend(BaseBackend):
"""
CustomResources are supported when running Moto in ServerMode.
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.
This means it has to run inside a Docker-container, or be started using `moto_server -h 0.0.0.0`.
"""
def __init__(self, region=None): def __init__(self, region=None):
self.stacks = OrderedDict() self.stacks = OrderedDict()
self.stacksets = OrderedDict() self.stacksets = OrderedDict()

View File

@ -1,7 +1,7 @@
from .responses import MediaStoreDataResponse from .responses import MediaStoreDataResponse
url_bases = [ url_bases = [
r"https?://data.mediastore\.(.+)\.amazonaws.com", r"https?://data\.mediastore\.(.+)\.amazonaws.com",
] ]
response = MediaStoreDataResponse() response = MediaStoreDataResponse()

View File

@ -1,7 +1,7 @@
from .responses import SageMakerResponse from .responses import SageMakerResponse
url_bases = [ url_bases = [
r"https?://api.sagemaker\.(.+)\.amazonaws.com", r"https?://api\.sagemaker\.(.+)\.amazonaws.com",
] ]
url_paths = { url_paths = {

View File

@ -834,6 +834,8 @@ class SimpleSystemManagerBackend(BaseBackend):
- /aws/service/global-infrastructure/services - /aws/service/global-infrastructure/services
Note that these are hardcoded, so they may be out of date for new services/regions. Note that these are hardcoded, so they may be out of date for new services/regions.
Integration with SecretsManager is also supported.
""" """
def __init__(self, region): def __init__(self, region):