Class: Aws::ResilienceHub::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ResilienceHub::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb
Overview
An API client for ResilienceHub. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::ResilienceHub::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#accept_resource_grouping_recommendations(params = {}) ⇒ Types::AcceptResourceGroupingRecommendationsResponse
Accepts the resource grouping recommendations suggested by Resilience Hub for your application.
-
#add_draft_app_version_resource_mappings(params = {}) ⇒ Types::AddDraftAppVersionResourceMappingsResponse
Adds the source of resource-maps to the draft version of an application.
-
#batch_update_recommendation_status(params = {}) ⇒ Types::BatchUpdateRecommendationStatusResponse
Enables you to include or exclude one or more operational recommendations.
-
#create_app(params = {}) ⇒ Types::CreateAppResponse
Creates an Resilience Hub application.
-
#create_app_version_app_component(params = {}) ⇒ Types::CreateAppVersionAppComponentResponse
Creates a new Application Component in the Resilience Hub application.
-
#create_app_version_resource(params = {}) ⇒ Types::CreateAppVersionResourceResponse
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.
-
#create_recommendation_template(params = {}) ⇒ Types::CreateRecommendationTemplateResponse
Creates a new recommendation template for the Resilience Hub application.
-
#create_resiliency_policy(params = {}) ⇒ Types::CreateResiliencyPolicyResponse
Creates a resiliency policy for an application.
-
#delete_app(params = {}) ⇒ Types::DeleteAppResponse
Deletes an Resilience Hub application.
-
#delete_app_assessment(params = {}) ⇒ Types::DeleteAppAssessmentResponse
Deletes an Resilience Hub application assessment.
-
#delete_app_input_source(params = {}) ⇒ Types::DeleteAppInputSourceResponse
Deletes the input source and all of its imported resources from the Resilience Hub application.
-
#delete_app_version_app_component(params = {}) ⇒ Types::DeleteAppVersionAppComponentResponse
Deletes an Application Component from the Resilience Hub application.
-
#delete_app_version_resource(params = {}) ⇒ Types::DeleteAppVersionResourceResponse
Deletes a resource from the Resilience Hub application.
-
#delete_recommendation_template(params = {}) ⇒ Types::DeleteRecommendationTemplateResponse
Deletes a recommendation template.
-
#delete_resiliency_policy(params = {}) ⇒ Types::DeleteResiliencyPolicyResponse
Deletes a resiliency policy.
-
#describe_app(params = {}) ⇒ Types::DescribeAppResponse
Describes an Resilience Hub application.
-
#describe_app_assessment(params = {}) ⇒ Types::DescribeAppAssessmentResponse
Describes an assessment for an Resilience Hub application.
-
#describe_app_version(params = {}) ⇒ Types::DescribeAppVersionResponse
Describes the Resilience Hub application version.
-
#describe_app_version_app_component(params = {}) ⇒ Types::DescribeAppVersionAppComponentResponse
Describes an Application Component in the Resilience Hub application.
-
#describe_app_version_resource(params = {}) ⇒ Types::DescribeAppVersionResourceResponse
Describes a resource of the Resilience Hub application.
-
#describe_app_version_resources_resolution_status(params = {}) ⇒ Types::DescribeAppVersionResourcesResolutionStatusResponse
Returns the resolution status for the specified resolution identifier for an application version.
-
#describe_app_version_template(params = {}) ⇒ Types::DescribeAppVersionTemplateResponse
Describes details about an Resilience Hub application.
-
#describe_draft_app_version_resources_import_status(params = {}) ⇒ Types::DescribeDraftAppVersionResourcesImportStatusResponse
Describes the status of importing resources to an application version.
-
#describe_metrics_export(params = {}) ⇒ Types::DescribeMetricsExportResponse
Describes the metrics of the application configuration being exported.
-
#describe_resiliency_policy(params = {}) ⇒ Types::DescribeResiliencyPolicyResponse
Describes a specified resiliency policy for an Resilience Hub application.
-
#describe_resource_grouping_recommendation_task(params = {}) ⇒ Types::DescribeResourceGroupingRecommendationTaskResponse
Describes the resource grouping recommendation tasks run by Resilience Hub for your application.
-
#import_resources_to_draft_app_version(params = {}) ⇒ Types::ImportResourcesToDraftAppVersionResponse
Imports resources to Resilience Hub application draft version from different input sources.
-
#list_alarm_recommendations(params = {}) ⇒ Types::ListAlarmRecommendationsResponse
Lists the alarm recommendations for an Resilience Hub application.
-
#list_app_assessment_compliance_drifts(params = {}) ⇒ Types::ListAppAssessmentComplianceDriftsResponse
List of compliance drifts that were detected while running an assessment.
-
#list_app_assessment_resource_drifts(params = {}) ⇒ Types::ListAppAssessmentResourceDriftsResponse
List of resource drifts that were detected while running an assessment.
-
#list_app_assessments(params = {}) ⇒ Types::ListAppAssessmentsResponse
Lists the assessments for an Resilience Hub application.
-
#list_app_component_compliances(params = {}) ⇒ Types::ListAppComponentCompliancesResponse
Lists the compliances for an Resilience Hub Application Component.
-
#list_app_component_recommendations(params = {}) ⇒ Types::ListAppComponentRecommendationsResponse
Lists the recommendations for an Resilience Hub Application Component.
-
#list_app_input_sources(params = {}) ⇒ Types::ListAppInputSourcesResponse
Lists all the input sources of the Resilience Hub application.
-
#list_app_version_app_components(params = {}) ⇒ Types::ListAppVersionAppComponentsResponse
Lists all the Application Components in the Resilience Hub application.
-
#list_app_version_resource_mappings(params = {}) ⇒ Types::ListAppVersionResourceMappingsResponse
Lists how the resources in an application version are mapped/sourced from.
-
#list_app_version_resources(params = {}) ⇒ Types::ListAppVersionResourcesResponse
Lists all the resources in an Resilience Hub application.
-
#list_app_versions(params = {}) ⇒ Types::ListAppVersionsResponse
Lists the different versions for the Resilience Hub applications.
-
#list_apps(params = {}) ⇒ Types::ListAppsResponse
Lists your Resilience Hub applications.
-
#list_metrics(params = {}) ⇒ Types::ListMetricsResponse
Lists the metrics that can be exported.
-
#list_recommendation_templates(params = {}) ⇒ Types::ListRecommendationTemplatesResponse
Lists the recommendation templates for the Resilience Hub applications.
-
#list_resiliency_policies(params = {}) ⇒ Types::ListResiliencyPoliciesResponse
Lists the resiliency policies for the Resilience Hub applications.
-
#list_resource_grouping_recommendations(params = {}) ⇒ Types::ListResourceGroupingRecommendationsResponse
Lists the resource grouping recommendations suggested by Resilience Hub for your application.
-
#list_sop_recommendations(params = {}) ⇒ Types::ListSopRecommendationsResponse
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
-
#list_suggested_resiliency_policies(params = {}) ⇒ Types::ListSuggestedResiliencyPoliciesResponse
Lists the suggested resiliency policies for the Resilience Hub applications.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for your resources in your Resilience Hub applications.
-
#list_test_recommendations(params = {}) ⇒ Types::ListTestRecommendationsResponse
Lists the test recommendations for the Resilience Hub application.
-
#list_unsupported_app_version_resources(params = {}) ⇒ Types::ListUnsupportedAppVersionResourcesResponse
Lists the resources that are not currently supported in Resilience Hub.
-
#publish_app_version(params = {}) ⇒ Types::PublishAppVersionResponse
Publishes a new version of a specific Resilience Hub application.
-
#put_draft_app_version_template(params = {}) ⇒ Types::PutDraftAppVersionTemplateResponse
Adds or updates the app template for an Resilience Hub application draft version.
-
#reject_resource_grouping_recommendations(params = {}) ⇒ Types::RejectResourceGroupingRecommendationsResponse
Rejects resource grouping recommendations.
-
#remove_draft_app_version_resource_mappings(params = {}) ⇒ Types::RemoveDraftAppVersionResourceMappingsResponse
Removes resource mappings from a draft application version.
-
#resolve_app_version_resources(params = {}) ⇒ Types::ResolveAppVersionResourcesResponse
Resolves the resources for an application version.
-
#start_app_assessment(params = {}) ⇒ Types::StartAppAssessmentResponse
Creates a new application assessment for an application.
-
#start_metrics_export(params = {}) ⇒ Types::StartMetricsExportResponse
Initiates the export task of metrics.
-
#start_resource_grouping_recommendation_task(params = {}) ⇒ Types::StartResourceGroupingRecommendationTaskResponse
Starts grouping recommendation task.
-
#tag_resource(params = {}) ⇒ Struct
Applies one or more tags to a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from a resource.
-
#update_app(params = {}) ⇒ Types::UpdateAppResponse
Updates an application.
-
#update_app_version(params = {}) ⇒ Types::UpdateAppVersionResponse
Updates the Resilience Hub application version.
-
#update_app_version_app_component(params = {}) ⇒ Types::UpdateAppVersionAppComponentResponse
Updates an existing Application Component in the Resilience Hub application.
-
#update_app_version_resource(params = {}) ⇒ Types::UpdateAppVersionResourceResponse
Updates the resource details in the Resilience Hub application.
-
#update_resiliency_policy(params = {}) ⇒ Types::UpdateResiliencyPolicyResponse
Updates a resiliency policy.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#accept_resource_grouping_recommendations(params = {}) ⇒ Types::AcceptResourceGroupingRecommendationsResponse
Accepts the resource grouping recommendations suggested by Resilience Hub for your application.
495 496 497 498 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 495 def accept_resource_grouping_recommendations(params = {}, = {}) req = build_request(:accept_resource_grouping_recommendations, params) req.send_request() end |
#add_draft_app_version_resource_mappings(params = {}) ⇒ Types::AddDraftAppVersionResourceMappingsResponse
Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources supported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
581 582 583 584 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 581 def add_draft_app_version_resource_mappings(params = {}, = {}) req = build_request(:add_draft_app_version_resource_mappings, params) req.send_request() end |
#batch_update_recommendation_status(params = {}) ⇒ Types::BatchUpdateRecommendationStatusResponse
Enables you to include or exclude one or more operational recommendations.
648 649 650 651 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 648 def batch_update_recommendation_status(params = {}, = {}) req = build_request(:batch_update_recommendation_status, params) req.send_request() end |
#create_app(params = {}) ⇒ Types::CreateAppResponse
Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service quotas.
After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
790 791 792 793 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 790 def create_app(params = {}, = {}) req = build_request(:create_app, params) req.send_request() end |
#create_app_version_app_component(params = {}) ⇒ Types::CreateAppVersionAppComponentResponse
Creates a new Application Component in the Resilience Hub application.
PublishAppVersion
API.
874 875 876 877 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 874 def create_app_version_app_component(params = {}, = {}) req = build_request(:create_app_version_app_component, params) req.send_request() end |
#create_app_version_resource(params = {}) ⇒ Types::CreateAppVersionResourceResponse
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
1003 1004 1005 1006 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1003 def create_app_version_resource(params = {}, = {}) req = build_request(:create_app_version_resource, params) req.send_request() end |
#create_recommendation_template(params = {}) ⇒ Types::CreateRecommendationTemplateResponse
Creates a new recommendation template for the Resilience Hub application.
1116 1117 1118 1119 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1116 def create_recommendation_template(params = {}, = {}) req = build_request(:create_recommendation_template, params) req.send_request() end |
#create_resiliency_policy(params = {}) ⇒ Types::CreateResiliencyPolicyResponse
Creates a resiliency policy for an application.
rtoInSecs
and rpoInSecs
of your resiliency policy. But, while assessing your
application, the lowest possible assessment result is near zero.
Hence, if you provide value zero for rtoInSecs
and rpoInSecs
, the
estimated workload RTO and estimated workload RPO result will be near
zero and the Compliance status for your application will be set to
Policy breached.
1205 1206 1207 1208 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1205 def create_resiliency_policy(params = {}, = {}) req = build_request(:create_resiliency_policy, params) req.send_request() end |
#delete_app(params = {}) ⇒ Types::DeleteAppResponse
Deletes an Resilience Hub application. This is a destructive action that can't be undone.
1256 1257 1258 1259 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1256 def delete_app(params = {}, = {}) req = build_request(:delete_app, params) req.send_request() end |
#delete_app_assessment(params = {}) ⇒ Types::DeleteAppAssessmentResponse
Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.
1304 1305 1306 1307 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1304 def delete_app_assessment(params = {}, = {}) req = build_request(:delete_app_assessment, params) req.send_request() end |
#delete_app_input_source(params = {}) ⇒ Types::DeleteAppInputSourceResponse
Deletes the input source and all of its imported resources from the Resilience Hub application.
1384 1385 1386 1387 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1384 def delete_app_input_source(params = {}, = {}) req = build_request(:delete_app_input_source, params) req.send_request() end |
#delete_app_version_app_component(params = {}) ⇒ Types::DeleteAppVersionAppComponentResponse
Deletes an Application Component from the Resilience Hub application.
PublishAppVersion
API.
- You will not be able to delete an Application Component if it has resources associated with it.
1452 1453 1454 1455 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1452 def delete_app_version_app_component(params = {}, = {}) req = build_request(:delete_app_version_app_component, params) req.send_request() end |
#delete_app_version_resource(params = {}) ⇒ Types::DeleteAppVersionResourceResponse
Deletes a resource from the Resilience Hub application.
UpdateAppVersionResource
API.
This action has no effect outside Resilience Hub.
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
1563 1564 1565 1566 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1563 def delete_app_version_resource(params = {}, = {}) req = build_request(:delete_app_version_resource, params) req.send_request() end |
#delete_recommendation_template(params = {}) ⇒ Types::DeleteRecommendationTemplateResponse
Deletes a recommendation template. This is a destructive action that can't be undone.
1603 1604 1605 1606 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1603 def delete_recommendation_template(params = {}, = {}) req = build_request(:delete_recommendation_template, params) req.send_request() end |
#delete_resiliency_policy(params = {}) ⇒ Types::DeleteResiliencyPolicyResponse
Deletes a resiliency policy. This is a destructive action that can't be undone.
1649 1650 1651 1652 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1649 def delete_resiliency_policy(params = {}, = {}) req = build_request(:delete_resiliency_policy, params) req.send_request() end |
#describe_app(params = {}) ⇒ Types::DescribeAppResponse
Describes an Resilience Hub application.
1710 1711 1712 1713 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1710 def describe_app(params = {}, = {}) req = build_request(:describe_app, params) req.send_request() end |
#describe_app_assessment(params = {}) ⇒ Types::DescribeAppAssessmentResponse
Describes an assessment for an Resilience Hub application.
1804 1805 1806 1807 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1804 def describe_app_assessment(params = {}, = {}) req = build_request(:describe_app_assessment, params) req.send_request() end |
#describe_app_version(params = {}) ⇒ Types::DescribeAppVersionResponse
Describes the Resilience Hub application version.
1850 1851 1852 1853 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1850 def describe_app_version(params = {}, = {}) req = build_request(:describe_app_version, params) req.send_request() end |
#describe_app_version_app_component(params = {}) ⇒ Types::DescribeAppVersionAppComponentResponse
Describes an Application Component in the Resilience Hub application.
1903 1904 1905 1906 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 1903 def describe_app_version_app_component(params = {}, = {}) req = build_request(:describe_app_version_app_component, params) req.send_request() end |
#describe_app_version_resource(params = {}) ⇒ Types::DescribeAppVersionResourceResponse
Describes a resource of the Resilience Hub application.
resourceName
logicalResourceId
physicalResourceId
(Along withphysicalResourceId
, you can also provideawsAccountId
, andawsRegion
)
2008 2009 2010 2011 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2008 def describe_app_version_resource(params = {}, = {}) req = build_request(:describe_app_version_resource, params) req.send_request() end |
#describe_app_version_resources_resolution_status(params = {}) ⇒ Types::DescribeAppVersionResourcesResolutionStatusResponse
Returns the resolution status for the specified resolution identifier
for an application version. If resolutionId
is not specified, the
current resolution status is returned.
2062 2063 2064 2065 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2062 def describe_app_version_resources_resolution_status(params = {}, = {}) req = build_request(:describe_app_version_resources_resolution_status, params) req.send_request() end |
#describe_app_version_template(params = {}) ⇒ Types::DescribeAppVersionTemplateResponse
Describes details about an Resilience Hub application.
2106 2107 2108 2109 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2106 def describe_app_version_template(params = {}, = {}) req = build_request(:describe_app_version_template, params) req.send_request() end |
#describe_draft_app_version_resources_import_status(params = {}) ⇒ Types::DescribeDraftAppVersionResourcesImportStatusResponse
Describes the status of importing resources to an application version.
ResourceImportStatusNotFoundAppMetadataException
, you must call
importResourcesToDraftAppVersion
after creating the application and
before calling describeDraftAppVersionResourcesImportStatus
to
obtain the status.
2161 2162 2163 2164 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2161 def describe_draft_app_version_resources_import_status(params = {}, = {}) req = build_request(:describe_draft_app_version_resources_import_status, params) req.send_request() end |
#describe_metrics_export(params = {}) ⇒ Types::DescribeMetricsExportResponse
Describes the metrics of the application configuration being exported.
2196 2197 2198 2199 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2196 def describe_metrics_export(params = {}, = {}) req = build_request(:describe_metrics_export, params) req.send_request() end |
#describe_resiliency_policy(params = {}) ⇒ Types::DescribeResiliencyPolicyResponse
Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
2246 2247 2248 2249 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2246 def describe_resiliency_policy(params = {}, = {}) req = build_request(:describe_resiliency_policy, params) req.send_request() end |
#describe_resource_grouping_recommendation_task(params = {}) ⇒ Types::DescribeResourceGroupingRecommendationTaskResponse
Describes the resource grouping recommendation tasks run by Resilience Hub for your application.
2291 2292 2293 2294 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2291 def describe_resource_grouping_recommendation_task(params = {}, = {}) req = build_request(:describe_resource_grouping_recommendation_task, params) req.send_request() end |
#import_resources_to_draft_app_version(params = {}) ⇒ Types::ImportResourcesToDraftAppVersionResponse
Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
2376 2377 2378 2379 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2376 def import_resources_to_draft_app_version(params = {}, = {}) req = build_request(:import_resources_to_draft_app_version, params) req.send_request() end |
#list_alarm_recommendations(params = {}) ⇒ Types::ListAlarmRecommendationsResponse
Lists the alarm recommendations for an Resilience Hub application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2444 2445 2446 2447 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2444 def list_alarm_recommendations(params = {}, = {}) req = build_request(:list_alarm_recommendations, params) req.send_request() end |
#list_app_assessment_compliance_drifts(params = {}) ⇒ Types::ListAppAssessmentComplianceDriftsResponse
List of compliance drifts that were detected while running an assessment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2524 2525 2526 2527 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2524 def list_app_assessment_compliance_drifts(params = {}, = {}) req = build_request(:list_app_assessment_compliance_drifts, params) req.send_request() end |
#list_app_assessment_resource_drifts(params = {}) ⇒ Types::ListAppAssessmentResourceDriftsResponse
List of resource drifts that were detected while running an assessment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2587 2588 2589 2590 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2587 def list_app_assessment_resource_drifts(params = {}, = {}) req = build_request(:list_app_assessment_resource_drifts, params) req.send_request() end |
#list_app_assessments(params = {}) ⇒ Types::ListAppAssessmentsResponse
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2677 2678 2679 2680 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2677 def list_app_assessments(params = {}, = {}) req = build_request(:list_app_assessments, params) req.send_request() end |
#list_app_component_compliances(params = {}) ⇒ Types::ListAppComponentCompliancesResponse
Lists the compliances for an Resilience Hub Application Component.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2753 2754 2755 2756 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2753 def list_app_component_compliances(params = {}, = {}) req = build_request(:list_app_component_compliances, params) req.send_request() end |
#list_app_component_recommendations(params = {}) ⇒ Types::ListAppComponentRecommendationsResponse
Lists the recommendations for an Resilience Hub Application Component.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2835 2836 2837 2838 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2835 def list_app_component_recommendations(params = {}, = {}) req = build_request(:list_app_component_recommendations, params) req.send_request() end |
#list_app_input_sources(params = {}) ⇒ Types::ListAppInputSourcesResponse
Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2903 2904 2905 2906 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2903 def list_app_input_sources(params = {}, = {}) req = build_request(:list_app_input_sources, params) req.send_request() end |
#list_app_version_app_components(params = {}) ⇒ Types::ListAppVersionAppComponentsResponse
Lists all the Application Components in the Resilience Hub application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2968 2969 2970 2971 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 2968 def list_app_version_app_components(params = {}, = {}) req = build_request(:list_app_version_app_components, params) req.send_request() end |
#list_app_version_resource_mappings(params = {}) ⇒ Types::ListAppVersionResourceMappingsResponse
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3036 3037 3038 3039 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3036 def list_app_version_resource_mappings(params = {}, = {}) req = build_request(:list_app_version_resource_mappings, params) req.send_request() end |
#list_app_version_resources(params = {}) ⇒ Types::ListAppVersionResourcesResponse
Lists all the resources in an Resilience Hub application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3121 3122 3123 3124 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3121 def list_app_version_resources(params = {}, = {}) req = build_request(:list_app_version_resources, params) req.send_request() end |
#list_app_versions(params = {}) ⇒ Types::ListAppVersionsResponse
Lists the different versions for the Resilience Hub applications.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3184 3185 3186 3187 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3184 def list_app_versions(params = {}, = {}) req = build_request(:list_app_versions, params) req.send_request() end |
#list_apps(params = {}) ⇒ Types::ListAppsResponse
Lists your Resilience Hub applications.
An error occurred (ValidationException) when calling the ListApps
operation: Only one filter is supported for this operation.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3289 3290 3291 3292 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3289 def list_apps(params = {}, = {}) req = build_request(:list_apps, params) req.send_request() end |
#list_metrics(params = {}) ⇒ Types::ListMetricsResponse
Lists the metrics that can be exported.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3364 3365 3366 3367 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3364 def list_metrics(params = {}, = {}) req = build_request(:list_metrics, params) req.send_request() end |
#list_recommendation_templates(params = {}) ⇒ Types::ListRecommendationTemplatesResponse
Lists the recommendation templates for the Resilience Hub applications.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3451 3452 3453 3454 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3451 def list_recommendation_templates(params = {}, = {}) req = build_request(:list_recommendation_templates, params) req.send_request() end |
#list_resiliency_policies(params = {}) ⇒ Types::ListResiliencyPoliciesResponse
Lists the resiliency policies for the Resilience Hub applications.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3506 3507 3508 3509 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3506 def list_resiliency_policies(params = {}, = {}) req = build_request(:list_resiliency_policies, params) req.send_request() end |
#list_resource_grouping_recommendations(params = {}) ⇒ Types::ListResourceGroupingRecommendationsResponse
Lists the resource grouping recommendations suggested by Resilience Hub for your application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3582 3583 3584 3585 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3582 def list_resource_grouping_recommendations(params = {}, = {}) req = build_request(:list_resource_grouping_recommendations, params) req.send_request() end |
#list_sop_recommendations(params = {}) ⇒ Types::ListSopRecommendationsResponse
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3649 3650 3651 3652 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3649 def list_sop_recommendations(params = {}, = {}) req = build_request(:list_sop_recommendations, params) req.send_request() end |
#list_suggested_resiliency_policies(params = {}) ⇒ Types::ListSuggestedResiliencyPoliciesResponse
Lists the suggested resiliency policies for the Resilience Hub applications.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3701 3702 3703 3704 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3701 def list_suggested_resiliency_policies(params = {}, = {}) req = build_request(:list_suggested_resiliency_policies, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for your resources in your Resilience Hub applications.
3731 3732 3733 3734 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3731 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_test_recommendations(params = {}) ⇒ Types::ListTestRecommendationsResponse
Lists the test recommendations for the Resilience Hub application.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3801 3802 3803 3804 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3801 def list_test_recommendations(params = {}, = {}) req = build_request(:list_test_recommendations, params) req.send_request() end |
#list_unsupported_app_version_resources(params = {}) ⇒ Types::ListUnsupportedAppVersionResourcesResponse
Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3876 3877 3878 3879 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3876 def list_unsupported_app_version_resources(params = {}, = {}) req = build_request(:list_unsupported_app_version_resources, params) req.send_request() end |
#publish_app_version(params = {}) ⇒ Types::PublishAppVersionResponse
Publishes a new version of a specific Resilience Hub application.
3922 3923 3924 3925 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 3922 def publish_app_version(params = {}, = {}) req = build_request(:publish_app_version, params) req.send_request() end |
#put_draft_app_version_template(params = {}) ⇒ Types::PutDraftAppVersionTemplateResponse
Adds or updates the app template for an Resilience Hub application draft version.
4196 4197 4198 4199 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4196 def put_draft_app_version_template(params = {}, = {}) req = build_request(:put_draft_app_version_template, params) req.send_request() end |
#reject_resource_grouping_recommendations(params = {}) ⇒ Types::RejectResourceGroupingRecommendationsResponse
Rejects resource grouping recommendations.
4246 4247 4248 4249 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4246 def reject_resource_grouping_recommendations(params = {}, = {}) req = build_request(:reject_resource_grouping_recommendations, params) req.send_request() end |
#remove_draft_app_version_resource_mappings(params = {}) ⇒ Types::RemoveDraftAppVersionResourceMappingsResponse
Removes resource mappings from a draft application version.
4318 4319 4320 4321 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4318 def remove_draft_app_version_resource_mappings(params = {}, = {}) req = build_request(:remove_draft_app_version_resource_mappings, params) req.send_request() end |
#resolve_app_version_resources(params = {}) ⇒ Types::ResolveAppVersionResourcesResponse
Resolves the resources for an application version.
4364 4365 4366 4367 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4364 def resolve_app_version_resources(params = {}, = {}) req = build_request(:resolve_app_version_resources, params) req.send_request() end |
#start_app_assessment(params = {}) ⇒ Types::StartAppAssessmentResponse
Creates a new application assessment for an application.
4482 4483 4484 4485 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4482 def start_app_assessment(params = {}, = {}) req = build_request(:start_app_assessment, params) req.send_request() end |
#start_metrics_export(params = {}) ⇒ Types::StartMetricsExportResponse
Initiates the export task of metrics.
4522 4523 4524 4525 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4522 def start_metrics_export(params = {}, = {}) req = build_request(:start_metrics_export, params) req.send_request() end |
#start_resource_grouping_recommendation_task(params = {}) ⇒ Types::StartResourceGroupingRecommendationTaskResponse
Starts grouping recommendation task.
4564 4565 4566 4567 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4564 def start_resource_grouping_recommendation_task(params = {}, = {}) req = build_request(:start_resource_grouping_recommendation_task, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Applies one or more tags to a resource.
4593 4594 4595 4596 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4593 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from a resource.
4619 4620 4621 4622 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4619 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_app(params = {}) ⇒ Types::UpdateAppResponse
Updates an application.
4726 4727 4728 4729 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4726 def update_app(params = {}, = {}) req = build_request(:update_app, params) req.send_request() end |
#update_app_version(params = {}) ⇒ Types::UpdateAppVersionResponse
Updates the Resilience Hub application version.
PublishAppVersion
API.
4796 4797 4798 4799 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4796 def update_app_version(params = {}, = {}) req = build_request(:update_app_version, params) req.send_request() end |
#update_app_version_app_component(params = {}) ⇒ Types::UpdateAppVersionAppComponentResponse
Updates an existing Application Component in the Resilience Hub application.
PublishAppVersion
API.
4872 4873 4874 4875 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4872 def update_app_version_app_component(params = {}, = {}) req = build_request(:update_app_version_app_component, params) req.send_request() end |
#update_app_version_resource(params = {}) ⇒ Types::UpdateAppVersionResourceResponse
Updates the resource details in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
4999 5000 5001 5002 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 4999 def update_app_version_resource(params = {}, = {}) req = build_request(:update_app_version_resource, params) req.send_request() end |
#update_resiliency_policy(params = {}) ⇒ Types::UpdateResiliencyPolicyResponse
Updates a resiliency policy.
rtoInSecs
and rpoInSecs
of your resiliency policy. But, while assessing your
application, the lowest possible assessment result is near zero.
Hence, if you provide value zero for rtoInSecs
and rpoInSecs
, the
estimated workload RTO and estimated workload RPO result will be near
zero and the Compliance status for your application will be set to
Policy breached.
5084 5085 5086 5087 |
# File 'gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb', line 5084 def update_resiliency_policy(params = {}, = {}) req = build_request(:update_resiliency_policy, params) req.send_request() end |