Prepare release 4.2.12 (#7133)

This commit is contained in:
Bert Blommers 2023-12-17 17:07:14 -01:00 committed by GitHub
parent 692b475501
commit 5e6393c30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 77 additions and 26 deletions

View File

@ -1,6 +1,23 @@
Moto Changelog 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 4.2.11
----- -----
Docker Digest for 4.2.11: _sha256:f2a24d8a3440bf397705e461b33a032bbb6d3511cd9c643e71419dd962b3384e_ Docker Digest for 4.2.11: _sha256:f2a24d8a3440bf397705e461b33a032bbb6d3511cd9c643e71419dd962b3384e_

View File

@ -3966,7 +3966,7 @@
## iot ## iot
<details> <details>
<summary>32% implemented</summary> <summary>31% implemented</summary>
- [ ] accept_certificate_transfer - [ ] accept_certificate_transfer
- [ ] add_thing_to_billing_group - [ ] add_thing_to_billing_group
@ -3988,6 +3988,7 @@
- [ ] create_authorizer - [ ] create_authorizer
- [ ] create_billing_group - [ ] create_billing_group
- [X] create_certificate_from_csr - [X] create_certificate_from_csr
- [ ] create_certificate_provider
- [ ] create_custom_metric - [ ] create_custom_metric
- [ ] create_dimension - [ ] create_dimension
- [X] create_domain_configuration - [X] create_domain_configuration
@ -4020,6 +4021,7 @@
- [ ] delete_billing_group - [ ] delete_billing_group
- [X] delete_ca_certificate - [X] delete_ca_certificate
- [X] delete_certificate - [X] delete_certificate
- [ ] delete_certificate_provider
- [ ] delete_custom_metric - [ ] delete_custom_metric
- [ ] delete_dimension - [ ] delete_dimension
- [X] delete_domain_configuration - [X] delete_domain_configuration
@ -4057,6 +4059,7 @@
- [ ] describe_billing_group - [ ] describe_billing_group
- [X] describe_ca_certificate - [X] describe_ca_certificate
- [X] describe_certificate - [X] describe_certificate
- [ ] describe_certificate_provider
- [ ] describe_custom_metric - [ ] describe_custom_metric
- [ ] describe_default_authorizer - [ ] describe_default_authorizer
- [ ] describe_detect_mitigation_actions_task - [ ] describe_detect_mitigation_actions_task
@ -4116,6 +4119,7 @@
- [ ] list_authorizers - [ ] list_authorizers
- [ ] list_billing_groups - [ ] list_billing_groups
- [ ] list_ca_certificates - [ ] list_ca_certificates
- [ ] list_certificate_providers
- [X] list_certificates - [X] list_certificates
- [X] list_certificates_by_ca - [X] list_certificates_by_ca
- [ ] list_custom_metrics - [ ] list_custom_metrics
@ -4196,6 +4200,7 @@
- [ ] update_billing_group - [ ] update_billing_group
- [X] update_ca_certificate - [X] update_ca_certificate
- [X] update_certificate - [X] update_certificate
- [ ] update_certificate_provider
- [ ] update_custom_metric - [ ] update_custom_metric
- [ ] update_dimension - [ ] update_dimension
- [X] update_domain_configuration - [X] update_domain_configuration
@ -4611,6 +4616,7 @@
- [X] put_resource_policy - [X] put_resource_policy
- [X] put_retention_policy - [X] put_retention_policy
- [X] put_subscription_filter - [X] put_subscription_filter
- [ ] start_live_tail
- [X] start_query - [X] start_query
- [ ] stop_query - [ ] stop_query
- [X] tag_log_group - [X] tag_log_group
@ -5531,6 +5537,7 @@
- [ ] update_analysis - [ ] update_analysis
- [ ] update_analysis_permissions - [ ] update_analysis_permissions
- [ ] update_dashboard - [ ] update_dashboard
- [ ] update_dashboard_links
- [ ] update_dashboard_permissions - [ ] update_dashboard_permissions
- [ ] update_dashboard_published_version - [ ] update_dashboard_published_version
- [ ] update_data_set - [ ] update_data_set
@ -6530,6 +6537,7 @@
- [ ] delete_association - [ ] delete_association
- [ ] delete_cluster - [ ] delete_cluster
- [ ] delete_code_repository - [ ] delete_code_repository
- [ ] delete_compilation_job
- [ ] delete_context - [ ] delete_context
- [ ] delete_data_quality_job_definition - [ ] delete_data_quality_job_definition
- [ ] delete_device_fleet - [ ] delete_device_fleet
@ -7868,6 +7876,7 @@
- mobile - mobile
- mturk - mturk
- mwaa - mwaa
- neptune-graph
- neptunedata - neptunedata
- network-firewall - network-firewall
- networkmanager - networkmanager

View File

@ -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::ApiGateway::Resource | x | | | - [ ] ResourceId |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::AutoScaling::AutoScalingGroup | x | x | x | - [ ] LaunchConfigurationName | |AWS::AutoScaling::AutoScalingGroup | x | x | x | |
+---------------------------------------+--------+--------+--------+ - [ ] LaunchTemplateSpecification |
| | | | | - [ ] MixedInstancesPolicy |
+---------------------------------------+--------+--------+--------+ - [ ] PlacementGroup |
| | | | | - [ ] VPCZoneIdentifier |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::AutoScaling::LaunchConfiguration | x | x | x | | |AWS::AutoScaling::LaunchConfiguration | x | x | x | |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::AutoScaling::ScheduledAction | x | | | - [ ] ScheduledActionName | |AWS::AutoScaling::ScheduledAction | x | | | - [ ] ScheduledActionName |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::AutoScaling::WarmPool | | | | |
+---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::Batch::ComputeEnvironment | x | | | - [ ] ComputeEnvironmentArn | |AWS::Batch::ComputeEnvironment | x | | | - [ ] ComputeEnvironmentArn |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::Batch::JobDefinition | x | | | | |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::InternetGateway | x | | | - [ ] InternetGatewayId |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::LaunchTemplate | x | x | x | - [ ] LatestVersionNumber | |AWS::EC2::LaunchTemplate | x | x | x | - [x] LatestVersionNumber |
+---------------------------------------+--------+--------+--------+ - [ ] DefaultVersionNumber | +---------------------------------------+--------+--------+--------+ - [x] LaunchTemplateId |
| | | | | | | | | | | - [x] DefaultVersionNumber |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::NatGateway | x | | | - [ ] NatGatewayId | |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 | +---------------------------------------+--------+--------+--------+ - [x] PrimaryPrivateIpAddress |
| | | | | - [ ] Id | | | | | | - [ ] Id |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::Route | x | | | | |AWS::EC2::Route | x | | | - [ ] CidrBlock |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::RouteTable | x | | | - [ ] RouteTableId | |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 | |AWS::EC2::Subnet | x | | x | - [ ] VpcId |
+---------------------------------------+--------+--------+--------+ - [ ] NetworkAclAssociationId | +---------------------------------------+--------+--------+--------+ - [ ] NetworkAclAssociationId |
| | | | | - [ ] OutpostArn | | | | | | - [ ] AvailabilityZoneId |
+---------------------------------------+--------+--------+--------+ - [x] AvailabilityZone | +---------------------------------------+--------+--------+--------+ - [ ] OutpostArn |
| | | | | - [x] AvailabilityZone |
+---------------------------------------+--------+--------+--------+ - [ ] CidrBlock |
| | | | | - [ ] SubnetId | | | | | | - [ ] SubnetId |
+---------------------------------------+--------+--------+--------+ - [ ] Ipv6CidrBlocks | +---------------------------------------+--------+--------+--------+ - [ ] Ipv6CidrBlocks |
| | | | | | | | | | | |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::SubnetRouteTableAssociation | x | | | - [ ] Id | |AWS::EC2::SubnetRouteTableAssociation | x | | | - [ ] Id |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::TransitGateway | x | | | - [ ] Id | |AWS::EC2::TransitGateway | x | | | - [ ] TransitGatewayArn |
+---------------------------------------+--------+--------+--------+ - [ ] Id |
| | | | | |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::VPC | x | | x | - [ ] VpcId | |AWS::EC2::VPC | x | | x | - [ ] VpcId |
+---------------------------------------+--------+--------+--------+ - [ ] CidrBlockAssociations | +---------------------------------------+--------+--------+--------+ - [ ] CidrBlockAssociations |
@ -91,7 +93,7 @@ Please let us know if you'd like support for a resource not yet listed here.
+---------------------------------------+--------+--------+--------+ - [ ] DefaultSecurityGroup | +---------------------------------------+--------+--------+--------+ - [ ] DefaultSecurityGroup |
| | | | | | | | | | | |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::VPCGatewayAttachment | x | | | | |AWS::EC2::VPCGatewayAttachment | x | | | - [ ] AttachmentType |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::EC2::VPCPeeringConnection | x | | | - [ ] Id | |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::Archive | x | x | | - [x] Arn |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::Events::EventBus | x | x | x | - [x] Policy | |AWS::Events::EventBus | x | x | x | - [x] Arn |
+---------------------------------------+--------+--------+--------+ - [x] Arn | +---------------------------------------+--------+--------+--------+ - [x] Name |
| | | | | - [x] Name | | | | | | |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::Events::Rule | x | x | x | - [x] Arn | |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::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 | |AWS::IAM::Role | x | | x | - [x] Arn |
+---------------------------------------+--------+--------+--------+ - [ ] RoleId | +---------------------------------------+--------+--------+--------+ - [ ] 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::Logs::LogGroup | x | | | - [x] Arn |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::RDS::DBClusterParameterGroup | | | | |
+---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::RDS::DBParameterGroup | x | | | - [ ] DBParameterGroupName | |AWS::RDS::DBParameterGroup | x | | | - [ ] DBParameterGroupName |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::Redshift::Cluster | x | | | - [x] Endpoint.Address | |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::Route53::RecordSetGroup | x | | | |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::S3::Bucket | x | x | x | - [x] Arn | |AWS::S3::Bucket | x | x | x | - [x] RegionalDomainName |
+---------------------------------------+--------+--------+--------+ - [x] DomainName | +---------------------------------------+--------+--------+--------+ - [x] DomainName |
| | | | | - [x] DualStackDomainName |
+---------------------------------------+--------+--------+--------+ - [x] RegionalDomainName |
| | | | | - [x] WebsiteURL | | | | | | - [x] WebsiteURL |
+---------------------------------------+--------+--------+--------+ - [x] DualStackDomainName |
| | | | | - [x] Arn |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+
|AWS::SNS::Topic | x | x | x | - [ ] TopicArn | |AWS::SNS::Topic | x | x | | - [ ] TopicArn |
+---------------------------------------+--------+--------+--------+ - [x] TopicName | +---------------------------------------+--------+--------+--------+ - [x] TopicName |
| | | | | | | | | | | |
+---------------------------------------+--------+--------+--------+-----------------------------------+ +---------------------------------------+--------+--------+--------+-----------------------------------+

View File

@ -55,8 +55,6 @@ dynamodb
- [ ] enable_kinesis_streaming_destination - [ ] enable_kinesis_streaming_destination
- [X] execute_statement - [X] execute_statement
Only SELECT-statements are supported for now.
Pagination is not yet implemented. Pagination is not yet implemented.
Parsing is highly experimental - please raise an issue if you find any bugs. Parsing is highly experimental - please raise an issue if you find any bugs.

View File

@ -256,6 +256,11 @@ ec2
- [ ] describe_addresses_attribute - [ ] describe_addresses_attribute
- [ ] describe_aggregate_id_format - [ ] describe_aggregate_id_format
- [X] describe_availability_zones - [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_aws_network_performance_metric_subscriptions
- [ ] describe_bundle_tasks - [ ] describe_bundle_tasks
- [ ] describe_byoip_cidrs - [ ] describe_byoip_cidrs

View File

@ -49,6 +49,7 @@ iot
- [ ] create_authorizer - [ ] create_authorizer
- [ ] create_billing_group - [ ] create_billing_group
- [X] create_certificate_from_csr - [X] create_certificate_from_csr
- [ ] create_certificate_provider
- [ ] create_custom_metric - [ ] create_custom_metric
- [ ] create_dimension - [ ] create_dimension
- [X] create_domain_configuration - [X] create_domain_configuration
@ -85,6 +86,7 @@ iot
- [ ] delete_billing_group - [ ] delete_billing_group
- [X] delete_ca_certificate - [X] delete_ca_certificate
- [X] delete_certificate - [X] delete_certificate
- [ ] delete_certificate_provider
- [ ] delete_custom_metric - [ ] delete_custom_metric
- [ ] delete_dimension - [ ] delete_dimension
- [X] delete_domain_configuration - [X] delete_domain_configuration
@ -130,6 +132,7 @@ iot
- [ ] describe_billing_group - [ ] describe_billing_group
- [X] describe_ca_certificate - [X] describe_ca_certificate
- [X] describe_certificate - [X] describe_certificate
- [ ] describe_certificate_provider
- [ ] describe_custom_metric - [ ] describe_custom_metric
- [ ] describe_default_authorizer - [ ] describe_default_authorizer
- [ ] describe_detect_mitigation_actions_task - [ ] describe_detect_mitigation_actions_task
@ -193,6 +196,7 @@ iot
- [ ] list_authorizers - [ ] list_authorizers
- [ ] list_billing_groups - [ ] list_billing_groups
- [ ] list_ca_certificates - [ ] list_ca_certificates
- [ ] list_certificate_providers
- [X] list_certificates - [X] list_certificates
Pagination is not yet implemented Pagination is not yet implemented
@ -321,6 +325,7 @@ iot
- [X] update_certificate - [X] update_certificate
- [ ] update_certificate_provider
- [ ] update_custom_metric - [ ] update_custom_metric
- [ ] update_dimension - [ ] update_dimension
- [X] update_domain_configuration - [X] update_domain_configuration

View File

@ -126,6 +126,7 @@ logs
- [X] put_retention_policy - [X] put_retention_policy
- [X] put_subscription_filter - [X] put_subscription_filter
- [ ] start_live_tail
- [X] start_query - [X] start_query
- [ ] stop_query - [ ] stop_query
- [X] tag_log_group - [X] tag_log_group

View File

@ -188,6 +188,7 @@ quicksight
- [ ] update_analysis - [ ] update_analysis
- [ ] update_analysis_permissions - [ ] update_analysis_permissions
- [ ] update_dashboard - [ ] update_dashboard
- [ ] update_dashboard_links
- [ ] update_dashboard_permissions - [ ] update_dashboard_permissions
- [ ] update_dashboard_published_version - [ ] update_dashboard_published_version
- [ ] update_data_set - [ ] update_data_set

View File

@ -93,6 +93,7 @@ sagemaker
- [ ] delete_association - [ ] delete_association
- [ ] delete_cluster - [ ] delete_cluster
- [ ] delete_code_repository - [ ] delete_code_repository
- [ ] delete_compilation_job
- [ ] delete_context - [ ] delete_context
- [ ] delete_data_quality_job_definition - [ ] delete_data_quality_job_definition
- [ ] delete_device_fleet - [ ] delete_device_fleet

View File

@ -157,6 +157,8 @@ def test_create_export_task_raises_ClientError_when_bucket_not_found(
destination=destination, destination=destination,
) )
err = exc.value.response["Error"] err = exc.value.response["Error"]
if err["Code"] != "InvalidParameterException":
print(err)
assert err["Code"] == "InvalidParameterException" assert err["Code"] == "InvalidParameterException"
assert ( assert (
err["Message"] err["Message"]
@ -205,7 +207,7 @@ def test_create_export_executes_export_task(
)["taskId"] )["taskId"]
task = logs.describe_export_tasks(taskId=task_id)["exportTasks"][0] 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["logGroupName"] == log_group_name
assert task["destination"] == bucket_name assert task["destination"] == bucket_name
assert task["destinationPrefix"] == "exportedlogs" assert task["destinationPrefix"] == "exportedlogs"