diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cb5d69c0152..f991baef1aae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,43 @@ Moto Changelog ============== +5.0.17 +----- +Docker Digest for 5.0.17: + + New Methods: + * CloudFront: + * create_key_group() + * create_public_key() + * delete_public_key() + * get_key_group() + * get_public_key() + * list_key_groups() + * list_public_keys() + + * QuickSight: + * list_user_groups() + * search_groups() + * update_user() + + * Workspaces Web: + * list_tags_for_resource() + * tag_resource() + * untag_resource() + + Miscellaneous: + * APIGateway: get_api_keys()/get_usage_plan_keys() now support the nameQuery param + * AppSync: create_graphql_api() now supports the visibility-parameter + * DynamoDB: delete_item() now returns the item when a ConditionalCheckFailed is thrown and ReturnValuesOnConditionCheckFailure == ALL_OLD + * QuickSight: Users can now have special characters in their name + * QuickSight: list_group_memberships() now supports pagination + * QuickSight: list_groups() now supports pagination + * QuickSight: list_users() now supports pagination + * SageMaker: search() now also supports ModelPackages/Pipelines/Jobs/Executions + * SecretsManager: delete_secret() now allows force deletion of already marked-for-delete secret + * StepFunctions: create_state_machine() now supports the parameters encryptionConfiguration, tracingConfiguration, loggingConfiguration + + 5.0.16 ----- Docker Digest for 5.0.16: _sha256:9506ad3448a87082a436533855c61afaf3f1869e73f39f6575917db975569908_ diff --git a/IMPLEMENTATION_COVERAGE.md b/IMPLEMENTATION_COVERAGE.md index 978088bddcc2..ffdc5862e121 100644 --- a/IMPLEMENTATION_COVERAGE.md +++ b/IMPLEMENTATION_COVERAGE.md @@ -805,7 +805,7 @@ ## bedrock-agent
-18% implemented +17% implemented - [ ] associate_agent_knowledge_base - [X] create_agent @@ -857,6 +857,7 @@ - [ ] prepare_agent - [ ] prepare_flow - [ ] start_ingestion_job +- [ ] stop_ingestion_job - [X] tag_resource - [X] untag_resource - [ ] update_agent @@ -2015,6 +2016,7 @@ - [ ] apply_pending_maintenance_action - [ ] batch_start_recommendations - [ ] cancel_replication_task_assessment_run +- [ ] create_data_migration - [ ] create_data_provider - [ ] create_endpoint - [ ] create_event_subscription @@ -2027,6 +2029,7 @@ - [X] create_replication_task - [ ] delete_certificate - [ ] delete_connection +- [ ] delete_data_migration - [ ] delete_data_provider - [ ] delete_endpoint - [ ] delete_event_subscription @@ -2044,6 +2047,7 @@ - [ ] describe_certificates - [ ] describe_connections - [ ] describe_conversion_configuration +- [ ] describe_data_migrations - [ ] describe_data_providers - [ ] describe_endpoint_settings - [ ] describe_endpoint_types @@ -2086,6 +2090,7 @@ - [ ] import_certificate - [ ] list_tags_for_resource - [ ] modify_conversion_configuration +- [ ] modify_data_migration - [ ] modify_data_provider - [ ] modify_endpoint - [ ] modify_event_subscription @@ -2102,6 +2107,7 @@ - [ ] reload_tables - [ ] remove_tags_from_resource - [ ] run_fleet_advisor_lsa_analysis +- [ ] start_data_migration - [ ] start_extension_pack_association - [ ] start_metadata_model_assessment - [ ] start_metadata_model_conversion @@ -2113,6 +2119,7 @@ - [X] start_replication_task - [ ] start_replication_task_assessment - [ ] start_replication_task_assessment_run +- [ ] stop_data_migration - [ ] stop_replication - [X] stop_replication_task - [ ] test_connection @@ -2285,6 +2292,7 @@ 33% implemented - [ ] accept_address_transfer +- [ ] accept_capacity_reservation_billing_ownership - [ ] accept_reserved_instances_exchange_quote - [ ] accept_transit_gateway_multicast_domain_associations - [X] accept_transit_gateway_peering_attachment @@ -2300,6 +2308,7 @@ - [X] assign_private_ip_addresses - [ ] assign_private_nat_gateway_address - [X] associate_address +- [ ] associate_capacity_reservation_billing_owner - [ ] associate_client_vpn_target_network - [X] associate_dhcp_options - [ ] associate_enclave_certificate_iam_role @@ -2516,6 +2525,7 @@ - [ ] describe_bundle_tasks - [ ] describe_byoip_cidrs - [ ] describe_capacity_block_offerings +- [ ] describe_capacity_reservation_billing_requests - [ ] describe_capacity_reservation_fleets - [ ] describe_capacity_reservations - [X] describe_carrier_gateways @@ -2681,6 +2691,7 @@ - [X] disable_vpc_classic_link - [X] disable_vpc_classic_link_dns_support - [X] disassociate_address +- [ ] disassociate_capacity_reservation_billing_owner - [ ] disassociate_client_vpn_target_network - [ ] disassociate_enclave_certificate_iam_role - [X] disassociate_iam_instance_profile @@ -2790,6 +2801,7 @@ - [X] modify_image_attribute - [X] modify_instance_attribute - [ ] modify_instance_capacity_reservation_attributes +- [ ] modify_instance_cpu_options - [ ] modify_instance_credit_specification - [ ] modify_instance_event_start_time - [ ] modify_instance_event_window @@ -2857,6 +2869,7 @@ - [ ] register_instance_event_notification_attributes - [ ] register_transit_gateway_multicast_group_members - [ ] register_transit_gateway_multicast_group_sources +- [ ] reject_capacity_reservation_billing_ownership - [ ] reject_transit_gateway_multicast_domain_associations - [X] reject_transit_gateway_peering_attachment - [ ] reject_transit_gateway_vpc_attachment @@ -6221,7 +6234,7 @@ ## quicksight
-7% implemented +9% implemented - [ ] batch_create_topic_reviewed_answer - [ ] batch_delete_topic_reviewed_answer @@ -6351,7 +6364,7 @@ - [ ] list_topic_refresh_schedules - [ ] list_topic_reviewed_answers - [ ] list_topics -- [ ] list_user_groups +- [X] list_user_groups - [X] list_users - [ ] list_vpc_connections - [ ] put_data_set_refresh_properties @@ -6362,7 +6375,7 @@ - [ ] search_data_sets - [ ] search_data_sources - [ ] search_folders -- [ ] search_groups +- [X] search_groups - [ ] start_asset_bundle_export_job - [ ] start_asset_bundle_import_job - [ ] start_dashboard_snapshot_job @@ -6401,7 +6414,7 @@ - [ ] update_topic - [ ] update_topic_permissions - [ ] update_topic_refresh_schedule -- [ ] update_user +- [X] update_user - [ ] update_vpc_connection
@@ -6929,20 +6942,25 @@ ## resource-groups
-61% implemented +47% implemented +- [ ] cancel_tag_sync_task - [X] create_group - [X] delete_group - [ ] get_account_settings - [X] get_group - [X] get_group_configuration - [ ] get_group_query +- [ ] get_tag_sync_task - [X] get_tags - [ ] group_resources - [ ] list_group_resources +- [ ] list_grouping_statuses - [X] list_groups +- [ ] list_tag_sync_tasks - [X] put_group_configuration - [ ] search_resources +- [ ] start_tag_sync_task - [X] tag - [ ] ungroup_resources - [X] untag @@ -8919,7 +8937,7 @@ ## workspaces-web
-39% implemented +44% implemented - [X] associate_browser_settings - [ ] associate_ip_access_settings @@ -8967,13 +8985,13 @@ - [X] list_network_settings - [X] list_portals - [ ] list_sessions -- [ ] list_tags_for_resource +- [X] list_tags_for_resource - [ ] list_trust_store_certificates - [ ] list_trust_stores - [X] list_user_access_logging_settings - [X] list_user_settings -- [ ] tag_resource -- [ ] untag_resource +- [X] tag_resource +- [X] untag_resource - [ ] update_browser_settings - [ ] update_identity_provider - [ ] update_ip_access_settings @@ -9137,6 +9155,7 @@ - marketplace-catalog - marketplace-deployment - marketplace-entitlement +- marketplace-reporting - marketplacecommerceanalytics - mediaconvert - mediapackage-vod @@ -9206,6 +9225,7 @@ - sms-voice - snow-device-management - snowball +- socialmessaging - ssm-contacts - ssm-incidents - ssm-quicksetup diff --git a/docs/docs/services/bedrock-agent.rst b/docs/docs/services/bedrock-agent.rst index 1a37a5bc2dbe..afb982fb2bd6 100644 --- a/docs/docs/services/bedrock-agent.rst +++ b/docs/docs/services/bedrock-agent.rst @@ -66,6 +66,7 @@ bedrock-agent - [ ] prepare_agent - [ ] prepare_flow - [ ] start_ingestion_job +- [ ] stop_ingestion_job - [X] tag_resource - [X] untag_resource - [ ] update_agent diff --git a/docs/docs/services/cf.rst b/docs/docs/services/cf.rst index 1beea531dd23..fe5398fd233f 100644 --- a/docs/docs/services/cf.rst +++ b/docs/docs/services/cf.rst @@ -84,6 +84,8 @@ Please let us know if you'd like support for a resource not yet listed here. | | | | | - [x] AvailabilityZone | +---------------------------------------+--------+--------+--------+ - [ ] CidrBlock | | | | | | - [ ] SubnetId | + +---------------------------------------+--------+--------+--------+ - [ ] Ipv6CidrBlocks | + | | | | | | +---------------------------------------+--------+--------+--------+----------------------------------------+ |AWS::EC2::SubnetRouteTableAssociation | x | | | - [ ] Id | +---------------------------------------+--------+--------+--------+----------------------------------------+ diff --git a/docs/docs/services/dms.rst b/docs/docs/services/dms.rst index 62d76e06cd81..eaf63d6f857e 100644 --- a/docs/docs/services/dms.rst +++ b/docs/docs/services/dms.rst @@ -18,6 +18,7 @@ dms - [ ] apply_pending_maintenance_action - [ ] batch_start_recommendations - [ ] cancel_replication_task_assessment_run +- [ ] create_data_migration - [ ] create_data_provider - [ ] create_endpoint - [ ] create_event_subscription @@ -35,6 +36,7 @@ dms - [ ] delete_certificate - [ ] delete_connection +- [ ] delete_data_migration - [ ] delete_data_provider - [ ] delete_endpoint - [ ] delete_event_subscription @@ -52,6 +54,7 @@ dms - [ ] describe_certificates - [ ] describe_connections - [ ] describe_conversion_configuration +- [ ] describe_data_migrations - [ ] describe_data_providers - [ ] describe_endpoint_settings - [ ] describe_endpoint_types @@ -98,6 +101,7 @@ dms - [ ] import_certificate - [ ] list_tags_for_resource - [ ] modify_conversion_configuration +- [ ] modify_data_migration - [ ] modify_data_provider - [ ] modify_endpoint - [ ] modify_event_subscription @@ -114,6 +118,7 @@ dms - [ ] reload_tables - [ ] remove_tags_from_resource - [ ] run_fleet_advisor_lsa_analysis +- [ ] start_data_migration - [ ] start_extension_pack_association - [ ] start_metadata_model_assessment - [ ] start_metadata_model_conversion @@ -130,6 +135,7 @@ dms - [ ] start_replication_task_assessment - [ ] start_replication_task_assessment_run +- [ ] stop_data_migration - [ ] stop_replication - [X] stop_replication_task - [ ] test_connection diff --git a/docs/docs/services/ec2.rst b/docs/docs/services/ec2.rst index 91567e3b8b3e..fd17becf903e 100644 --- a/docs/docs/services/ec2.rst +++ b/docs/docs/services/ec2.rst @@ -17,6 +17,7 @@ ec2 |start-h3| Implemented features for this service |end-h3| - [ ] accept_address_transfer +- [ ] accept_capacity_reservation_billing_ownership - [ ] accept_reserved_instances_exchange_quote - [ ] accept_transit_gateway_multicast_domain_associations - [X] accept_transit_gateway_peering_attachment @@ -32,6 +33,7 @@ ec2 - [X] assign_private_ip_addresses - [ ] assign_private_nat_gateway_address - [X] associate_address +- [ ] associate_capacity_reservation_billing_owner - [ ] associate_client_vpn_target_network - [X] associate_dhcp_options - [ ] associate_enclave_certificate_iam_role @@ -257,6 +259,7 @@ ec2 - [ ] describe_bundle_tasks - [ ] describe_byoip_cidrs - [ ] describe_capacity_block_offerings +- [ ] describe_capacity_reservation_billing_requests - [ ] describe_capacity_reservation_fleets - [ ] describe_capacity_reservations - [X] describe_carrier_gateways @@ -449,6 +452,7 @@ ec2 - [X] disable_vpc_classic_link - [X] disable_vpc_classic_link_dns_support - [X] disassociate_address +- [ ] disassociate_capacity_reservation_billing_owner - [ ] disassociate_client_vpn_target_network - [ ] disassociate_enclave_certificate_iam_role - [X] disassociate_iam_instance_profile @@ -558,6 +562,7 @@ ec2 - [X] modify_image_attribute - [X] modify_instance_attribute - [ ] modify_instance_capacity_reservation_attributes +- [ ] modify_instance_cpu_options - [ ] modify_instance_credit_specification - [ ] modify_instance_event_start_time - [ ] modify_instance_event_window @@ -629,6 +634,7 @@ ec2 - [ ] register_instance_event_notification_attributes - [ ] register_transit_gateway_multicast_group_members - [ ] register_transit_gateway_multicast_group_sources +- [ ] reject_capacity_reservation_billing_ownership - [ ] reject_transit_gateway_multicast_domain_associations - [X] reject_transit_gateway_peering_attachment - [ ] reject_transit_gateway_vpc_attachment diff --git a/docs/docs/services/quicksight.rst b/docs/docs/services/quicksight.rst index e76b8b555e43..90d4b7b1a9b6 100644 --- a/docs/docs/services/quicksight.rst +++ b/docs/docs/services/quicksight.rst @@ -126,15 +126,7 @@ quicksight - [ ] list_folders - [ ] list_folders_for_resource - [X] list_group_memberships - - The NextToken and MaxResults parameters are not yet implemented - - - [X] list_groups - - The NextToken and MaxResults parameters are not yet implemented - - - [ ] list_iam_policy_assignments - [ ] list_iam_policy_assignments_for_user - [ ] list_identity_propagation_configs @@ -152,12 +144,8 @@ quicksight - [ ] list_topic_refresh_schedules - [ ] list_topic_reviewed_answers - [ ] list_topics -- [ ] list_user_groups +- [X] list_user_groups - [X] list_users - - The NextToken and MaxResults parameters are not yet implemented - - - [ ] list_vpc_connections - [ ] put_data_set_refresh_properties - [X] register_user @@ -172,7 +160,7 @@ quicksight - [ ] search_data_sets - [ ] search_data_sources - [ ] search_folders -- [ ] search_groups +- [X] search_groups - [ ] start_asset_bundle_export_job - [ ] start_asset_bundle_import_job - [ ] start_dashboard_snapshot_job @@ -211,6 +199,6 @@ quicksight - [ ] update_topic - [ ] update_topic_permissions - [ ] update_topic_refresh_schedule -- [ ] update_user +- [X] update_user - [ ] update_vpc_connection diff --git a/docs/docs/services/resource-groups.rst b/docs/docs/services/resource-groups.rst index 200b1fc784ec..017117765aef 100644 --- a/docs/docs/services/resource-groups.rst +++ b/docs/docs/services/resource-groups.rst @@ -14,22 +14,27 @@ resource-groups |start-h3| Implemented features for this service |end-h3| +- [ ] cancel_tag_sync_task - [X] create_group - [X] delete_group - [ ] get_account_settings - [X] get_group - [X] get_group_configuration - [ ] get_group_query +- [ ] get_tag_sync_task - [X] get_tags - [ ] group_resources - [ ] list_group_resources +- [ ] list_grouping_statuses - [X] list_groups Pagination or the Filters-parameter is not yet implemented +- [ ] list_tag_sync_tasks - [X] put_group_configuration - [ ] search_resources +- [ ] start_tag_sync_task - [X] tag - [ ] ungroup_resources - [X] untag diff --git a/docs/docs/services/workspaces-web.rst b/docs/docs/services/workspaces-web.rst index 521d9796195d..c78e72ac32b7 100644 --- a/docs/docs/services/workspaces-web.rst +++ b/docs/docs/services/workspaces-web.rst @@ -62,13 +62,13 @@ workspaces-web - [X] list_network_settings - [X] list_portals - [ ] list_sessions -- [ ] list_tags_for_resource +- [X] list_tags_for_resource - [ ] list_trust_store_certificates - [ ] list_trust_stores - [X] list_user_access_logging_settings - [X] list_user_settings -- [ ] tag_resource -- [ ] untag_resource +- [X] tag_resource +- [X] untag_resource - [ ] update_browser_settings - [ ] update_identity_provider - [ ] update_ip_access_settings diff --git a/moto/quicksight/utils.py b/moto/quicksight/utils.py index ad23c192b6b1..9997f29164f1 100644 --- a/moto/quicksight/utils.py +++ b/moto/quicksight/utils.py @@ -1,8 +1,5 @@ from typing import Any, Dict, List, Type, Union -from jsonschema import validate -from jsonschema.exceptions import SchemaError, ValidationError - from moto.core.common_models import BaseModel from .data_models import QuicksightGroup @@ -120,6 +117,9 @@ def validate_and_create_filter( raise ParamValidationError( 'Missing required parameter in input: "Filters"' ) + from jsonschema import validate + from jsonschema.exceptions import SchemaError, ValidationError + try: validate(instance=input, schema=QuicksightGroupSearchFilter.schema) return QuicksightSearchFilterList( diff --git a/setup.cfg b/setup.cfg index 28eb97e9d5d7..dda598612e90 100644 --- a/setup.cfg +++ b/setup.cfg @@ -52,6 +52,7 @@ all = graphql-core PyYAML>=5.1 cfn-lint>=0.40.0 + jsonschema openapi-spec-validator>=0.5.0 pyparsing>=3.0.7 jsondiff>=1.1.2 @@ -193,7 +194,7 @@ panorama = personalize = pinpoint = polly = -quicksight = +quicksight = jsonschema ram = rds = redshift =