Prep release 4.0.8 (#5583)

This commit is contained in:
Bert Blommers 2022-10-19 22:17:59 +00:00 committed by GitHub
parent da9cf7bb3a
commit 14c6550630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 84 additions and 26 deletions

View File

@ -1,6 +1,31 @@
Moto Changelog Moto Changelog
============== ==============
4.0.8
-----
Docker Digest for 4.0.8: <autopopulateddigest>
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 4.0.7
----- -----

View File

@ -494,7 +494,7 @@
## ce ## ce
<details> <details>
<summary>11% implemented</summary> <summary>20% implemented</summary>
- [ ] create_anomaly_monitor - [ ] create_anomaly_monitor
- [ ] create_anomaly_subscription - [ ] create_anomaly_subscription
@ -523,10 +523,10 @@
- [ ] get_usage_forecast - [ ] get_usage_forecast
- [ ] list_cost_allocation_tags - [ ] list_cost_allocation_tags
- [ ] list_cost_category_definitions - [ ] list_cost_category_definitions
- [ ] list_tags_for_resource - [X] list_tags_for_resource
- [ ] provide_anomaly_feedback - [ ] provide_anomaly_feedback
- [ ] tag_resource - [X] tag_resource
- [ ] untag_resource - [X] untag_resource
- [ ] update_anomaly_monitor - [ ] update_anomaly_monitor
- [ ] update_anomaly_subscription - [ ] update_anomaly_subscription
- [ ] update_cost_allocation_tags_status - [ ] update_cost_allocation_tags_status
@ -607,7 +607,7 @@
## cloudfront ## cloudfront
<details> <details>
<summary>8% implemented</summary> <summary>9% implemented</summary>
- [ ] associate_alias - [ ] associate_alias
- [ ] create_cache_policy - [ ] create_cache_policy
@ -681,7 +681,7 @@
- [ ] list_field_level_encryption_configs - [ ] list_field_level_encryption_configs
- [ ] list_field_level_encryption_profiles - [ ] list_field_level_encryption_profiles
- [ ] list_functions - [ ] list_functions
- [ ] list_invalidations - [X] list_invalidations
- [ ] list_key_groups - [ ] list_key_groups
- [ ] list_origin_access_controls - [ ] list_origin_access_controls
- [ ] list_origin_request_policies - [ ] list_origin_request_policies
@ -1112,13 +1112,14 @@
## comprehend ## comprehend
<details> <details>
<summary>11% implemented</summary> <summary>10% implemented</summary>
- [ ] batch_detect_dominant_language - [ ] batch_detect_dominant_language
- [ ] batch_detect_entities - [ ] batch_detect_entities
- [ ] batch_detect_key_phrases - [ ] batch_detect_key_phrases
- [ ] batch_detect_sentiment - [ ] batch_detect_sentiment
- [ ] batch_detect_syntax - [ ] batch_detect_syntax
- [ ] batch_detect_targeted_sentiment
- [ ] classify_document - [ ] classify_document
- [ ] contains_pii_entities - [ ] contains_pii_entities
- [ ] create_document_classifier - [ ] create_document_classifier
@ -1147,6 +1148,7 @@
- [ ] detect_pii_entities - [ ] detect_pii_entities
- [ ] detect_sentiment - [ ] detect_sentiment
- [ ] detect_syntax - [ ] detect_syntax
- [ ] detect_targeted_sentiment
- [ ] import_model - [ ] import_model
- [ ] list_document_classification_jobs - [ ] list_document_classification_jobs
- [ ] list_document_classifier_summaries - [ ] list_document_classifier_summaries
@ -1507,7 +1509,7 @@
## ds ## ds
<details> <details>
<summary>18% implemented</summary> <summary>17% implemented</summary>
- [ ] accept_shared_directory - [ ] accept_shared_directory
- [ ] add_ip_routes - [ ] add_ip_routes
@ -1542,6 +1544,7 @@
- [ ] describe_shared_directories - [ ] describe_shared_directories
- [ ] describe_snapshots - [ ] describe_snapshots
- [ ] describe_trusts - [ ] describe_trusts
- [ ] describe_update_directory
- [ ] disable_client_authentication - [ ] disable_client_authentication
- [ ] disable_ldaps - [ ] disable_ldaps
- [ ] disable_radius - [ ] disable_radius
@ -1569,6 +1572,7 @@
- [ ] start_schema_extension - [ ] start_schema_extension
- [ ] unshare_directory - [ ] unshare_directory
- [ ] update_conditional_forwarder - [ ] update_conditional_forwarder
- [ ] update_directory_setup
- [ ] update_number_of_domain_controllers - [ ] update_number_of_domain_controllers
- [ ] update_radius - [ ] update_radius
- [ ] update_settings - [ ] update_settings
@ -2697,12 +2701,13 @@
## emr-serverless ## emr-serverless
<details> <details>
<summary>50% implemented</summary> <summary>46% implemented</summary>
- [ ] cancel_job_run - [ ] cancel_job_run
- [X] create_application - [X] create_application
- [X] delete_application - [X] delete_application
- [X] get_application - [X] get_application
- [ ] get_dashboard_for_job_run
- [ ] get_job_run - [ ] get_job_run
- [X] list_applications - [X] list_applications
- [ ] list_job_runs - [ ] list_job_runs
@ -2952,7 +2957,7 @@
## glue ## glue
<details> <details>
<summary>20% implemented</summary> <summary>19% implemented</summary>
- [X] batch_create_partition - [X] batch_create_partition
- [ ] batch_delete_connection - [ ] batch_delete_connection
@ -3130,10 +3135,12 @@
- [X] update_database - [X] update_database
- [ ] update_dev_endpoint - [ ] update_dev_endpoint
- [ ] update_job - [ ] update_job
- [ ] update_job_from_source_control
- [ ] update_ml_transform - [ ] update_ml_transform
- [ ] update_partition - [ ] update_partition
- [ ] update_registry - [ ] update_registry
- [ ] update_schema - [ ] update_schema
- [ ] update_source_control_from_job
- [ ] update_table - [ ] update_table
- [ ] update_trigger - [ ] update_trigger
- [ ] update_user_defined_function - [ ] update_user_defined_function
@ -3980,18 +3987,22 @@
## managedblockchain ## managedblockchain
<details> <details>
<summary>86% implemented</summary> <summary>74% implemented</summary>
- [ ] create_accessor
- [X] create_member - [X] create_member
- [X] create_network - [X] create_network
- [X] create_node - [X] create_node
- [X] create_proposal - [X] create_proposal
- [ ] delete_accessor
- [X] delete_member - [X] delete_member
- [X] delete_node - [X] delete_node
- [ ] get_accessor
- [X] get_member - [X] get_member
- [X] get_network - [X] get_network
- [X] get_node - [X] get_node
- [X] get_proposal - [X] get_proposal
- [ ] list_accessors
- [X] list_invitations - [X] list_invitations
- [X] list_members - [X] list_members
- [X] list_networks - [X] list_networks
@ -4009,7 +4020,7 @@
## mediaconnect ## mediaconnect
<details> <details>
<summary>46% implemented</summary> <summary>60% implemented</summary>
- [ ] add_flow_media_streams - [ ] add_flow_media_streams
- [X] add_flow_outputs - [X] add_flow_outputs
@ -4020,7 +4031,7 @@
- [X] describe_flow - [X] describe_flow
- [ ] describe_offering - [ ] describe_offering
- [ ] describe_reservation - [ ] describe_reservation
- [x] grant_flow_entitlements - [X] grant_flow_entitlements
- [ ] list_entitlements - [ ] list_entitlements
- [X] list_flows - [X] list_flows
- [ ] list_offerings - [ ] list_offerings
@ -4031,15 +4042,15 @@
- [X] remove_flow_output - [X] remove_flow_output
- [ ] remove_flow_source - [ ] remove_flow_source
- [X] remove_flow_vpc_interface - [X] remove_flow_vpc_interface
- [x] revoke_flow_entitlement - [X] revoke_flow_entitlement
- [X] start_flow - [X] start_flow
- [X] stop_flow - [X] stop_flow
- [X] tag_resource - [X] tag_resource
- [ ] untag_resource - [ ] untag_resource
- [ ] update_flow - [ ] update_flow
- [x] update_flow_entitlement - [X] update_flow_entitlement
- [ ] update_flow_media_stream - [ ] update_flow_media_stream
- [x] update_flow_output - [X] update_flow_output
- [X] update_flow_source - [X] update_flow_source
</details> </details>
@ -5382,6 +5393,7 @@
- [ ] get_bucket_lifecycle_configuration - [ ] get_bucket_lifecycle_configuration
- [ ] get_bucket_policy - [ ] get_bucket_policy
- [ ] get_bucket_tagging - [ ] get_bucket_tagging
- [ ] get_bucket_versioning
- [ ] get_job_tagging - [ ] get_job_tagging
- [ ] get_multi_region_access_point - [ ] get_multi_region_access_point
- [ ] get_multi_region_access_point_policy - [ ] get_multi_region_access_point_policy
@ -5401,6 +5413,7 @@
- [ ] put_bucket_lifecycle_configuration - [ ] put_bucket_lifecycle_configuration
- [ ] put_bucket_policy - [ ] put_bucket_policy
- [ ] put_bucket_tagging - [ ] put_bucket_tagging
- [ ] put_bucket_versioning
- [ ] put_job_tagging - [ ] put_job_tagging
- [ ] put_multi_region_access_point_policy - [ ] put_multi_region_access_point_policy
- [X] put_public_access_block - [X] put_public_access_block
@ -6432,6 +6445,7 @@
- connect - connect
- connect-contact-lens - connect-contact-lens
- connectcampaigns - connectcampaigns
- connectcases
- connectparticipant - connectparticipant
- controltower - controltower
- cur - cur
@ -6477,6 +6491,7 @@
- iotevents - iotevents
- iotevents-data - iotevents-data
- iotfleethub - iotfleethub
- iotfleetwise
- iotsecuretunneling - iotsecuretunneling
- iotsitewise - iotsitewise
- iotthingsgraph - iotthingsgraph
@ -6519,6 +6534,7 @@
- mgn - mgn
- migration-hub-refactor-spaces - migration-hub-refactor-spaces
- migrationhub-config - migrationhub-config
- migrationhuborchestrator
- migrationhubstrategy - migrationhubstrategy
- mobile - mobile
- mturk - mturk

View File

@ -66,10 +66,10 @@ ce
- [ ] get_usage_forecast - [ ] get_usage_forecast
- [ ] list_cost_allocation_tags - [ ] list_cost_allocation_tags
- [ ] list_cost_category_definitions - [ ] list_cost_category_definitions
- [ ] list_tags_for_resource - [X] list_tags_for_resource
- [ ] provide_anomaly_feedback - [ ] provide_anomaly_feedback
- [ ] tag_resource - [X] tag_resource
- [ ] untag_resource - [X] untag_resource
- [ ] update_anomaly_monitor - [ ] update_anomaly_monitor
- [ ] update_anomaly_subscription - [ ] update_anomaly_subscription
- [ ] update_cost_allocation_tags_status - [ ] update_cost_allocation_tags_status

View File

@ -112,7 +112,11 @@ cloudfront
- [ ] list_field_level_encryption_configs - [ ] list_field_level_encryption_configs
- [ ] list_field_level_encryption_profiles - [ ] list_field_level_encryption_profiles
- [ ] list_functions - [ ] list_functions
- [ ] list_invalidations - [X] list_invalidations
Pagination is not yet implemented
- [ ] list_key_groups - [ ] list_key_groups
- [ ] list_origin_access_controls - [ ] list_origin_access_controls
- [ ] list_origin_request_policies - [ ] list_origin_request_policies

View File

@ -32,6 +32,7 @@ comprehend
- [ ] batch_detect_key_phrases - [ ] batch_detect_key_phrases
- [ ] batch_detect_sentiment - [ ] batch_detect_sentiment
- [ ] batch_detect_syntax - [ ] batch_detect_syntax
- [ ] batch_detect_targeted_sentiment
- [ ] classify_document - [ ] classify_document
- [ ] contains_pii_entities - [ ] contains_pii_entities
- [ ] create_document_classifier - [ ] create_document_classifier
@ -64,6 +65,7 @@ comprehend
- [ ] detect_pii_entities - [ ] detect_pii_entities
- [ ] detect_sentiment - [ ] detect_sentiment
- [ ] detect_syntax - [ ] detect_syntax
- [ ] detect_targeted_sentiment
- [ ] import_model - [ ] import_model
- [ ] list_document_classification_jobs - [ ] list_document_classification_jobs
- [ ] list_document_classifier_summaries - [ ] list_document_classifier_summaries

View File

@ -74,6 +74,7 @@ ds
- [ ] describe_shared_directories - [ ] describe_shared_directories
- [ ] describe_snapshots - [ ] describe_snapshots
- [ ] describe_trusts - [ ] describe_trusts
- [ ] describe_update_directory
- [ ] disable_client_authentication - [ ] disable_client_authentication
- [ ] disable_ldaps - [ ] disable_ldaps
- [ ] disable_radius - [ ] disable_radius
@ -111,6 +112,7 @@ ds
- [ ] start_schema_extension - [ ] start_schema_extension
- [ ] unshare_directory - [ ] unshare_directory
- [ ] update_conditional_forwarder - [ ] update_conditional_forwarder
- [ ] update_directory_setup
- [ ] update_number_of_domain_controllers - [ ] update_number_of_domain_controllers
- [ ] update_radius - [ ] update_radius
- [ ] update_settings - [ ] update_settings

View File

@ -31,6 +31,7 @@ emr-serverless
- [X] create_application - [X] create_application
- [X] delete_application - [X] delete_application
- [X] get_application - [X] get_application
- [ ] get_dashboard_for_job_run
- [ ] get_job_run - [ ] get_job_run
- [X] list_applications - [X] list_applications
- [ ] list_job_runs - [ ] list_job_runs

View File

@ -218,10 +218,12 @@ glue
- [X] update_database - [X] update_database
- [ ] update_dev_endpoint - [ ] update_dev_endpoint
- [ ] update_job - [ ] update_job
- [ ] update_job_from_source_control
- [ ] update_ml_transform - [ ] update_ml_transform
- [ ] update_partition - [ ] update_partition
- [ ] update_registry - [ ] update_registry
- [ ] update_schema - [ ] update_schema
- [ ] update_source_control_from_job
- [ ] update_table - [ ] update_table
- [ ] update_trigger - [ ] update_trigger
- [ ] update_user_defined_function - [ ] update_user_defined_function

View File

@ -25,16 +25,20 @@ managedblockchain
|start-h3| Implemented features for this service |end-h3| |start-h3| Implemented features for this service |end-h3|
- [ ] create_accessor
- [X] create_member - [X] create_member
- [X] create_network - [X] create_network
- [X] create_node - [X] create_node
- [X] create_proposal - [X] create_proposal
- [ ] delete_accessor
- [X] delete_member - [X] delete_member
- [X] delete_node - [X] delete_node
- [ ] get_accessor
- [X] get_member - [X] get_member
- [X] get_network - [X] get_network
- [X] get_node - [X] get_node
- [X] get_proposal - [X] get_proposal
- [ ] list_accessors
- [X] list_invitations - [X] list_invitations
- [X] list_members - [X] list_members
- [X] list_networks - [X] list_networks

View File

@ -34,7 +34,7 @@ mediaconnect
- [X] describe_flow - [X] describe_flow
- [ ] describe_offering - [ ] describe_offering
- [ ] describe_reservation - [ ] describe_reservation
- [x] grant_flow_entitlements - [X] grant_flow_entitlements
- [ ] list_entitlements - [ ] list_entitlements
- [X] list_flows - [X] list_flows
- [ ] list_offerings - [ ] list_offerings
@ -45,14 +45,14 @@ mediaconnect
- [X] remove_flow_output - [X] remove_flow_output
- [ ] remove_flow_source - [ ] remove_flow_source
- [X] remove_flow_vpc_interface - [X] remove_flow_vpc_interface
- [x] revoke_flow_entitlement - [X] revoke_flow_entitlement
- [X] start_flow - [X] start_flow
- [X] stop_flow - [X] stop_flow
- [X] tag_resource - [X] tag_resource
- [ ] untag_resource - [ ] untag_resource
- [ ] update_flow - [ ] update_flow
- [x] update_flow_entitlement - [X] update_flow_entitlement
- [ ] update_flow_media_stream - [ ] update_flow_media_stream
- [x] update_flow_output - [X] update_flow_output
- [X] update_flow_source - [X] update_flow_source

View File

@ -117,7 +117,7 @@ rds
- [ ] modify_certificates - [ ] modify_certificates
- [ ] modify_current_db_cluster_capacity - [ ] modify_current_db_cluster_capacity
- [ ] modify_custom_db_engine_version - [ ] modify_custom_db_engine_version
- [ ] modify_db_cluster - [X] modify_db_cluster
- [ ] modify_db_cluster_endpoint - [ ] modify_db_cluster_endpoint
- [ ] modify_db_cluster_parameter_group - [ ] modify_db_cluster_parameter_group
- [ ] modify_db_cluster_snapshot_attribute - [ ] modify_db_cluster_snapshot_attribute

View File

@ -60,6 +60,7 @@ s3control
- [ ] get_bucket_lifecycle_configuration - [ ] get_bucket_lifecycle_configuration
- [ ] get_bucket_policy - [ ] get_bucket_policy
- [ ] get_bucket_tagging - [ ] get_bucket_tagging
- [ ] get_bucket_versioning
- [ ] get_job_tagging - [ ] get_job_tagging
- [ ] get_multi_region_access_point - [ ] get_multi_region_access_point
- [ ] get_multi_region_access_point_policy - [ ] get_multi_region_access_point_policy
@ -79,6 +80,7 @@ s3control
- [ ] put_bucket_lifecycle_configuration - [ ] put_bucket_lifecycle_configuration
- [ ] put_bucket_policy - [ ] put_bucket_policy
- [ ] put_bucket_tagging - [ ] put_bucket_tagging
- [ ] put_bucket_versioning
- [ ] put_job_tagging - [ ] put_job_tagging
- [ ] put_multi_region_access_point_policy - [ ] put_multi_region_access_point_policy
- [X] put_public_access_block - [X] put_public_access_block

View File

@ -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 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] [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_column_numbers=True
show_error_codes = True show_error_codes = True
disable_error_code=abstract disable_error_code=abstract