diff --git a/CHANGELOG.md b/CHANGELOG.md index a26af9108..79a449b0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,31 @@ Moto Changelog ============== +4.0.8 +----- +Docker Digest for 4.0.8: + + General: + * Unpins the werkzeug-dependency - Moto now works with werkzeug==2.2.2 + * Fixes the Docker-build to run on M1 Macbooks. + + New Services: + * ServiceQuotas: + * get_service_quota() + * list_aws_default_service_quotas() + + New Methods: + * CloudFront: list_invalidations() + * RDS: modify_db_cluster() + + Miscellaneous: + * Lambda:delete_function() - fixed an issue where the wrong Function would be deleted when providing a qualifier + * ECR:put_image() now removes any existing images that have the provided tag + * IAM:detach_user/group/role_policy() now throws the correct error message when the policy is not attached in the first place + * S3:list_object_versions(): Fix delimiter to take prefix into account + * S3: Now closes file handles as early as possible when deleting files/multipart uploads + * Sagamaker:describe_training_job() now throws the correct exception when trying to explain a non-existing job + 4.0.7 ----- diff --git a/IMPLEMENTATION_COVERAGE.md b/IMPLEMENTATION_COVERAGE.md index 4a5b50d8a..197d7ba0e 100644 --- a/IMPLEMENTATION_COVERAGE.md +++ b/IMPLEMENTATION_COVERAGE.md @@ -494,7 +494,7 @@ ## ce
-11% implemented +20% implemented - [ ] create_anomaly_monitor - [ ] create_anomaly_subscription @@ -523,10 +523,10 @@ - [ ] get_usage_forecast - [ ] list_cost_allocation_tags - [ ] list_cost_category_definitions -- [ ] list_tags_for_resource +- [X] list_tags_for_resource - [ ] provide_anomaly_feedback -- [ ] tag_resource -- [ ] untag_resource +- [X] tag_resource +- [X] untag_resource - [ ] update_anomaly_monitor - [ ] update_anomaly_subscription - [ ] update_cost_allocation_tags_status @@ -607,7 +607,7 @@ ## cloudfront
-8% implemented +9% implemented - [ ] associate_alias - [ ] create_cache_policy @@ -681,7 +681,7 @@ - [ ] list_field_level_encryption_configs - [ ] list_field_level_encryption_profiles - [ ] list_functions -- [ ] list_invalidations +- [X] list_invalidations - [ ] list_key_groups - [ ] list_origin_access_controls - [ ] list_origin_request_policies @@ -1112,13 +1112,14 @@ ## comprehend
-11% implemented +10% implemented - [ ] batch_detect_dominant_language - [ ] batch_detect_entities - [ ] batch_detect_key_phrases - [ ] batch_detect_sentiment - [ ] batch_detect_syntax +- [ ] batch_detect_targeted_sentiment - [ ] classify_document - [ ] contains_pii_entities - [ ] create_document_classifier @@ -1147,6 +1148,7 @@ - [ ] detect_pii_entities - [ ] detect_sentiment - [ ] detect_syntax +- [ ] detect_targeted_sentiment - [ ] import_model - [ ] list_document_classification_jobs - [ ] list_document_classifier_summaries @@ -1507,7 +1509,7 @@ ## ds
-18% implemented +17% implemented - [ ] accept_shared_directory - [ ] add_ip_routes @@ -1542,6 +1544,7 @@ - [ ] describe_shared_directories - [ ] describe_snapshots - [ ] describe_trusts +- [ ] describe_update_directory - [ ] disable_client_authentication - [ ] disable_ldaps - [ ] disable_radius @@ -1569,6 +1572,7 @@ - [ ] start_schema_extension - [ ] unshare_directory - [ ] update_conditional_forwarder +- [ ] update_directory_setup - [ ] update_number_of_domain_controllers - [ ] update_radius - [ ] update_settings @@ -2697,12 +2701,13 @@ ## emr-serverless
-50% implemented +46% implemented - [ ] cancel_job_run - [X] create_application - [X] delete_application - [X] get_application +- [ ] get_dashboard_for_job_run - [ ] get_job_run - [X] list_applications - [ ] list_job_runs @@ -2952,7 +2957,7 @@ ## glue
-20% implemented +19% implemented - [X] batch_create_partition - [ ] batch_delete_connection @@ -3130,10 +3135,12 @@ - [X] update_database - [ ] update_dev_endpoint - [ ] update_job +- [ ] update_job_from_source_control - [ ] update_ml_transform - [ ] update_partition - [ ] update_registry - [ ] update_schema +- [ ] update_source_control_from_job - [ ] update_table - [ ] update_trigger - [ ] update_user_defined_function @@ -3980,18 +3987,22 @@ ## managedblockchain
-86% implemented +74% implemented +- [ ] create_accessor - [X] create_member - [X] create_network - [X] create_node - [X] create_proposal +- [ ] delete_accessor - [X] delete_member - [X] delete_node +- [ ] get_accessor - [X] get_member - [X] get_network - [X] get_node - [X] get_proposal +- [ ] list_accessors - [X] list_invitations - [X] list_members - [X] list_networks @@ -4009,7 +4020,7 @@ ## mediaconnect
-46% implemented +60% implemented - [ ] add_flow_media_streams - [X] add_flow_outputs @@ -4020,7 +4031,7 @@ - [X] describe_flow - [ ] describe_offering - [ ] describe_reservation -- [x] grant_flow_entitlements +- [X] grant_flow_entitlements - [ ] list_entitlements - [X] list_flows - [ ] list_offerings @@ -4031,15 +4042,15 @@ - [X] remove_flow_output - [ ] remove_flow_source - [X] remove_flow_vpc_interface -- [x] revoke_flow_entitlement +- [X] revoke_flow_entitlement - [X] start_flow - [X] stop_flow - [X] tag_resource - [ ] untag_resource - [ ] update_flow -- [x] update_flow_entitlement +- [X] update_flow_entitlement - [ ] update_flow_media_stream -- [x] update_flow_output +- [X] update_flow_output - [X] update_flow_source
@@ -5382,6 +5393,7 @@ - [ ] get_bucket_lifecycle_configuration - [ ] get_bucket_policy - [ ] get_bucket_tagging +- [ ] get_bucket_versioning - [ ] get_job_tagging - [ ] get_multi_region_access_point - [ ] get_multi_region_access_point_policy @@ -5401,6 +5413,7 @@ - [ ] put_bucket_lifecycle_configuration - [ ] put_bucket_policy - [ ] put_bucket_tagging +- [ ] put_bucket_versioning - [ ] put_job_tagging - [ ] put_multi_region_access_point_policy - [X] put_public_access_block @@ -6432,6 +6445,7 @@ - connect - connect-contact-lens - connectcampaigns +- connectcases - connectparticipant - controltower - cur @@ -6477,6 +6491,7 @@ - iotevents - iotevents-data - iotfleethub +- iotfleetwise - iotsecuretunneling - iotsitewise - iotthingsgraph @@ -6519,6 +6534,7 @@ - mgn - migration-hub-refactor-spaces - migrationhub-config +- migrationhuborchestrator - migrationhubstrategy - mobile - mturk diff --git a/docs/docs/services/ce.rst b/docs/docs/services/ce.rst index 75c909a69..b8659be13 100644 --- a/docs/docs/services/ce.rst +++ b/docs/docs/services/ce.rst @@ -66,10 +66,10 @@ ce - [ ] get_usage_forecast - [ ] list_cost_allocation_tags - [ ] list_cost_category_definitions -- [ ] list_tags_for_resource +- [X] list_tags_for_resource - [ ] provide_anomaly_feedback -- [ ] tag_resource -- [ ] untag_resource +- [X] tag_resource +- [X] untag_resource - [ ] update_anomaly_monitor - [ ] update_anomaly_subscription - [ ] update_cost_allocation_tags_status diff --git a/docs/docs/services/cloudfront.rst b/docs/docs/services/cloudfront.rst index 63940b0c1..9399fef2b 100644 --- a/docs/docs/services/cloudfront.rst +++ b/docs/docs/services/cloudfront.rst @@ -112,7 +112,11 @@ cloudfront - [ ] list_field_level_encryption_configs - [ ] list_field_level_encryption_profiles - [ ] list_functions -- [ ] list_invalidations +- [X] list_invalidations + + Pagination is not yet implemented + + - [ ] list_key_groups - [ ] list_origin_access_controls - [ ] list_origin_request_policies diff --git a/docs/docs/services/comprehend.rst b/docs/docs/services/comprehend.rst index 9e615eb2c..bd646c0eb 100644 --- a/docs/docs/services/comprehend.rst +++ b/docs/docs/services/comprehend.rst @@ -32,6 +32,7 @@ comprehend - [ ] batch_detect_key_phrases - [ ] batch_detect_sentiment - [ ] batch_detect_syntax +- [ ] batch_detect_targeted_sentiment - [ ] classify_document - [ ] contains_pii_entities - [ ] create_document_classifier @@ -64,6 +65,7 @@ comprehend - [ ] detect_pii_entities - [ ] detect_sentiment - [ ] detect_syntax +- [ ] detect_targeted_sentiment - [ ] import_model - [ ] list_document_classification_jobs - [ ] list_document_classifier_summaries diff --git a/docs/docs/services/ds.rst b/docs/docs/services/ds.rst index 15b32538e..8e449175a 100644 --- a/docs/docs/services/ds.rst +++ b/docs/docs/services/ds.rst @@ -74,6 +74,7 @@ ds - [ ] describe_shared_directories - [ ] describe_snapshots - [ ] describe_trusts +- [ ] describe_update_directory - [ ] disable_client_authentication - [ ] disable_ldaps - [ ] disable_radius @@ -111,6 +112,7 @@ ds - [ ] start_schema_extension - [ ] unshare_directory - [ ] update_conditional_forwarder +- [ ] update_directory_setup - [ ] update_number_of_domain_controllers - [ ] update_radius - [ ] update_settings diff --git a/docs/docs/services/emr-serverless.rst b/docs/docs/services/emr-serverless.rst index a4f4b4ebe..3adacb74c 100644 --- a/docs/docs/services/emr-serverless.rst +++ b/docs/docs/services/emr-serverless.rst @@ -31,6 +31,7 @@ emr-serverless - [X] create_application - [X] delete_application - [X] get_application +- [ ] get_dashboard_for_job_run - [ ] get_job_run - [X] list_applications - [ ] list_job_runs diff --git a/docs/docs/services/glue.rst b/docs/docs/services/glue.rst index 82616c72b..1319e84db 100644 --- a/docs/docs/services/glue.rst +++ b/docs/docs/services/glue.rst @@ -218,10 +218,12 @@ glue - [X] update_database - [ ] update_dev_endpoint - [ ] update_job +- [ ] update_job_from_source_control - [ ] update_ml_transform - [ ] update_partition - [ ] update_registry - [ ] update_schema +- [ ] update_source_control_from_job - [ ] update_table - [ ] update_trigger - [ ] update_user_defined_function diff --git a/docs/docs/services/managedblockchain.rst b/docs/docs/services/managedblockchain.rst index 440ea0f18..4cbd70c72 100644 --- a/docs/docs/services/managedblockchain.rst +++ b/docs/docs/services/managedblockchain.rst @@ -25,16 +25,20 @@ managedblockchain |start-h3| Implemented features for this service |end-h3| +- [ ] create_accessor - [X] create_member - [X] create_network - [X] create_node - [X] create_proposal +- [ ] delete_accessor - [X] delete_member - [X] delete_node +- [ ] get_accessor - [X] get_member - [X] get_network - [X] get_node - [X] get_proposal +- [ ] list_accessors - [X] list_invitations - [X] list_members - [X] list_networks diff --git a/docs/docs/services/mediaconnect.rst b/docs/docs/services/mediaconnect.rst index 3609f1614..9e09bba04 100644 --- a/docs/docs/services/mediaconnect.rst +++ b/docs/docs/services/mediaconnect.rst @@ -34,7 +34,7 @@ mediaconnect - [X] describe_flow - [ ] describe_offering - [ ] describe_reservation -- [x] grant_flow_entitlements +- [X] grant_flow_entitlements - [ ] list_entitlements - [X] list_flows - [ ] list_offerings @@ -45,14 +45,14 @@ mediaconnect - [X] remove_flow_output - [ ] remove_flow_source - [X] remove_flow_vpc_interface -- [x] revoke_flow_entitlement +- [X] revoke_flow_entitlement - [X] start_flow - [X] stop_flow - [X] tag_resource - [ ] untag_resource - [ ] update_flow -- [x] update_flow_entitlement +- [X] update_flow_entitlement - [ ] update_flow_media_stream -- [x] update_flow_output +- [X] update_flow_output - [X] update_flow_source diff --git a/docs/docs/services/rds.rst b/docs/docs/services/rds.rst index 332187286..9bb657056 100644 --- a/docs/docs/services/rds.rst +++ b/docs/docs/services/rds.rst @@ -117,7 +117,7 @@ rds - [ ] modify_certificates - [ ] modify_current_db_cluster_capacity - [ ] modify_custom_db_engine_version -- [ ] modify_db_cluster +- [X] modify_db_cluster - [ ] modify_db_cluster_endpoint - [ ] modify_db_cluster_parameter_group - [ ] modify_db_cluster_snapshot_attribute diff --git a/docs/docs/services/s3control.rst b/docs/docs/services/s3control.rst index 9f6a4c1f0..3a4817c5e 100644 --- a/docs/docs/services/s3control.rst +++ b/docs/docs/services/s3control.rst @@ -60,6 +60,7 @@ s3control - [ ] get_bucket_lifecycle_configuration - [ ] get_bucket_policy - [ ] get_bucket_tagging +- [ ] get_bucket_versioning - [ ] get_job_tagging - [ ] get_multi_region_access_point - [ ] get_multi_region_access_point_policy @@ -79,6 +80,7 @@ s3control - [ ] put_bucket_lifecycle_configuration - [ ] put_bucket_policy - [ ] put_bucket_tagging +- [ ] put_bucket_versioning - [ ] put_job_tagging - [ ] put_multi_region_access_point_policy - [X] put_public_access_block diff --git a/setup.cfg b/setup.cfg index e4e853db1..d7206a327 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,7 +18,7 @@ disable = W,C,R,E enable = anomalous-backslash-in-string, arguments-renamed, dangerous-default-value, deprecated-module, function-redefined, import-self, redefined-builtin, redefined-outer-name, reimported, pointless-statement, super-with-arguments, unused-argument, unused-import, unused-variable, useless-else-on-loop, wildcard-import [mypy] -files= moto/acm,moto/amp,moto/apigateway,moto/apigatewayv2,moto/applicationautoscaling/,moto/appsync,moto/athena +files= moto/acm,moto/amp,moto/apigateway,moto/apigatewayv2,moto/applicationautoscaling/,moto/appsync,moto/athena,moto/autoscaling show_column_numbers=True show_error_codes = True disable_error_code=abstract