From 076410f4f97486844dc41bed7f198f6567fd4577 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Sun, 19 Mar 2023 16:55:35 -0100 Subject: [PATCH] Prep release 4.1.5 (#6093) --- CHANGELOG.md | 32 +++++++++++++ IMPLEMENTATION_COVERAGE.md | 15 ++++-- docs/docs/server_mode.rst | 6 ++- docs/docs/services/athena.rst | 6 +-- docs/docs/services/dms.rst | 4 ++ docs/docs/services/events.rst | 81 -------------------------------- docs/docs/services/s3control.rst | 3 ++ 7 files changed, 58 insertions(+), 89 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65b2afb66..8f667274a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,38 @@ Moto Changelog ============== +4.1.5 +----- +Docker Digest for 4.1.5: + + General: + * Our Docker-images are now also hosted in GHCR: + https://github.com/getmoto/moto/pkgs/container/motoserver + + New Methods: + * Athena: + * create_prepared_statement() + * get_prepared_statement() + * list_named_queries() + + * S3: + * get_object_attributes() + + * SecretsManager: + * delete_resource_policy() + * put_resource_policy() + + Miscellaneous: + * Athena: Now automatically creates the default WorkGroup called `primary` + * AWSLambda: the default data dir for Docker containers can now be customized using the environment variable MOTO_LAMBDA_DATA_DIR + * CloudFormation now supports the resource AWS::CloudFormation::Stack + * CognitoIDP: the ID-token now uses the key cognito:username, instead of username + * EC2: describe_security_group_rules() now provides the correct value for the IsEgress-parameter + * EC2: revoke_security_group_egress() no longer throws an error when the IPProtocol-argument is not provided + * Glue: get_job() now supports the parameters CodeGenConfigurationNodes, ExecutionClass, SourceControlDetails + * IOT: delete_certificate() now supports the forceDelete-parameter + + 4.1.4 ----- Docker Digest for 4.1.4: _sha256:32ed22e2c69826a90482d0e473c460d60c3c7dc60819d95c0c165e0e978208db_ diff --git a/IMPLEMENTATION_COVERAGE.md b/IMPLEMENTATION_COVERAGE.md index 6cc409f69..9454dc123 100644 --- a/IMPLEMENTATION_COVERAGE.md +++ b/IMPLEMENTATION_COVERAGE.md @@ -355,7 +355,7 @@ ## athena
-21% implemented +26% implemented - [ ] batch_get_named_query - [ ] batch_get_prepared_statement @@ -363,7 +363,7 @@ - [X] create_data_catalog - [X] create_named_query - [ ] create_notebook -- [ ] create_prepared_statement +- [X] create_prepared_statement - [ ] create_presigned_notebook_url - [X] create_work_group - [ ] delete_data_catalog @@ -379,7 +379,7 @@ - [ ] get_database - [X] get_named_query - [ ] get_notebook_metadata -- [ ] get_prepared_statement +- [X] get_prepared_statement - [X] get_query_execution - [X] get_query_results - [ ] get_query_runtime_statistics @@ -394,7 +394,7 @@ - [ ] list_databases - [ ] list_engine_versions - [ ] list_executors -- [ ] list_named_queries +- [X] list_named_queries - [ ] list_notebook_metadata - [ ] list_notebook_sessions - [ ] list_prepared_statements @@ -1531,6 +1531,7 @@ - [ ] add_tags_to_resource - [ ] apply_pending_maintenance_action +- [ ] batch_start_recommendations - [ ] cancel_replication_task_assessment_run - [ ] create_endpoint - [ ] create_event_subscription @@ -1565,6 +1566,8 @@ - [ ] describe_fleet_advisor_schemas - [ ] describe_orderable_replication_instances - [ ] describe_pending_maintenance_actions +- [ ] describe_recommendation_limitations +- [ ] describe_recommendations - [ ] describe_refresh_schemas_status - [ ] describe_replication_instance_task_logs - [ ] describe_replication_instances @@ -1588,6 +1591,7 @@ - [ ] reload_tables - [ ] remove_tags_from_resource - [ ] run_fleet_advisor_lsa_analysis +- [ ] start_recommendations - [X] start_replication_task - [ ] start_replication_task_assessment - [ ] start_replication_task_assessment_run @@ -5680,6 +5684,7 @@ - [ ] delete_bucket - [ ] delete_bucket_lifecycle_configuration - [ ] delete_bucket_policy +- [ ] delete_bucket_replication - [ ] delete_bucket_tagging - [ ] delete_job_tagging - [ ] delete_multi_region_access_point @@ -5698,6 +5703,7 @@ - [ ] get_bucket - [ ] get_bucket_lifecycle_configuration - [ ] get_bucket_policy +- [ ] get_bucket_replication - [ ] get_bucket_tagging - [ ] get_bucket_versioning - [ ] get_job_tagging @@ -5719,6 +5725,7 @@ - [ ] put_access_point_policy_for_object_lambda - [ ] put_bucket_lifecycle_configuration - [ ] put_bucket_policy +- [ ] put_bucket_replication - [ ] put_bucket_tagging - [ ] put_bucket_versioning - [ ] put_job_tagging diff --git a/docs/docs/server_mode.rst b/docs/docs/server_mode.rst index 5960eb2c7..e03c8420f 100644 --- a/docs/docs/server_mode.rst +++ b/docs/docs/server_mode.rst @@ -91,11 +91,15 @@ Note that the decorators will destroy any resources on start, so make sure to no Run using Docker ---------------------- -You could also use the official Docker image from https://hub.docker.com/r/motoserver/moto/tags: +You could also use the official Docker image. +This is stored in two different repositories: + - https://hub.docker.com/r/motoserver/moto/tags + - https://github.com/getmoto/moto/pkgs/container/motoserver .. code-block:: bash docker run motoserver/moto:latest + docker run ghcr.io/getmoto/motoserver:latest Example Usage -------------- diff --git a/docs/docs/services/athena.rst b/docs/docs/services/athena.rst index fd4d422d6..98a29ff62 100644 --- a/docs/docs/services/athena.rst +++ b/docs/docs/services/athena.rst @@ -31,7 +31,7 @@ athena - [X] create_data_catalog - [X] create_named_query - [ ] create_notebook -- [ ] create_prepared_statement +- [X] create_prepared_statement - [ ] create_presigned_notebook_url - [X] create_work_group - [ ] delete_data_catalog @@ -47,7 +47,7 @@ athena - [ ] get_database - [X] get_named_query - [ ] get_notebook_metadata -- [ ] get_prepared_statement +- [X] get_prepared_statement - [X] get_query_execution - [X] get_query_results @@ -108,7 +108,7 @@ athena - [ ] list_databases - [ ] list_engine_versions - [ ] list_executors -- [ ] list_named_queries +- [X] list_named_queries - [ ] list_notebook_metadata - [ ] list_notebook_sessions - [ ] list_prepared_statements diff --git a/docs/docs/services/dms.rst b/docs/docs/services/dms.rst index e86a0c486..9551812dc 100644 --- a/docs/docs/services/dms.rst +++ b/docs/docs/services/dms.rst @@ -27,6 +27,7 @@ dms - [ ] add_tags_to_resource - [ ] apply_pending_maintenance_action +- [ ] batch_start_recommendations - [ ] cancel_replication_task_assessment_run - [ ] create_endpoint - [ ] create_event_subscription @@ -66,6 +67,8 @@ dms - [ ] describe_fleet_advisor_schemas - [ ] describe_orderable_replication_instances - [ ] describe_pending_maintenance_actions +- [ ] describe_recommendation_limitations +- [ ] describe_recommendations - [ ] describe_refresh_schemas_status - [ ] describe_replication_instance_task_logs - [ ] describe_replication_instances @@ -93,6 +96,7 @@ dms - [ ] reload_tables - [ ] remove_tags_from_resource - [ ] run_fleet_advisor_lsa_analysis +- [ ] start_recommendations - [X] start_replication_task The following parameters have not yet been implemented: diff --git a/docs/docs/services/events.rst b/docs/docs/services/events.rst index 096b0f70d..29821ecec 100644 --- a/docs/docs/services/events.rst +++ b/docs/docs/services/events.rst @@ -30,16 +30,6 @@ events - [ ] activate_event_source - [X] cancel_replay - [X] create_api_destination - - Creates an API destination, which is an HTTP invocation endpoint configured as a target for events. - - Docs: - https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateApiDestination.html - - Returns: - dict - - - [X] create_archive - [X] create_connection - [ ] create_endpoint @@ -48,76 +38,15 @@ events - [ ] deactivate_event_source - [ ] deauthorize_connection - [X] delete_api_destination - - Deletes the specified API destination. - - Docs: - https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DeleteApiDestination.html - - Args: - name: The name of the destination to delete. - - Raises: - ResourceNotFoundException: When the destination is not present. - - Returns: - dict - - - - [X] delete_archive - [X] delete_connection - - Deletes a connection. - - Docs: - https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DeleteConnection.html - - Args: - name: The name of the connection to delete. - - Raises: - ResourceNotFoundException: When the connection is not present. - - Returns: - dict - - - [ ] delete_endpoint - [X] delete_event_bus - [ ] delete_partner_event_source - [X] delete_rule - [X] describe_api_destination - - Retrieves details about an API destination. - - Docs: - https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeApiDestination.html - Args: - name: The name of the API destination to retrieve. - - Returns: - dict - - - [X] describe_archive - [X] describe_connection - - Retrieves details about a connection. - - Docs: - https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeConnection.html - - Args: - name: The name of the connection to retrieve. - - Raises: - ResourceNotFoundException: When the connection is not present. - - Returns: - dict - - - [ ] describe_endpoint - [X] describe_event_bus - [ ] describe_event_source @@ -160,16 +89,6 @@ events - [X] test_event_pattern - [X] untag_resource - [X] update_api_destination - - Creates an API destination, which is an HTTP invocation endpoint configured as a target for events. - - Docs: - https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdateApiDestination.html - - Returns: - dict - - - [X] update_archive - [X] update_connection - [ ] update_endpoint diff --git a/docs/docs/services/s3control.rst b/docs/docs/services/s3control.rst index d927f7de1..0370d22b8 100644 --- a/docs/docs/services/s3control.rst +++ b/docs/docs/services/s3control.rst @@ -37,6 +37,7 @@ s3control - [ ] delete_bucket - [ ] delete_bucket_lifecycle_configuration - [ ] delete_bucket_policy +- [ ] delete_bucket_replication - [ ] delete_bucket_tagging - [ ] delete_job_tagging - [ ] delete_multi_region_access_point @@ -59,6 +60,7 @@ s3control - [ ] get_bucket - [ ] get_bucket_lifecycle_configuration - [ ] get_bucket_policy +- [ ] get_bucket_replication - [ ] get_bucket_tagging - [ ] get_bucket_versioning - [ ] get_job_tagging @@ -80,6 +82,7 @@ s3control - [ ] put_access_point_policy_for_object_lambda - [ ] put_bucket_lifecycle_configuration - [ ] put_bucket_policy +- [ ] put_bucket_replication - [ ] put_bucket_tagging - [ ] put_bucket_versioning - [ ] put_job_tagging