Skip to content

Commit

Permalink
Prep release 4.2.1 (#6758)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers authored Sep 2, 2023
1 parent 1e692cd commit 2e1559d
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 26 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
release-moto-job:
runs-on: ubuntu-latest
name: Release Moto
permissions:
contents: write
env:
VERSION: 0.0.0
steps:
Expand Down Expand Up @@ -55,6 +57,10 @@ jobs:
run: |
git tag ${{ env.VERSION }}
git push origin ${{ env.VERSION }}
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
files: dist/*
# Required to get the correct Digest
# See https://github.com/docker/build-push-action/issues/461
- name: Set up QEMU
Expand Down
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,50 @@
Moto Changelog
==============


4.2.1
------
Docker Digest for 4.2.1: <autopopulateddigest>

New Services:
* Sagemaker Runtime:
* invoke_endpoint()

New Methods:
* CognitoIDP:
* describe_resource_server()
* list_resource_servers()

* CognitoIDP:
* create_cache_cluster()
* delete_cache_cluster()
* describe_cache_clusters()

* IdentityStore:
* list_users()

* Logs:
* describe_query_results()
* get_query_results()
* list_tags_for_resource()
* tag_resource()
* untag_resource()

* Sagemaker:
* list_notebook_instances()

Miscellaneous:
* EC2: describe_transit_gateways() now returns the ARN
* IAM policies now allow S3 accesspoint arns
* KMS: sign() now supports RSASSA_PSS_SHA_384, RSASSA_PSS_SHA_512 and RSASSA_PKCS1_* algorithms
* Logs: Now supports two subscription filters
* RDS: Clusters now support the ServerlessV2ScalingConfiguration parameter
* ResourceGroupsTaggingAPI: tag_resource() now supports RDS resources
* S3: CrossAccount access can now be disabled, using MOTO_S3_ALLOW_CROSSACCOUNT_ACCESS=false
* SecretsManager: Allow creation/update of secrets without values
* SES: set_identity_mail_from_domain() - the Identity can now also be an email


4.2.0
------
Docker Digest for 4.2.0: _sha256:92e59875783037b2558067d2d3f9dd2502c140881ff5c44c44ddbce6658a89b7_
Expand Down
32 changes: 20 additions & 12 deletions IMPLEMENTATION_COVERAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@

## cognito-idp
<details>
<summary>57% implemented</summary>
<summary>59% implemented</summary>

- [X] add_custom_attributes
- [X] admin_add_user_to_group
Expand Down Expand Up @@ -1216,7 +1216,7 @@
- [X] delete_user_pool_client
- [X] delete_user_pool_domain
- [X] describe_identity_provider
- [ ] describe_resource_server
- [X] describe_resource_server
- [ ] describe_risk_configuration
- [ ] describe_user_import_job
- [X] describe_user_pool
Expand All @@ -1239,7 +1239,7 @@
- [ ] list_devices
- [X] list_groups
- [X] list_identity_providers
- [ ] list_resource_servers
- [X] list_resource_servers
- [ ] list_tags_for_resource
- [ ] list_user_import_jobs
- [X] list_user_pool_clients
Expand Down Expand Up @@ -2691,15 +2691,15 @@

## elasticache
<details>
<summary>4% implemented</summary>
<summary>9% implemented</summary>

- [ ] add_tags_to_resource
- [ ] authorize_cache_security_group_ingress
- [ ] batch_apply_update_action
- [ ] batch_stop_update_action
- [ ] complete_migration
- [ ] copy_snapshot
- [ ] create_cache_cluster
- [X] create_cache_cluster
- [ ] create_cache_parameter_group
- [ ] create_cache_security_group
- [ ] create_cache_subnet_group
Expand All @@ -2710,7 +2710,7 @@
- [ ] create_user_group
- [ ] decrease_node_groups_in_global_replication_group
- [ ] decrease_replica_count
- [ ] delete_cache_cluster
- [X] delete_cache_cluster
- [ ] delete_cache_parameter_group
- [ ] delete_cache_security_group
- [ ] delete_cache_subnet_group
Expand All @@ -2719,7 +2719,7 @@
- [ ] delete_snapshot
- [X] delete_user
- [ ] delete_user_group
- [ ] describe_cache_clusters
- [X] describe_cache_clusters
- [ ] describe_cache_engine_versions
- [ ] describe_cache_parameter_groups
- [ ] describe_cache_parameters
Expand Down Expand Up @@ -3810,7 +3810,7 @@

## identitystore
<details>
<summary>52% implemented</summary>
<summary>57% implemented</summary>

- [X] create_group
- [X] create_group_membership
Expand All @@ -3828,7 +3828,7 @@
- [X] list_group_memberships
- [ ] list_group_memberships_for_member
- [X] list_groups
- [ ] list_users
- [X] list_users
- [ ] update_group
- [ ] update_user
</details>
Expand Down Expand Up @@ -6354,7 +6354,7 @@
- [ ] list_monitoring_executions
- [ ] list_monitoring_schedules
- [ ] list_notebook_instance_lifecycle_configs
- [ ] list_notebook_instances
- [X] list_notebook_instances
- [ ] list_pipeline_execution_steps
- [X] list_pipeline_executions
- [X] list_pipeline_parameters_for_execution
Expand Down Expand Up @@ -6439,10 +6439,11 @@

## sagemaker-runtime
<details>
<summary>50% implemented</summary>
<summary>33% implemented</summary>

- [X] invoke_endpoint
- [ ] invoke_endpoint_async
- [ ] invoke_endpoint_with_response_stream
</details>

## scheduler
Expand Down Expand Up @@ -6643,9 +6644,10 @@

## sesv2
<details>
<summary>10% implemented</summary>
<summary>9% implemented</summary>

- [ ] batch_get_metric_data
- [ ] cancel_export_job
- [ ] create_configuration_set
- [ ] create_configuration_set_event_destination
- [X] create_contact
Expand All @@ -6656,6 +6658,7 @@
- [ ] create_email_identity
- [ ] create_email_identity_policy
- [ ] create_email_template
- [ ] create_export_job
- [ ] create_import_job
- [ ] delete_configuration_set
- [ ] delete_configuration_set_event_destination
Expand Down Expand Up @@ -6684,7 +6687,9 @@
- [ ] get_email_identity
- [ ] get_email_identity_policies
- [ ] get_email_template
- [ ] get_export_job
- [ ] get_import_job
- [ ] get_message_insights
- [ ] get_suppressed_destination
- [ ] list_configuration_sets
- [X] list_contact_lists
Expand All @@ -6695,6 +6700,7 @@
- [ ] list_domain_deliverability_campaigns
- [ ] list_email_identities
- [ ] list_email_templates
- [ ] list_export_jobs
- [ ] list_import_jobs
- [ ] list_recommendations
- [ ] list_suppressed_destinations
Expand Down Expand Up @@ -7449,6 +7455,7 @@
- mobile
- mturk
- mwaa
- neptunedata
- network-firewall
- networkmanager
- nimble
Expand All @@ -7461,6 +7468,7 @@
- panorama
- payment-cryptography
- payment-cryptography-data
- pca-connector-ad
- personalize-events
- personalize-runtime
- pi
Expand Down
10 changes: 5 additions & 5 deletions docs/docs/services/elasticache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ elasticache
- [ ] batch_stop_update_action
- [ ] complete_migration
- [ ] copy_snapshot
- [x] create_cache_cluster
- [X] create_cache_cluster
- [ ] create_cache_parameter_group
- [ ] create_cache_security_group
- [ ] create_cache_subnet_group
Expand All @@ -44,7 +44,7 @@ elasticache
- [ ] create_user_group
- [ ] decrease_node_groups_in_global_replication_group
- [ ] decrease_replica_count
- [x] delete_cache_cluster
- [X] delete_cache_cluster
- [ ] delete_cache_parameter_group
- [ ] delete_cache_security_group
- [ ] delete_cache_subnet_group
Expand All @@ -53,7 +53,7 @@ elasticache
- [ ] delete_snapshot
- [X] delete_user
- [ ] delete_user_group
- [x] describe_cache_clusters
- [X] describe_cache_clusters
- [ ] describe_cache_engine_versions
- [ ] describe_cache_parameter_groups
- [ ] describe_cache_parameters
Expand All @@ -70,10 +70,10 @@ elasticache
- [ ] describe_update_actions
- [ ] describe_user_groups
- [X] describe_users

Only the `user_id` parameter is currently supported.
Pagination is not yet implemented.


- [ ] disassociate_global_replication_group
- [ ] failover_global_replication_group
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/services/identitystore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ identitystore
- [X] list_group_memberships
- [ ] list_group_memberships_for_member
- [X] list_groups
- [ ] list_users
- [X] list_users
- [ ] update_group
- [ ] update_user

1 change: 1 addition & 0 deletions docs/docs/services/sagemaker-runtime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ sagemaker-runtime


- [ ] invoke_endpoint_async
- [ ] invoke_endpoint_with_response_stream

7 changes: 6 additions & 1 deletion docs/docs/services/sagemaker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,12 @@ sagemaker
- [ ] list_monitoring_executions
- [ ] list_monitoring_schedules
- [ ] list_notebook_instance_lifecycle_configs
- [ ] list_notebook_instances
- [X] list_notebook_instances

The following parameters are not yet implemented:
CreationTimeBefore, CreationTimeAfter, LastModifiedTimeBefore, LastModifiedTimeAfter, NotebookInstanceLifecycleConfigNameContains, DefaultCodeRepositoryContains, AdditionalCodeRepositoryEquals


- [ ] list_pipeline_execution_steps
- [X] list_pipeline_executions
- [X] list_pipeline_parameters_for_execution
Expand Down
5 changes: 5 additions & 0 deletions docs/docs/services/sesv2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ sesv2
|start-h3| Implemented features for this service |end-h3|

- [ ] batch_get_metric_data
- [ ] cancel_export_job
- [ ] create_configuration_set
- [ ] create_configuration_set_event_destination
- [X] create_contact
Expand All @@ -38,6 +39,7 @@ sesv2
- [ ] create_email_identity
- [ ] create_email_identity_policy
- [ ] create_email_template
- [ ] create_export_job
- [ ] create_import_job
- [ ] delete_configuration_set
- [ ] delete_configuration_set_event_destination
Expand Down Expand Up @@ -66,7 +68,9 @@ sesv2
- [ ] get_email_identity
- [ ] get_email_identity_policies
- [ ] get_email_template
- [ ] get_export_job
- [ ] get_import_job
- [ ] get_message_insights
- [ ] get_suppressed_destination
- [ ] list_configuration_sets
- [X] list_contact_lists
Expand All @@ -77,6 +81,7 @@ sesv2
- [ ] list_domain_deliverability_campaigns
- [ ] list_email_identities
- [ ] list_email_templates
- [ ] list_export_jobs
- [ ] list_import_jobs
- [ ] list_recommendations
- [ ] list_suppressed_destinations
Expand Down
9 changes: 2 additions & 7 deletions moto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ def f(*args: Any, **kwargs: Any) -> Any:
mock_ecs = lazy_load(".ecs", "mock_ecs")
mock_efs = lazy_load(".efs", "mock_efs")
mock_eks = lazy_load(".eks", "mock_eks")
mock_elasticache = lazy_load(
".elasticache", "mock_elasticache", boto3_name="elasticache"
)
mock_elasticache = lazy_load(".elasticache", "mock_elasticache")
mock_elastictranscoder = lazy_load(".elastictranscoder", "mock_elastictranscoder")
mock_elb = lazy_load(".elb", "mock_elb")
mock_elbv2 = lazy_load(".elbv2", "mock_elbv2")
Expand Down Expand Up @@ -180,6 +178,7 @@ def f(*args: Any, **kwargs: Any) -> Any:
mock_sts = lazy_load(".sts", "mock_sts")
mock_support = lazy_load(".support", "mock_support")
mock_swf = lazy_load(".swf", "mock_swf")
mock_textract = lazy_load(".textract", "mock_textract")
mock_timestreamwrite = lazy_load(
".timestreamwrite", "mock_timestreamwrite", boto3_name="timestream-write"
)
Expand All @@ -188,10 +187,6 @@ def f(*args: Any, **kwargs: Any) -> Any:
mock_xray = lazy_load(".xray", "mock_xray")
mock_xray_client = lazy_load(".xray", "mock_xray_client")
mock_wafv2 = lazy_load(".wafv2", "mock_wafv2")
mock_textract = lazy_load(".textract", "mock_textract")
mock_elasticache = lazy_load(
".elasticache", "mock_elasticache", boto3_name="elasticache"
)


class MockAll(ContextDecorator):
Expand Down

0 comments on commit 2e1559d

Please sign in to comment.