Prepare release 4.2.12 (#7133)
This commit is contained in:
		
							parent
							
								
									692b475501
								
							
						
					
					
						commit
						5e6393c30c
					
				
							
								
								
									
										17
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @ -1,6 +1,23 @@ | ||||
| Moto Changelog | ||||
| ============== | ||||
| 
 | ||||
| 4.2.12 | ||||
| ------ | ||||
| 
 | ||||
|     Miscellaneous: | ||||
|         * AWSLambda: list_functions() now returns a default PackageType (ZIP) if not specified | ||||
|         * CloudFormation: AWS::EC2::LaunchTemplate resources now support Fn::GetAtt operations | ||||
|         * CognitoIDP: admin_initiate_auth() now correctly returns a Challenge when 2FA is enabled | ||||
|         * DynamoDB: execute_statement() now supports INSERT/UPDATE/DELETE queries | ||||
|         * EC2: describe_availability_zones() now supports the ZoneNames/ZoneIds-parameters | ||||
|         * KMS: encrypt() now validates payloads that are too large | ||||
|         * ResourceGroupTaggingAPI: get_resources() now supports SQS queues | ||||
|         * Route53: list_hosted_zone()/list_hosted_zones_by_name() now return the CallerReference | ||||
|         * S3: copy() now respects the ExtraArgs-parameter when using MultiPart uploads | ||||
|         * S3: list_object_versions() now supports pagination | ||||
|         * S3: put_object_tagging() now validates the number of tags provided | ||||
| 
 | ||||
| 
 | ||||
| 4.2.11 | ||||
| ----- | ||||
| Docker Digest for 4.2.11: _sha256:f2a24d8a3440bf397705e461b33a032bbb6d3511cd9c643e71419dd962b3384e_ | ||||
|  | ||||
| @ -3966,7 +3966,7 @@ | ||||
| 
 | ||||
| ## iot | ||||
| <details> | ||||
| <summary>32% implemented</summary> | ||||
| <summary>31% implemented</summary> | ||||
| 
 | ||||
| - [ ] accept_certificate_transfer | ||||
| - [ ] add_thing_to_billing_group | ||||
| @ -3988,6 +3988,7 @@ | ||||
| - [ ] create_authorizer | ||||
| - [ ] create_billing_group | ||||
| - [X] create_certificate_from_csr | ||||
| - [ ] create_certificate_provider | ||||
| - [ ] create_custom_metric | ||||
| - [ ] create_dimension | ||||
| - [X] create_domain_configuration | ||||
| @ -4020,6 +4021,7 @@ | ||||
| - [ ] delete_billing_group | ||||
| - [X] delete_ca_certificate | ||||
| - [X] delete_certificate | ||||
| - [ ] delete_certificate_provider | ||||
| - [ ] delete_custom_metric | ||||
| - [ ] delete_dimension | ||||
| - [X] delete_domain_configuration | ||||
| @ -4057,6 +4059,7 @@ | ||||
| - [ ] describe_billing_group | ||||
| - [X] describe_ca_certificate | ||||
| - [X] describe_certificate | ||||
| - [ ] describe_certificate_provider | ||||
| - [ ] describe_custom_metric | ||||
| - [ ] describe_default_authorizer | ||||
| - [ ] describe_detect_mitigation_actions_task | ||||
| @ -4116,6 +4119,7 @@ | ||||
| - [ ] list_authorizers | ||||
| - [ ] list_billing_groups | ||||
| - [ ] list_ca_certificates | ||||
| - [ ] list_certificate_providers | ||||
| - [X] list_certificates | ||||
| - [X] list_certificates_by_ca | ||||
| - [ ] list_custom_metrics | ||||
| @ -4196,6 +4200,7 @@ | ||||
| - [ ] update_billing_group | ||||
| - [X] update_ca_certificate | ||||
| - [X] update_certificate | ||||
| - [ ] update_certificate_provider | ||||
| - [ ] update_custom_metric | ||||
| - [ ] update_dimension | ||||
| - [X] update_domain_configuration | ||||
| @ -4611,6 +4616,7 @@ | ||||
| - [X] put_resource_policy | ||||
| - [X] put_retention_policy | ||||
| - [X] put_subscription_filter | ||||
| - [ ] start_live_tail | ||||
| - [X] start_query | ||||
| - [ ] stop_query | ||||
| - [X] tag_log_group | ||||
| @ -5531,6 +5537,7 @@ | ||||
| - [ ] update_analysis | ||||
| - [ ] update_analysis_permissions | ||||
| - [ ] update_dashboard | ||||
| - [ ] update_dashboard_links | ||||
| - [ ] update_dashboard_permissions | ||||
| - [ ] update_dashboard_published_version | ||||
| - [ ] update_data_set | ||||
| @ -6530,6 +6537,7 @@ | ||||
| - [ ] delete_association | ||||
| - [ ] delete_cluster | ||||
| - [ ] delete_code_repository | ||||
| - [ ] delete_compilation_job | ||||
| - [ ] delete_context | ||||
| - [ ] delete_data_quality_job_definition | ||||
| - [ ] delete_device_fleet | ||||
| @ -7868,6 +7876,7 @@ | ||||
| - mobile | ||||
| - mturk | ||||
| - mwaa | ||||
| - neptune-graph | ||||
| - neptunedata | ||||
| - network-firewall | ||||
| - networkmanager | ||||
|  | ||||
| @ -19,16 +19,14 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::ApiGateway::Resource              |    x   |        |        | - [ ] ResourceId                  | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::AutoScaling::AutoScalingGroup     |    x   |    x   |    x   | - [ ] LaunchConfigurationName     | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] LaunchTemplateSpecification | | ||||
|   |                                       |        |        |        | - [ ] MixedInstancesPolicy        | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] PlacementGroup              | | ||||
|   |                                       |        |        |        | - [ ] VPCZoneIdentifier           | | ||||
|   |AWS::AutoScaling::AutoScalingGroup     |    x   |    x   |    x   |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::AutoScaling::LaunchConfiguration  |    x   |    x   |    x   |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::AutoScaling::ScheduledAction      |    x   |        |        | - [ ] ScheduledActionName         | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::AutoScaling::WarmPool             |        |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::Batch::ComputeEnvironment         |    x   |        |        | - [ ] ComputeEnvironmentArn       | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::Batch::JobDefinition              |    x   |        |        |                                   | | ||||
| @ -51,9 +49,9 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::InternetGateway              |    x   |        |        | - [ ] InternetGatewayId           | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::LaunchTemplate               |    x   |    x   |    x   | - [ ] LatestVersionNumber         | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] DefaultVersionNumber        | | ||||
|   |                                       |        |        |        |                                   | | ||||
|   |AWS::EC2::LaunchTemplate               |    x   |    x   |    x   | - [x] LatestVersionNumber         | | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] LaunchTemplateId            | | ||||
|   |                                       |        |        |        | - [x] DefaultVersionNumber        | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::NatGateway                   |    x   |        |        | - [ ] NatGatewayId                | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
| @ -61,7 +59,7 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] PrimaryPrivateIpAddress     | | ||||
|   |                                       |        |        |        | - [ ] Id                          | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::Route                        |    x   |        |        |                                   | | ||||
|   |AWS::EC2::Route                        |    x   |        |        | - [ ] CidrBlock                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::RouteTable                   |    x   |        |        | - [ ] RouteTableId                | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
| @ -73,15 +71,19 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::Subnet                       |    x   |        |    x   | - [ ] VpcId                       | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] NetworkAclAssociationId     | | ||||
|   |                                       |        |        |        | - [ ] OutpostArn                  | | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] AvailabilityZone            | | ||||
|   |                                       |        |        |        | - [ ] AvailabilityZoneId          | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] OutpostArn                  | | ||||
|   |                                       |        |        |        | - [x] AvailabilityZone            | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] CidrBlock                   | | ||||
|   |                                       |        |        |        | - [ ] SubnetId                    | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] Ipv6CidrBlocks              | | ||||
|   |                                       |        |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::SubnetRouteTableAssociation  |    x   |        |        | - [ ] Id                          | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::TransitGateway               |    x   |        |        | - [ ] Id                          | | ||||
|   |AWS::EC2::TransitGateway               |    x   |        |        | - [ ] TransitGatewayArn           | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] Id                          | | ||||
|   |                                       |        |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::VPC                          |    x   |        |    x   | - [ ] VpcId                       | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] CidrBlockAssociations       | | ||||
| @ -91,7 +93,7 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] DefaultSecurityGroup        | | ||||
|   |                                       |        |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::VPCGatewayAttachment         |    x   |        |        |                                   | | ||||
|   |AWS::EC2::VPCGatewayAttachment         |    x   |        |        | - [ ] AttachmentType              | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::EC2::VPCPeeringConnection         |    x   |        |        | - [ ] Id                          | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
| @ -121,9 +123,9 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::Events::Archive                   |    x   |    x   |        | - [x] Arn                         | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::Events::EventBus                  |    x   |    x   |    x   | - [x] Policy                      | | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] Arn                         | | ||||
|   |                                       |        |        |        | - [x] Name                        | | ||||
|   |AWS::Events::EventBus                  |    x   |    x   |    x   | - [x] Arn                         | | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] Name                        | | ||||
|   |                                       |        |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::Events::Rule                      |    x   |    x   |    x   | - [x] Arn                         | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
| @ -131,9 +133,17 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::IAM::InstanceProfile              |    x   |        |    x   | - [x] Arn                         | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::IAM::ManagedPolicy                |    x   |        |        |                                   | | ||||
|   |AWS::IAM::ManagedPolicy                |    x   |        |        | - [ ] IsAttachable                | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] UpdateDate                  | | ||||
|   |                                       |        |        |        | - [ ] PermissionsBoundaryUsageCount| | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] AttachmentCount             | | ||||
|   |                                       |        |        |        | - [ ] PolicyArn                   | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] DefaultVersionId            | | ||||
|   |                                       |        |        |        | - [ ] CreateDate                  | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] PolicyId                    | | ||||
|   |                                       |        |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::IAM::Policy                       |        |        |        |                                   | | ||||
|   |AWS::IAM::Policy                       |        |        |        | - [ ] Id                          | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::IAM::Role                         |    x   |        |    x   | - [x] Arn                         | | ||||
|   +---------------------------------------+--------+--------+--------+ - [ ] RoleId                      | | ||||
| @ -149,6 +159,8 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::Logs::LogGroup                    |    x   |        |        | - [x] Arn                         | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::RDS::DBClusterParameterGroup      |        |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::RDS::DBParameterGroup             |    x   |        |        | - [ ] DBParameterGroupName        | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::Redshift::Cluster                 |    x   |        |        | - [x] Endpoint.Address            | | ||||
| @ -163,13 +175,13 @@ Please let us know if you'd like support for a resource not yet listed here. | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::Route53::RecordSetGroup           |    x   |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::S3::Bucket                        |    x   |    x   |    x   | - [x] Arn                         | | ||||
|   |AWS::S3::Bucket                        |    x   |    x   |    x   | - [x] RegionalDomainName          | | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] DomainName                  | | ||||
|   |                                       |        |        |        | - [x] DualStackDomainName         | | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] RegionalDomainName          | | ||||
|   |                                       |        |        |        | - [x] WebsiteURL                  | | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] DualStackDomainName         | | ||||
|   |                                       |        |        |        | - [x] Arn                         | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|   |AWS::SNS::Topic                        |    x   |    x   |    x   | - [ ] TopicArn                    | | ||||
|   |AWS::SNS::Topic                        |    x   |    x   |        | - [ ] TopicArn                    | | ||||
|   +---------------------------------------+--------+--------+--------+ - [x] TopicName                   | | ||||
|   |                                       |        |        |        |                                   | | ||||
|   +---------------------------------------+--------+--------+--------+-----------------------------------+ | ||||
|  | ||||
| @ -55,8 +55,6 @@ dynamodb | ||||
| - [ ] enable_kinesis_streaming_destination | ||||
| - [X] execute_statement | ||||
|    | ||||
|         Only SELECT-statements are supported for now. | ||||
| 
 | ||||
|         Pagination is not yet implemented. | ||||
| 
 | ||||
|         Parsing is highly experimental - please raise an issue if you find any bugs. | ||||
|  | ||||
| @ -256,6 +256,11 @@ ec2 | ||||
| - [ ] describe_addresses_attribute | ||||
| - [ ] describe_aggregate_id_format | ||||
| - [X] describe_availability_zones | ||||
|    | ||||
|         The following parameters are supported: ZoneIds, ZoneNames, Filters | ||||
|         The following filters are supported: zone-id, zone-type, zone-name, region-name, state | ||||
|          | ||||
| 
 | ||||
| - [ ] describe_aws_network_performance_metric_subscriptions | ||||
| - [ ] describe_bundle_tasks | ||||
| - [ ] describe_byoip_cidrs | ||||
|  | ||||
| @ -49,6 +49,7 @@ iot | ||||
| - [ ] create_authorizer | ||||
| - [ ] create_billing_group | ||||
| - [X] create_certificate_from_csr | ||||
| - [ ] create_certificate_provider | ||||
| - [ ] create_custom_metric | ||||
| - [ ] create_dimension | ||||
| - [X] create_domain_configuration | ||||
| @ -85,6 +86,7 @@ iot | ||||
| - [ ] delete_billing_group | ||||
| - [X] delete_ca_certificate | ||||
| - [X] delete_certificate | ||||
| - [ ] delete_certificate_provider | ||||
| - [ ] delete_custom_metric | ||||
| - [ ] delete_dimension | ||||
| - [X] delete_domain_configuration | ||||
| @ -130,6 +132,7 @@ iot | ||||
| - [ ] describe_billing_group | ||||
| - [X] describe_ca_certificate | ||||
| - [X] describe_certificate | ||||
| - [ ] describe_certificate_provider | ||||
| - [ ] describe_custom_metric | ||||
| - [ ] describe_default_authorizer | ||||
| - [ ] describe_detect_mitigation_actions_task | ||||
| @ -193,6 +196,7 @@ iot | ||||
| - [ ] list_authorizers | ||||
| - [ ] list_billing_groups | ||||
| - [ ] list_ca_certificates | ||||
| - [ ] list_certificate_providers | ||||
| - [X] list_certificates | ||||
|    | ||||
|         Pagination is not yet implemented | ||||
| @ -321,6 +325,7 @@ iot | ||||
|          | ||||
| 
 | ||||
| - [X] update_certificate | ||||
| - [ ] update_certificate_provider | ||||
| - [ ] update_custom_metric | ||||
| - [ ] update_dimension | ||||
| - [X] update_domain_configuration | ||||
|  | ||||
| @ -126,6 +126,7 @@ logs | ||||
| 
 | ||||
| - [X] put_retention_policy | ||||
| - [X] put_subscription_filter | ||||
| - [ ] start_live_tail | ||||
| - [X] start_query | ||||
| - [ ] stop_query | ||||
| - [X] tag_log_group | ||||
|  | ||||
| @ -188,6 +188,7 @@ quicksight | ||||
| - [ ] update_analysis | ||||
| - [ ] update_analysis_permissions | ||||
| - [ ] update_dashboard | ||||
| - [ ] update_dashboard_links | ||||
| - [ ] update_dashboard_permissions | ||||
| - [ ] update_dashboard_published_version | ||||
| - [ ] update_data_set | ||||
|  | ||||
| @ -93,6 +93,7 @@ sagemaker | ||||
| - [ ] delete_association | ||||
| - [ ] delete_cluster | ||||
| - [ ] delete_code_repository | ||||
| - [ ] delete_compilation_job | ||||
| - [ ] delete_context | ||||
| - [ ] delete_data_quality_job_definition | ||||
| - [ ] delete_device_fleet | ||||
|  | ||||
| @ -157,6 +157,8 @@ def test_create_export_task_raises_ClientError_when_bucket_not_found( | ||||
|             destination=destination, | ||||
|         ) | ||||
|     err = exc.value.response["Error"] | ||||
|     if err["Code"] != "InvalidParameterException": | ||||
|         print(err) | ||||
|     assert err["Code"] == "InvalidParameterException" | ||||
|     assert ( | ||||
|         err["Message"] | ||||
| @ -205,7 +207,7 @@ def test_create_export_executes_export_task( | ||||
|     )["taskId"] | ||||
| 
 | ||||
|     task = logs.describe_export_tasks(taskId=task_id)["exportTasks"][0] | ||||
|     assert task["status"]["code"] in ["COMPLETED", "RUNNING"] | ||||
|     assert task["status"]["code"] in ["COMPLETED", "RUNNING", "PENDING"] | ||||
|     assert task["logGroupName"] == log_group_name | ||||
|     assert task["destination"] == bucket_name | ||||
|     assert task["destinationPrefix"] == "exportedlogs" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user