-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
870 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
.. _implementedservice_resiliencehub: | ||
|
||
.. |start-h3| raw:: html | ||
|
||
<h3> | ||
|
||
.. |end-h3| raw:: html | ||
|
||
</h3> | ||
|
||
============= | ||
resiliencehub | ||
============= | ||
|
||
|start-h3| Implemented features for this service |end-h3| | ||
|
||
- [ ] add_draft_app_version_resource_mappings | ||
- [ ] batch_update_recommendation_status | ||
- [X] create_app | ||
|
||
The ClientToken-parameter is not yet implemented | ||
|
||
|
||
- [ ] create_app_version_app_component | ||
- [ ] create_app_version_resource | ||
- [ ] create_recommendation_template | ||
- [X] create_resiliency_policy | ||
|
||
The ClientToken-parameter is not yet implemented | ||
|
||
|
||
- [ ] delete_app | ||
- [ ] delete_app_assessment | ||
- [ ] delete_app_input_source | ||
- [ ] delete_app_version_app_component | ||
- [ ] delete_app_version_resource | ||
- [ ] delete_recommendation_template | ||
- [ ] delete_resiliency_policy | ||
- [X] describe_app | ||
- [ ] describe_app_assessment | ||
- [ ] describe_app_version | ||
- [ ] describe_app_version_app_component | ||
- [ ] describe_app_version_resource | ||
- [ ] describe_app_version_resources_resolution_status | ||
- [ ] describe_app_version_template | ||
- [ ] describe_draft_app_version_resources_import_status | ||
- [X] describe_resiliency_policy | ||
- [ ] import_resources_to_draft_app_version | ||
- [ ] list_alarm_recommendations | ||
- [ ] list_app_assessment_compliance_drifts | ||
- [X] list_app_assessments | ||
- [ ] list_app_component_compliances | ||
- [ ] list_app_component_recommendations | ||
- [ ] list_app_input_sources | ||
- [ ] list_app_version_app_components | ||
- [ ] list_app_version_resource_mappings | ||
- [ ] list_app_version_resources | ||
- [ ] list_app_versions | ||
- [X] list_apps | ||
|
||
The FromAssessmentTime/ToAssessmentTime-parameters are not yet implemented | ||
|
||
|
||
- [ ] list_recommendation_templates | ||
- [X] list_resiliency_policies | ||
- [ ] list_sop_recommendations | ||
- [ ] list_suggested_resiliency_policies | ||
- [X] list_tags_for_resource | ||
- [ ] list_test_recommendations | ||
- [ ] list_unsupported_app_version_resources | ||
- [ ] publish_app_version | ||
- [ ] put_draft_app_version_template | ||
- [ ] remove_draft_app_version_resource_mappings | ||
- [ ] resolve_app_version_resources | ||
- [ ] start_app_assessment | ||
- [X] tag_resource | ||
- [X] untag_resource | ||
- [ ] update_app | ||
- [ ] update_app_version | ||
- [ ] update_app_version_app_component | ||
- [ ] update_app_version_resource | ||
- [ ] update_resiliency_policy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .models import resiliencehub_backends # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
"""Exceptions raised by the resiliencehub service.""" | ||
from moto.core.exceptions import JsonRESTError | ||
|
||
|
||
class ResourceNotFound(JsonRESTError): | ||
def __init__(self, msg: str): | ||
super().__init__("ResourceNotFoundException", msg) | ||
|
||
|
||
class AppNotFound(ResourceNotFound): | ||
def __init__(self, arn: str): | ||
super().__init__(f"App not found for appArn {arn}") | ||
|
||
|
||
class ResiliencyPolicyNotFound(ResourceNotFound): | ||
def __init__(self, arn: str): | ||
super().__init__(f"ResiliencyPolicy {arn} not found") | ||
|
||
|
||
class ValidationException(JsonRESTError): | ||
def __init__(self, msg: str): | ||
super().__init__("ValidationException", msg) |
Oops, something went wrong.