Skip to content

Commit

Permalink
Feature: Backup api (#7231)
Browse files Browse the repository at this point in the history
  • Loading branch information
archinksagar authored Jan 26, 2024
1 parent 404c1ea commit 6c7dff6
Show file tree
Hide file tree
Showing 29 changed files with 1,019 additions and 151 deletions.
181 changes: 95 additions & 86 deletions IMPLEMENTATION_COVERAGE.md

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/docs/services/appsync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ appsync
- [ ] get_api_association
- [ ] get_api_cache
- [ ] get_data_source
- [ ] get_data_source_introspection
- [ ] get_domain_name
- [ ] get_function
- [X] get_graphql_api
Expand Down Expand Up @@ -83,7 +82,6 @@ appsync
- [X] list_tags_for_resource
- [ ] list_types
- [ ] list_types_by_association
- [ ] start_data_source_introspection
- [X] start_schema_creation
- [ ] start_schema_merge
- [X] tag_resource
Expand Down
119 changes: 119 additions & 0 deletions docs/docs/services/backup.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
.. _implementedservice_backup:

.. |start-h3| raw:: html

<h3>

.. |end-h3| raw:: html

</h3>

======
backup
======

.. autoclass:: moto.backup.models.BackupBackend

|start-h3| Example usage |end-h3|

.. sourcecode:: python

@mock_backup
def test_backup_behaviour:
boto3.client("backup")
...



|start-h3| Implemented features for this service |end-h3|

- [ ] cancel_legal_hold
- [X] create_backup_plan
- [ ] create_backup_selection
- [X] create_backup_vault
- [ ] create_framework
- [ ] create_legal_hold
- [ ] create_logically_air_gapped_backup_vault
- [ ] create_report_plan
- [X] delete_backup_plan
- [ ] delete_backup_selection
- [ ] delete_backup_vault
- [ ] delete_backup_vault_access_policy
- [ ] delete_backup_vault_lock_configuration
- [ ] delete_backup_vault_notifications
- [ ] delete_framework
- [ ] delete_recovery_point
- [ ] delete_report_plan
- [ ] describe_backup_job
- [ ] describe_backup_vault
- [ ] describe_copy_job
- [ ] describe_framework
- [ ] describe_global_settings
- [ ] describe_protected_resource
- [ ] describe_recovery_point
- [ ] describe_region_settings
- [ ] describe_report_job
- [ ] describe_report_plan
- [ ] describe_restore_job
- [ ] disassociate_recovery_point
- [ ] disassociate_recovery_point_from_parent
- [ ] export_backup_plan_template
- [X] get_backup_plan
- [ ] get_backup_plan_from_json
- [ ] get_backup_plan_from_template
- [ ] get_backup_selection
- [ ] get_backup_vault_access_policy
- [ ] get_backup_vault_notifications
- [ ] get_legal_hold
- [ ] get_recovery_point_restore_metadata
- [ ] get_supported_resource_types
- [ ] list_backup_job_summaries
- [ ] list_backup_jobs
- [ ] list_backup_plan_templates
- [ ] list_backup_plan_versions
- [X] list_backup_plans

Pagination is not yet implemented


- [ ] list_backup_selections
- [X] list_backup_vaults

Pagination is not yet implemented


- [ ] list_copy_job_summaries
- [ ] list_copy_jobs
- [ ] list_frameworks
- [ ] list_legal_holds
- [ ] list_protected_resources
- [ ] list_protected_resources_by_backup_vault
- [ ] list_recovery_points_by_backup_vault
- [ ] list_recovery_points_by_legal_hold
- [ ] list_recovery_points_by_resource
- [ ] list_report_jobs
- [ ] list_report_plans
- [ ] list_restore_job_summaries
- [ ] list_restore_jobs
- [X] list_tags

Pagination is not yet implemented


- [ ] put_backup_vault_access_policy
- [ ] put_backup_vault_lock_configuration
- [ ] put_backup_vault_notifications
- [ ] start_backup_job
- [ ] start_copy_job
- [ ] start_report_job
- [ ] start_restore_job
- [ ] stop_backup_job
- [X] tag_resource
- [X] untag_resource
- [ ] update_backup_plan
- [ ] update_framework
- [ ] update_global_settings
- [ ] update_recovery_point_lifecycle
- [ ] update_region_settings
- [ ] update_report_plan

1 change: 0 additions & 1 deletion docs/docs/services/codecommit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,5 @@ codecommit
- [ ] update_pull_request_status
- [ ] update_pull_request_title
- [ ] update_repository_description
- [ ] update_repository_encryption_key
- [ ] update_repository_name

1 change: 0 additions & 1 deletion docs/docs/services/efs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,4 @@ efs
- [X] tag_resource
- [X] untag_resource
- [ ] update_file_system
- [ ] update_file_system_protection

11 changes: 0 additions & 11 deletions docs/docs/services/eks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,47 +25,37 @@ eks

|start-h3| Implemented features for this service |end-h3|

- [ ] associate_access_policy
- [ ] associate_encryption_config
- [ ] associate_identity_provider_config
- [ ] create_access_entry
- [ ] create_addon
- [X] create_cluster
- [ ] create_eks_anywhere_subscription
- [X] create_fargate_profile
- [X] create_nodegroup
- [ ] create_pod_identity_association
- [ ] delete_access_entry
- [ ] delete_addon
- [X] delete_cluster
- [ ] delete_eks_anywhere_subscription
- [X] delete_fargate_profile
- [X] delete_nodegroup
- [ ] delete_pod_identity_association
- [ ] deregister_cluster
- [ ] describe_access_entry
- [ ] describe_addon
- [ ] describe_addon_configuration
- [ ] describe_addon_versions
- [X] describe_cluster
- [ ] describe_eks_anywhere_subscription
- [X] describe_fargate_profile
- [ ] describe_identity_provider_config
- [ ] describe_insight
- [X] describe_nodegroup
- [ ] describe_pod_identity_association
- [ ] describe_update
- [ ] disassociate_access_policy
- [ ] disassociate_identity_provider_config
- [ ] list_access_entries
- [ ] list_access_policies
- [ ] list_addons
- [ ] list_associated_access_policies
- [X] list_clusters
- [ ] list_eks_anywhere_subscriptions
- [X] list_fargate_profiles
- [ ] list_identity_provider_configs
- [ ] list_insights
- [X] list_nodegroups
- [ ] list_pod_identity_associations
- [X] list_tags_for_resource
Expand All @@ -85,7 +75,6 @@ eks
This function currently will remove tags on an EKS cluster only. It does not remove tags from a managed node group


- [ ] update_access_entry
- [ ] update_addon
- [ ] update_cluster_config
- [ ] update_cluster_version
Expand Down
9 changes: 0 additions & 9 deletions docs/docs/services/elasticache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,13 @@ elasticache
- [ ] batch_apply_update_action
- [ ] batch_stop_update_action
- [ ] complete_migration
- [ ] copy_serverless_cache_snapshot
- [ ] copy_snapshot
- [X] create_cache_cluster
- [ ] create_cache_parameter_group
- [ ] create_cache_security_group
- [ ] create_cache_subnet_group
- [ ] create_global_replication_group
- [ ] create_replication_group
- [ ] create_serverless_cache
- [ ] create_serverless_cache_snapshot
- [ ] create_snapshot
- [X] create_user
- [ ] create_user_group
Expand All @@ -53,8 +50,6 @@ elasticache
- [ ] delete_cache_subnet_group
- [ ] delete_global_replication_group
- [ ] delete_replication_group
- [ ] delete_serverless_cache
- [ ] delete_serverless_cache_snapshot
- [ ] delete_snapshot
- [X] delete_user
- [ ] delete_user_group
Expand All @@ -70,8 +65,6 @@ elasticache
- [ ] describe_replication_groups
- [ ] describe_reserved_cache_nodes
- [ ] describe_reserved_cache_nodes_offerings
- [ ] describe_serverless_cache_snapshots
- [ ] describe_serverless_caches
- [ ] describe_service_updates
- [ ] describe_snapshots
- [ ] describe_update_actions
Expand All @@ -83,7 +76,6 @@ elasticache


- [ ] disassociate_global_replication_group
- [ ] export_serverless_cache_snapshot
- [ ] failover_global_replication_group
- [ ] increase_node_groups_in_global_replication_group
- [ ] increase_replica_count
Expand All @@ -95,7 +87,6 @@ elasticache
- [ ] modify_global_replication_group
- [ ] modify_replication_group
- [ ] modify_replication_group_shard_configuration
- [ ] modify_serverless_cache
- [ ] modify_user
- [ ] modify_user_group
- [ ] purchase_reserved_cache_nodes_offering
Expand Down
1 change: 0 additions & 1 deletion docs/docs/services/emr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ emr
- [ ] remove_managed_scaling_policy
- [X] remove_tags
- [X] run_job_flow
- [ ] set_keep_job_flow_alive_when_no_steps
- [X] set_termination_protection
- [X] set_visible_to_all_users
- [ ] start_notebook_execution
Expand Down
1 change: 0 additions & 1 deletion docs/docs/services/guardduty.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ guardduty
- [ ] get_master_account
- [ ] get_member_detectors
- [ ] get_members
- [ ] get_organization_statistics
- [ ] get_remaining_free_trial_days
- [ ] get_threat_intel_set
- [ ] get_usage_statistics
Expand Down
5 changes: 0 additions & 5 deletions docs/docs/services/iot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ iot
- [ ] create_authorizer
- [ ] create_billing_group
- [X] create_certificate_from_csr
- [ ] create_certificate_provider
- [ ] create_custom_metric
- [ ] create_dimension
- [X] create_domain_configuration
Expand Down Expand Up @@ -86,7 +85,6 @@ iot
- [ ] delete_billing_group
- [X] delete_ca_certificate
- [X] delete_certificate
- [ ] delete_certificate_provider
- [ ] delete_custom_metric
- [ ] delete_dimension
- [X] delete_domain_configuration
Expand Down Expand Up @@ -132,7 +130,6 @@ 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
Expand Down Expand Up @@ -196,7 +193,6 @@ iot
- [ ] list_authorizers
- [ ] list_billing_groups
- [ ] list_ca_certificates
- [ ] list_certificate_providers
- [X] list_certificates

Pagination is not yet implemented
Expand Down Expand Up @@ -325,7 +321,6 @@ iot


- [X] update_certificate
- [ ] update_certificate_provider
- [ ] update_custom_metric
- [ ] update_dimension
- [X] update_domain_configuration
Expand Down
1 change: 0 additions & 1 deletion docs/docs/services/logs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ logs

- [X] put_retention_policy
- [X] put_subscription_filter
- [ ] start_live_tail
- [X] start_query
- [ ] stop_query
- [X] tag_log_group
Expand Down
1 change: 0 additions & 1 deletion docs/docs/services/mediaconnect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ mediaconnect
- [ ] deregister_gateway_instance
- [ ] describe_bridge
- [X] describe_flow
- [ ] describe_flow_source_metadata
- [ ] describe_gateway
- [ ] describe_gateway_instance
- [ ] describe_offering
Expand Down
5 changes: 0 additions & 5 deletions docs/docs/services/opensearch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ opensearch
|start-h3| Implemented features for this service |end-h3|

- [ ] accept_inbound_connection
- [ ] add_data_source
- [X] add_tags
- [ ] associate_package
- [ ] authorize_vpc_endpoint_access
Expand All @@ -37,7 +36,6 @@ opensearch
- [ ] create_outbound_connection
- [ ] create_package
- [ ] create_vpc_endpoint
- [ ] delete_data_source
- [X] delete_domain
- [ ] delete_inbound_connection
- [ ] delete_outbound_connection
Expand All @@ -60,12 +58,10 @@ opensearch
- [ ] describe_vpc_endpoints
- [ ] dissociate_package
- [X] get_compatible_versions
- [ ] get_data_source
- [ ] get_domain_maintenance_status
- [ ] get_package_version_history
- [ ] get_upgrade_history
- [ ] get_upgrade_status
- [ ] list_data_sources
- [ ] list_domain_maintenances
- [X] list_domain_names
- [ ] list_domains_for_package
Expand All @@ -83,7 +79,6 @@ opensearch
- [ ] revoke_vpc_endpoint_access
- [ ] start_domain_maintenance
- [ ] start_service_software_update
- [ ] update_data_source
- [X] update_domain_config
- [ ] update_package
- [ ] update_scheduled_action
Expand Down
1 change: 0 additions & 1 deletion docs/docs/services/quicksight.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ quicksight
- [ ] update_analysis
- [ ] update_analysis_permissions
- [ ] update_dashboard
- [ ] update_dashboard_links
- [ ] update_dashboard_permissions
- [ ] update_dashboard_published_version
- [ ] update_data_set
Expand Down
Loading

0 comments on commit 6c7dff6

Please sign in to comment.