Prepare release 4.0.5 (#5487)
This commit is contained in:
parent
b9f5ecacde
commit
580e154ea6
15
CHANGELOG.md
15
CHANGELOG.md
@ -1,6 +1,21 @@
|
||||
Moto Changelog
|
||||
==============
|
||||
|
||||
4.0.5
|
||||
-----
|
||||
Docker Digest for 4.0.5: <autopopulateddigest>
|
||||
|
||||
General:
|
||||
* Moto now has a Recorder, to easily record and replay a given set of requests.
|
||||
See http://docs.getmoto.org/en/latest/docs/configuration/recorder/index.html
|
||||
|
||||
Miscellaneous:
|
||||
* CloudFormation now supports the creation/update/deletion of AWS::EC2::LaunchTemplate
|
||||
* Glue:start_job_run() now respects the MaxConcurrentRuns-parameter
|
||||
* S3:get_object() now performs rudimentary BucketPolicy validation
|
||||
* StateManager now supports `glue::job_run`, managing how long it takes to for a Glue job to become 'SUCCEEDED'
|
||||
|
||||
|
||||
4.0.3
|
||||
-----
|
||||
Docker Digest for 4.0.3: <autopopulateddigest>
|
||||
|
@ -607,7 +607,7 @@
|
||||
|
||||
## cloudfront
|
||||
<details>
|
||||
<summary>7% implemented</summary>
|
||||
<summary>8% implemented</summary>
|
||||
|
||||
- [ ] associate_alias
|
||||
- [ ] create_cache_policy
|
||||
@ -711,7 +711,7 @@
|
||||
|
||||
## cloudtrail
|
||||
<details>
|
||||
<summary>55% implemented</summary>
|
||||
<summary>44% implemented</summary>
|
||||
|
||||
- [X] add_tags
|
||||
- [ ] cancel_query
|
||||
@ -721,13 +721,18 @@
|
||||
- [X] delete_trail
|
||||
- [ ] describe_query
|
||||
- [X] describe_trails
|
||||
- [ ] get_channel
|
||||
- [ ] get_event_data_store
|
||||
- [X] get_event_selectors
|
||||
- [ ] get_import
|
||||
- [X] get_insight_selectors
|
||||
- [ ] get_query_results
|
||||
- [X] get_trail
|
||||
- [X] get_trail_status
|
||||
- [ ] list_channels
|
||||
- [ ] list_event_data_stores
|
||||
- [ ] list_import_failures
|
||||
- [ ] list_imports
|
||||
- [ ] list_public_keys
|
||||
- [ ] list_queries
|
||||
- [X] list_tags
|
||||
@ -737,8 +742,10 @@
|
||||
- [X] put_insight_selectors
|
||||
- [X] remove_tags
|
||||
- [ ] restore_event_data_store
|
||||
- [ ] start_import
|
||||
- [X] start_logging
|
||||
- [ ] start_query
|
||||
- [ ] stop_import
|
||||
- [X] stop_logging
|
||||
- [ ] update_event_data_store
|
||||
- [X] update_trail
|
||||
@ -1575,7 +1582,7 @@
|
||||
|
||||
## ec2
|
||||
<details>
|
||||
<summary>36% implemented</summary>
|
||||
<summary>35% implemented</summary>
|
||||
|
||||
- [ ] accept_reserved_instances_exchange_quote
|
||||
- [ ] accept_transit_gateway_multicast_domain_associations
|
||||
@ -1630,6 +1637,8 @@
|
||||
- [X] create_carrier_gateway
|
||||
- [ ] create_client_vpn_endpoint
|
||||
- [ ] create_client_vpn_route
|
||||
- [ ] create_coip_cidr
|
||||
- [ ] create_coip_pool
|
||||
- [X] create_customer_gateway
|
||||
- [ ] create_default_subnet
|
||||
- [X] create_default_vpc
|
||||
@ -1649,6 +1658,8 @@
|
||||
- [X] create_launch_template
|
||||
- [ ] create_launch_template_version
|
||||
- [ ] create_local_gateway_route
|
||||
- [ ] create_local_gateway_route_table
|
||||
- [ ] create_local_gateway_route_table_virtual_interface_group_association
|
||||
- [ ] create_local_gateway_route_table_vpc_association
|
||||
- [X] create_managed_prefix_list
|
||||
- [X] create_nat_gateway
|
||||
@ -1700,6 +1711,8 @@
|
||||
- [X] delete_carrier_gateway
|
||||
- [ ] delete_client_vpn_endpoint
|
||||
- [ ] delete_client_vpn_route
|
||||
- [ ] delete_coip_cidr
|
||||
- [ ] delete_coip_pool
|
||||
- [X] delete_customer_gateway
|
||||
- [ ] delete_dhcp_options
|
||||
- [X] delete_egress_only_internet_gateway
|
||||
@ -1715,6 +1728,8 @@
|
||||
- [X] delete_launch_template
|
||||
- [ ] delete_launch_template_versions
|
||||
- [ ] delete_local_gateway_route
|
||||
- [ ] delete_local_gateway_route_table
|
||||
- [ ] delete_local_gateway_route_table_virtual_interface_group_association
|
||||
- [ ] delete_local_gateway_route_table_vpc_association
|
||||
- [X] delete_managed_prefix_list
|
||||
- [X] delete_nat_gateway
|
||||
@ -2016,6 +2031,7 @@
|
||||
- [ ] modify_ipam_resource_cidr
|
||||
- [ ] modify_ipam_scope
|
||||
- [ ] modify_launch_template
|
||||
- [ ] modify_local_gateway_route
|
||||
- [X] modify_managed_prefix_list
|
||||
- [X] modify_network_interface_attribute
|
||||
- [ ] modify_private_dns_name_options
|
||||
@ -5754,7 +5770,7 @@
|
||||
|
||||
## sns
|
||||
<details>
|
||||
<summary>55% implemented</summary>
|
||||
<summary>52% implemented</summary>
|
||||
|
||||
- [X] add_permission
|
||||
- [ ] check_if_phone_number_is_opted_out
|
||||
@ -5767,6 +5783,7 @@
|
||||
- [X] delete_platform_application
|
||||
- [ ] delete_sms_sandbox_phone_number
|
||||
- [X] delete_topic
|
||||
- [ ] get_data_protection_policy
|
||||
- [ ] get_endpoint_attributes
|
||||
- [ ] get_platform_application_attributes
|
||||
- [ ] get_sms_attributes
|
||||
@ -5785,6 +5802,7 @@
|
||||
- [ ] opt_in_phone_number
|
||||
- [X] publish
|
||||
- [X] publish_batch
|
||||
- [ ] put_data_protection_policy
|
||||
- [X] remove_permission
|
||||
- [X] set_endpoint_attributes
|
||||
- [ ] set_platform_application_attributes
|
||||
|
@ -35,7 +35,7 @@ cloudfront
|
||||
use-case.
|
||||
|
||||
|
||||
- [ ] create_distribution_with_tags
|
||||
- [X] create_distribution_with_tags
|
||||
- [ ] create_field_level_encryption_config
|
||||
- [ ] create_field_level_encryption_profile
|
||||
- [ ] create_function
|
||||
|
@ -35,13 +35,18 @@ cloudtrail
|
||||
- [X] delete_trail
|
||||
- [ ] describe_query
|
||||
- [X] describe_trails
|
||||
- [ ] get_channel
|
||||
- [ ] get_event_data_store
|
||||
- [X] get_event_selectors
|
||||
- [ ] get_import
|
||||
- [X] get_insight_selectors
|
||||
- [ ] get_query_results
|
||||
- [X] get_trail
|
||||
- [X] get_trail_status
|
||||
- [ ] list_channels
|
||||
- [ ] list_event_data_stores
|
||||
- [ ] list_import_failures
|
||||
- [ ] list_imports
|
||||
- [ ] list_public_keys
|
||||
- [ ] list_queries
|
||||
- [X] list_tags
|
||||
@ -55,8 +60,10 @@ cloudtrail
|
||||
- [X] put_insight_selectors
|
||||
- [X] remove_tags
|
||||
- [ ] restore_event_data_store
|
||||
- [ ] start_import
|
||||
- [X] start_logging
|
||||
- [ ] start_query
|
||||
- [ ] stop_import
|
||||
- [X] stop_logging
|
||||
- [ ] update_event_data_store
|
||||
- [X] update_trail
|
||||
|
@ -80,6 +80,8 @@ ec2
|
||||
- [X] create_carrier_gateway
|
||||
- [ ] create_client_vpn_endpoint
|
||||
- [ ] create_client_vpn_route
|
||||
- [ ] create_coip_cidr
|
||||
- [ ] create_coip_pool
|
||||
- [X] create_customer_gateway
|
||||
- [ ] create_default_subnet
|
||||
- [X] create_default_vpc
|
||||
@ -99,6 +101,8 @@ ec2
|
||||
- [X] create_launch_template
|
||||
- [ ] create_launch_template_version
|
||||
- [ ] create_local_gateway_route
|
||||
- [ ] create_local_gateway_route_table
|
||||
- [ ] create_local_gateway_route_table_virtual_interface_group_association
|
||||
- [ ] create_local_gateway_route_table_vpc_association
|
||||
- [X] create_managed_prefix_list
|
||||
- [X] create_nat_gateway
|
||||
@ -154,6 +158,8 @@ ec2
|
||||
- [X] delete_carrier_gateway
|
||||
- [ ] delete_client_vpn_endpoint
|
||||
- [ ] delete_client_vpn_route
|
||||
- [ ] delete_coip_cidr
|
||||
- [ ] delete_coip_pool
|
||||
- [X] delete_customer_gateway
|
||||
- [ ] delete_dhcp_options
|
||||
- [X] delete_egress_only_internet_gateway
|
||||
@ -169,6 +175,8 @@ ec2
|
||||
- [X] delete_launch_template
|
||||
- [ ] delete_launch_template_versions
|
||||
- [ ] delete_local_gateway_route
|
||||
- [ ] delete_local_gateway_route_table
|
||||
- [ ] delete_local_gateway_route_table_virtual_interface_group_association
|
||||
- [ ] delete_local_gateway_route_table_vpc_association
|
||||
- [X] delete_managed_prefix_list
|
||||
- [X] delete_nat_gateway
|
||||
@ -493,6 +501,7 @@ ec2
|
||||
- [ ] modify_ipam_resource_cidr
|
||||
- [ ] modify_ipam_scope
|
||||
- [ ] modify_launch_template
|
||||
- [ ] modify_local_gateway_route
|
||||
- [X] modify_managed_prefix_list
|
||||
- [X] modify_network_interface_attribute
|
||||
- [ ] modify_private_dns_name_options
|
||||
|
@ -38,6 +38,7 @@ sns
|
||||
- [X] delete_platform_application
|
||||
- [ ] delete_sms_sandbox_phone_number
|
||||
- [X] delete_topic
|
||||
- [ ] get_data_protection_policy
|
||||
- [ ] get_endpoint_attributes
|
||||
- [ ] get_platform_application_attributes
|
||||
- [ ] get_sms_attributes
|
||||
@ -60,6 +61,7 @@ sns
|
||||
The MessageStructure and MessageDeduplicationId-parameters have not yet been implemented.
|
||||
|
||||
|
||||
- [ ] put_data_protection_policy
|
||||
- [X] remove_permission
|
||||
- [X] set_endpoint_attributes
|
||||
- [ ] set_platform_application_attributes
|
||||
|
@ -247,6 +247,10 @@ class CloudFrontBackend(BaseBackend):
|
||||
we're not persisting/returning the correct attributes for your
|
||||
use-case.
|
||||
"""
|
||||
# We'll always call dist_with_tags, as the incoming request is the same
|
||||
return self.create_distribution_with_tags(distribution_config, tags)
|
||||
|
||||
def create_distribution_with_tags(self, distribution_config, tags):
|
||||
dist = Distribution(self.account_id, distribution_config)
|
||||
caller_reference = dist.distribution_config.caller_reference
|
||||
existing_dist = self._distribution_with_caller_reference(caller_reference)
|
||||
|
Loading…
Reference in New Issue
Block a user