Prep release 4.1.5 (#6093)

This commit is contained in:
Bert Blommers 2023-03-19 16:55:35 -01:00 committed by GitHub
parent 75d1018c28
commit 076410f4f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 58 additions and 89 deletions

View File

@ -2,6 +2,38 @@ Moto Changelog
============== ==============
4.1.5
-----
Docker Digest for 4.1.5: <autopopulateddigest>
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 4.1.4
----- -----
Docker Digest for 4.1.4: _sha256:32ed22e2c69826a90482d0e473c460d60c3c7dc60819d95c0c165e0e978208db_ Docker Digest for 4.1.4: _sha256:32ed22e2c69826a90482d0e473c460d60c3c7dc60819d95c0c165e0e978208db_

View File

@ -355,7 +355,7 @@
## athena ## athena
<details> <details>
<summary>21% implemented</summary> <summary>26% implemented</summary>
- [ ] batch_get_named_query - [ ] batch_get_named_query
- [ ] batch_get_prepared_statement - [ ] batch_get_prepared_statement
@ -363,7 +363,7 @@
- [X] create_data_catalog - [X] create_data_catalog
- [X] create_named_query - [X] create_named_query
- [ ] create_notebook - [ ] create_notebook
- [ ] create_prepared_statement - [X] create_prepared_statement
- [ ] create_presigned_notebook_url - [ ] create_presigned_notebook_url
- [X] create_work_group - [X] create_work_group
- [ ] delete_data_catalog - [ ] delete_data_catalog
@ -379,7 +379,7 @@
- [ ] get_database - [ ] get_database
- [X] get_named_query - [X] get_named_query
- [ ] get_notebook_metadata - [ ] get_notebook_metadata
- [ ] get_prepared_statement - [X] get_prepared_statement
- [X] get_query_execution - [X] get_query_execution
- [X] get_query_results - [X] get_query_results
- [ ] get_query_runtime_statistics - [ ] get_query_runtime_statistics
@ -394,7 +394,7 @@
- [ ] list_databases - [ ] list_databases
- [ ] list_engine_versions - [ ] list_engine_versions
- [ ] list_executors - [ ] list_executors
- [ ] list_named_queries - [X] list_named_queries
- [ ] list_notebook_metadata - [ ] list_notebook_metadata
- [ ] list_notebook_sessions - [ ] list_notebook_sessions
- [ ] list_prepared_statements - [ ] list_prepared_statements
@ -1531,6 +1531,7 @@
- [ ] add_tags_to_resource - [ ] add_tags_to_resource
- [ ] apply_pending_maintenance_action - [ ] apply_pending_maintenance_action
- [ ] batch_start_recommendations
- [ ] cancel_replication_task_assessment_run - [ ] cancel_replication_task_assessment_run
- [ ] create_endpoint - [ ] create_endpoint
- [ ] create_event_subscription - [ ] create_event_subscription
@ -1565,6 +1566,8 @@
- [ ] describe_fleet_advisor_schemas - [ ] describe_fleet_advisor_schemas
- [ ] describe_orderable_replication_instances - [ ] describe_orderable_replication_instances
- [ ] describe_pending_maintenance_actions - [ ] describe_pending_maintenance_actions
- [ ] describe_recommendation_limitations
- [ ] describe_recommendations
- [ ] describe_refresh_schemas_status - [ ] describe_refresh_schemas_status
- [ ] describe_replication_instance_task_logs - [ ] describe_replication_instance_task_logs
- [ ] describe_replication_instances - [ ] describe_replication_instances
@ -1588,6 +1591,7 @@
- [ ] reload_tables - [ ] reload_tables
- [ ] remove_tags_from_resource - [ ] remove_tags_from_resource
- [ ] run_fleet_advisor_lsa_analysis - [ ] run_fleet_advisor_lsa_analysis
- [ ] start_recommendations
- [X] start_replication_task - [X] start_replication_task
- [ ] start_replication_task_assessment - [ ] start_replication_task_assessment
- [ ] start_replication_task_assessment_run - [ ] start_replication_task_assessment_run
@ -5680,6 +5684,7 @@
- [ ] delete_bucket - [ ] delete_bucket
- [ ] delete_bucket_lifecycle_configuration - [ ] delete_bucket_lifecycle_configuration
- [ ] delete_bucket_policy - [ ] delete_bucket_policy
- [ ] delete_bucket_replication
- [ ] delete_bucket_tagging - [ ] delete_bucket_tagging
- [ ] delete_job_tagging - [ ] delete_job_tagging
- [ ] delete_multi_region_access_point - [ ] delete_multi_region_access_point
@ -5698,6 +5703,7 @@
- [ ] get_bucket - [ ] get_bucket
- [ ] get_bucket_lifecycle_configuration - [ ] get_bucket_lifecycle_configuration
- [ ] get_bucket_policy - [ ] get_bucket_policy
- [ ] get_bucket_replication
- [ ] get_bucket_tagging - [ ] get_bucket_tagging
- [ ] get_bucket_versioning - [ ] get_bucket_versioning
- [ ] get_job_tagging - [ ] get_job_tagging
@ -5719,6 +5725,7 @@
- [ ] put_access_point_policy_for_object_lambda - [ ] put_access_point_policy_for_object_lambda
- [ ] put_bucket_lifecycle_configuration - [ ] put_bucket_lifecycle_configuration
- [ ] put_bucket_policy - [ ] put_bucket_policy
- [ ] put_bucket_replication
- [ ] put_bucket_tagging - [ ] put_bucket_tagging
- [ ] put_bucket_versioning - [ ] put_bucket_versioning
- [ ] put_job_tagging - [ ] put_job_tagging

View File

@ -91,11 +91,15 @@ Note that the decorators will destroy any resources on start, so make sure to no
Run using Docker 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 .. code-block:: bash
docker run motoserver/moto:latest docker run motoserver/moto:latest
docker run ghcr.io/getmoto/motoserver:latest
Example Usage Example Usage
-------------- --------------

View File

@ -31,7 +31,7 @@ athena
- [X] create_data_catalog - [X] create_data_catalog
- [X] create_named_query - [X] create_named_query
- [ ] create_notebook - [ ] create_notebook
- [ ] create_prepared_statement - [X] create_prepared_statement
- [ ] create_presigned_notebook_url - [ ] create_presigned_notebook_url
- [X] create_work_group - [X] create_work_group
- [ ] delete_data_catalog - [ ] delete_data_catalog
@ -47,7 +47,7 @@ athena
- [ ] get_database - [ ] get_database
- [X] get_named_query - [X] get_named_query
- [ ] get_notebook_metadata - [ ] get_notebook_metadata
- [ ] get_prepared_statement - [X] get_prepared_statement
- [X] get_query_execution - [X] get_query_execution
- [X] get_query_results - [X] get_query_results
@ -108,7 +108,7 @@ athena
- [ ] list_databases - [ ] list_databases
- [ ] list_engine_versions - [ ] list_engine_versions
- [ ] list_executors - [ ] list_executors
- [ ] list_named_queries - [X] list_named_queries
- [ ] list_notebook_metadata - [ ] list_notebook_metadata
- [ ] list_notebook_sessions - [ ] list_notebook_sessions
- [ ] list_prepared_statements - [ ] list_prepared_statements

View File

@ -27,6 +27,7 @@ dms
- [ ] add_tags_to_resource - [ ] add_tags_to_resource
- [ ] apply_pending_maintenance_action - [ ] apply_pending_maintenance_action
- [ ] batch_start_recommendations
- [ ] cancel_replication_task_assessment_run - [ ] cancel_replication_task_assessment_run
- [ ] create_endpoint - [ ] create_endpoint
- [ ] create_event_subscription - [ ] create_event_subscription
@ -66,6 +67,8 @@ dms
- [ ] describe_fleet_advisor_schemas - [ ] describe_fleet_advisor_schemas
- [ ] describe_orderable_replication_instances - [ ] describe_orderable_replication_instances
- [ ] describe_pending_maintenance_actions - [ ] describe_pending_maintenance_actions
- [ ] describe_recommendation_limitations
- [ ] describe_recommendations
- [ ] describe_refresh_schemas_status - [ ] describe_refresh_schemas_status
- [ ] describe_replication_instance_task_logs - [ ] describe_replication_instance_task_logs
- [ ] describe_replication_instances - [ ] describe_replication_instances
@ -93,6 +96,7 @@ dms
- [ ] reload_tables - [ ] reload_tables
- [ ] remove_tags_from_resource - [ ] remove_tags_from_resource
- [ ] run_fleet_advisor_lsa_analysis - [ ] run_fleet_advisor_lsa_analysis
- [ ] start_recommendations
- [X] start_replication_task - [X] start_replication_task
The following parameters have not yet been implemented: The following parameters have not yet been implemented:

View File

@ -30,16 +30,6 @@ events
- [ ] activate_event_source - [ ] activate_event_source
- [X] cancel_replay - [X] cancel_replay
- [X] create_api_destination - [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_archive
- [X] create_connection - [X] create_connection
- [ ] create_endpoint - [ ] create_endpoint
@ -48,76 +38,15 @@ events
- [ ] deactivate_event_source - [ ] deactivate_event_source
- [ ] deauthorize_connection - [ ] deauthorize_connection
- [X] delete_api_destination - [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_archive
- [X] delete_connection - [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 - [ ] delete_endpoint
- [X] delete_event_bus - [X] delete_event_bus
- [ ] delete_partner_event_source - [ ] delete_partner_event_source
- [X] delete_rule - [X] delete_rule
- [X] describe_api_destination - [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_archive
- [X] describe_connection - [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 - [ ] describe_endpoint
- [X] describe_event_bus - [X] describe_event_bus
- [ ] describe_event_source - [ ] describe_event_source
@ -160,16 +89,6 @@ events
- [X] test_event_pattern - [X] test_event_pattern
- [X] untag_resource - [X] untag_resource
- [X] update_api_destination - [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_archive
- [X] update_connection - [X] update_connection
- [ ] update_endpoint - [ ] update_endpoint

View File

@ -37,6 +37,7 @@ s3control
- [ ] delete_bucket - [ ] delete_bucket
- [ ] delete_bucket_lifecycle_configuration - [ ] delete_bucket_lifecycle_configuration
- [ ] delete_bucket_policy - [ ] delete_bucket_policy
- [ ] delete_bucket_replication
- [ ] delete_bucket_tagging - [ ] delete_bucket_tagging
- [ ] delete_job_tagging - [ ] delete_job_tagging
- [ ] delete_multi_region_access_point - [ ] delete_multi_region_access_point
@ -59,6 +60,7 @@ s3control
- [ ] get_bucket - [ ] get_bucket
- [ ] get_bucket_lifecycle_configuration - [ ] get_bucket_lifecycle_configuration
- [ ] get_bucket_policy - [ ] get_bucket_policy
- [ ] get_bucket_replication
- [ ] get_bucket_tagging - [ ] get_bucket_tagging
- [ ] get_bucket_versioning - [ ] get_bucket_versioning
- [ ] get_job_tagging - [ ] get_job_tagging
@ -80,6 +82,7 @@ s3control
- [ ] put_access_point_policy_for_object_lambda - [ ] put_access_point_policy_for_object_lambda
- [ ] put_bucket_lifecycle_configuration - [ ] put_bucket_lifecycle_configuration
- [ ] put_bucket_policy - [ ] put_bucket_policy
- [ ] put_bucket_replication
- [ ] put_bucket_tagging - [ ] put_bucket_tagging
- [ ] put_bucket_versioning - [ ] put_bucket_versioning
- [ ] put_job_tagging - [ ] put_job_tagging