@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSResilienceHubClient extends AmazonWebServiceClient implements AWSResilienceHub
Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. It offers continual resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSResilienceHubClientBuilder builder()
public AddDraftAppVersionResourceMappingsResult addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest request)
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 suported 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.
addDraftAppVersionResourceMappings in interface AWSResilienceHubaddDraftAppVersionResourceMappingsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public BatchUpdateRecommendationStatusResult batchUpdateRecommendationStatus(BatchUpdateRecommendationStatusRequest request)
Enables you to include or exclude one or more operational recommendations.
batchUpdateRecommendationStatus in interface AWSResilienceHubbatchUpdateRecommendationStatusRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public CreateAppResult createApp(CreateAppRequest request)
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).
createApp in interface AWSResilienceHubcreateAppRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException - This exception occurs when you have exceeded your service quota. To perform the requested action, remove
some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public CreateAppVersionAppComponentResult createAppVersionAppComponent(CreateAppVersionAppComponentRequest request)
Creates a new Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running
assessments, you must publish the Resilience Hub application using the PublishAppVersion API.
createAppVersionAppComponent in interface AWSResilienceHubcreateAppVersionAppComponentRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException - This exception occurs when you have exceeded your service quota. To perform the requested action, remove
some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public CreateAppVersionResourceResult createAppVersionResource(CreateAppVersionResourceRequest request)
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 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.
To update application version with new physicalResourceID, you must call
ResolveAppVersionResources API.
createAppVersionResource in interface AWSResilienceHubcreateAppVersionResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException - This exception occurs when you have exceeded your service quota. To perform the requested action, remove
some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public CreateRecommendationTemplateResult createRecommendationTemplate(CreateRecommendationTemplateRequest request)
Creates a new recommendation template for the Resilience Hub application.
createRecommendationTemplate in interface AWSResilienceHubcreateRecommendationTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException - This exception occurs when you have exceeded your service quota. To perform the requested action, remove
some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public CreateResiliencyPolicyResult createResiliencyPolicy(CreateResiliencyPolicyRequest request)
Creates a resiliency policy for an application.
Resilience Hub allows you to provide a value of zero for 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.
createResiliencyPolicy in interface AWSResilienceHubcreateResiliencyPolicyRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException - This exception occurs when you have exceeded your service quota. To perform the requested action, remove
some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteAppResult deleteApp(DeleteAppRequest request)
Deletes an Resilience Hub application. This is a destructive action that can't be undone.
deleteApp in interface AWSResilienceHubdeleteAppRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.public DeleteAppAssessmentResult deleteAppAssessment(DeleteAppAssessmentRequest request)
Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.
deleteAppAssessment in interface AWSResilienceHubdeleteAppAssessmentRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteAppInputSourceResult deleteAppInputSource(DeleteAppInputSourceRequest request)
Deletes the input source and all of its imported resources from the Resilience Hub application.
deleteAppInputSource in interface AWSResilienceHubdeleteAppInputSourceRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteAppVersionAppComponentResult deleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest request)
Deletes an Application Component from the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running
assessments, you must publish the Resilience Hub application using the PublishAppVersion API.
You will not be able to delete an Application Component if it has resources associated with it.
deleteAppVersionAppComponent in interface AWSResilienceHubdeleteAppVersionAppComponentRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteAppVersionResourceResult deleteAppVersionResource(DeleteAppVersionResourceRequest request)
Deletes a resource from the Resilience Hub application.
You can only delete a manually added resource. To exclude non-manually added resources, use the
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.
deleteAppVersionResource in interface AWSResilienceHubdeleteAppVersionResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteRecommendationTemplateResult deleteRecommendationTemplate(DeleteRecommendationTemplateRequest request)
Deletes a recommendation template. This is a destructive action that can't be undone.
deleteRecommendationTemplate in interface AWSResilienceHubdeleteRecommendationTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteResiliencyPolicyResult deleteResiliencyPolicy(DeleteResiliencyPolicyRequest request)
Deletes a resiliency policy. This is a destructive action that can't be undone.
deleteResiliencyPolicy in interface AWSResilienceHubdeleteResiliencyPolicyRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppResult describeApp(DescribeAppRequest request)
Describes an Resilience Hub application.
describeApp in interface AWSResilienceHubdescribeAppRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppAssessmentResult describeAppAssessment(DescribeAppAssessmentRequest request)
Describes an assessment for an Resilience Hub application.
describeAppAssessment in interface AWSResilienceHubdescribeAppAssessmentRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppVersionResult describeAppVersion(DescribeAppVersionRequest request)
Describes the Resilience Hub application version.
describeAppVersion in interface AWSResilienceHubdescribeAppVersionRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppVersionAppComponentResult describeAppVersionAppComponent(DescribeAppVersionAppComponentRequest request)
Describes an Application Component in the Resilience Hub application.
describeAppVersionAppComponent in interface AWSResilienceHubdescribeAppVersionAppComponentRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppVersionResourceResult describeAppVersionResource(DescribeAppVersionResourceRequest request)
Describes a resource of the Resilience Hub application.
This API accepts only one of the following parameters to descibe the resource:
resourceName
logicalResourceId
physicalResourceId (Along with physicalResourceId, you can also provide
awsAccountId, and awsRegion)
describeAppVersionResource in interface AWSResilienceHubdescribeAppVersionResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppVersionResourcesResolutionStatusResult describeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest request)
Returns the resolution status for the specified resolution identifier for an application version. If
resolutionId is not specified, the current resolution status is returned.
describeAppVersionResourcesResolutionStatus in interface AWSResilienceHubdescribeAppVersionResourcesResolutionStatusRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppVersionTemplateResult describeAppVersionTemplate(DescribeAppVersionTemplateRequest request)
Describes details about an Resilience Hub application.
describeAppVersionTemplate in interface AWSResilienceHubdescribeAppVersionTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeDraftAppVersionResourcesImportStatusResult describeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest request)
Describes the status of importing resources to an application version.
If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, you must call
importResourcesToDraftAppVersion after creating the application and before calling
describeDraftAppVersionResourcesImportStatus to obtain the status.
describeDraftAppVersionResourcesImportStatus in interface AWSResilienceHubdescribeDraftAppVersionResourcesImportStatusRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeResiliencyPolicyResult describeResiliencyPolicy(DescribeResiliencyPolicyRequest request)
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.
describeResiliencyPolicy in interface AWSResilienceHubdescribeResiliencyPolicyRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ImportResourcesToDraftAppVersionResult importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest request)
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.
importResourcesToDraftAppVersion in interface AWSResilienceHubimportResourcesToDraftAppVersionRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException - This exception occurs when you have exceeded your service quota. To perform the requested action, remove
some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAlarmRecommendationsResult listAlarmRecommendations(ListAlarmRecommendationsRequest request)
Lists the alarm recommendations for an Resilience Hub application.
listAlarmRecommendations in interface AWSResilienceHublistAlarmRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppAssessmentComplianceDriftsResult listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest request)
List of compliance drifts that were detected while running an assessment.
listAppAssessmentComplianceDrifts in interface AWSResilienceHublistAppAssessmentComplianceDriftsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppAssessmentResourceDriftsResult listAppAssessmentResourceDrifts(ListAppAssessmentResourceDriftsRequest request)
Indicates the list of resource drifts that were detected while running an assessment.
listAppAssessmentResourceDrifts in interface AWSResilienceHublistAppAssessmentResourceDriftsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppAssessmentsResult listAppAssessments(ListAppAssessmentsRequest request)
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
listAppAssessments in interface AWSResilienceHublistAppAssessmentsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppComponentCompliancesResult listAppComponentCompliances(ListAppComponentCompliancesRequest request)
Lists the compliances for an Resilience Hub Application Component.
listAppComponentCompliances in interface AWSResilienceHublistAppComponentCompliancesRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppComponentRecommendationsResult listAppComponentRecommendations(ListAppComponentRecommendationsRequest request)
Lists the recommendations for an Resilience Hub Application Component.
listAppComponentRecommendations in interface AWSResilienceHublistAppComponentRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppInputSourcesResult listAppInputSources(ListAppInputSourcesRequest request)
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.
listAppInputSources in interface AWSResilienceHublistAppInputSourcesRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppVersionAppComponentsResult listAppVersionAppComponents(ListAppVersionAppComponentsRequest request)
Lists all the Application Components in the Resilience Hub application.
listAppVersionAppComponents in interface AWSResilienceHublistAppVersionAppComponentsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppVersionResourceMappingsResult listAppVersionResourceMappings(ListAppVersionResourceMappingsRequest request)
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.
listAppVersionResourceMappings in interface AWSResilienceHublistAppVersionResourceMappingsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppVersionResourcesResult listAppVersionResources(ListAppVersionResourcesRequest request)
Lists all the resources in an Resilience Hub application.
listAppVersionResources in interface AWSResilienceHublistAppVersionResourcesRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppVersionsResult listAppVersions(ListAppVersionsRequest request)
Lists the different versions for the Resilience Hub applications.
listAppVersions in interface AWSResilienceHublistAppVersionsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppsResult listApps(ListAppsRequest request)
Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
listApps in interface AWSResilienceHublistAppsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListRecommendationTemplatesResult listRecommendationTemplates(ListRecommendationTemplatesRequest request)
Lists the recommendation templates for the Resilience Hub applications.
listRecommendationTemplates in interface AWSResilienceHublistRecommendationTemplatesRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListResiliencyPoliciesResult listResiliencyPolicies(ListResiliencyPoliciesRequest request)
Lists the resiliency policies for the Resilience Hub applications.
listResiliencyPolicies in interface AWSResilienceHublistResiliencyPoliciesRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListSopRecommendationsResult listSopRecommendations(ListSopRecommendationsRequest request)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
listSopRecommendations in interface AWSResilienceHublistSopRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListSuggestedResiliencyPoliciesResult listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest request)
Lists the suggested resiliency policies for the Resilience Hub applications.
listSuggestedResiliencyPolicies in interface AWSResilienceHublistSuggestedResiliencyPoliciesRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for your resources in your Resilience Hub applications.
listTagsForResource in interface AWSResilienceHublistTagsForResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListTestRecommendationsResult listTestRecommendations(ListTestRecommendationsRequest request)
Lists the test recommendations for the Resilience Hub application.
listTestRecommendations in interface AWSResilienceHublistTestRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListUnsupportedAppVersionResourcesResult listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest request)
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.
listUnsupportedAppVersionResources in interface AWSResilienceHublistUnsupportedAppVersionResourcesRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public PublishAppVersionResult publishAppVersion(PublishAppVersionRequest request)
Publishes a new version of a specific Resilience Hub application.
publishAppVersion in interface AWSResilienceHubpublishAppVersionRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public PutDraftAppVersionTemplateResult putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest request)
Adds or updates the app template for an Resilience Hub application draft version.
putDraftAppVersionTemplate in interface AWSResilienceHubputDraftAppVersionTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public RemoveDraftAppVersionResourceMappingsResult removeDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest request)
Removes resource mappings from a draft application version.
removeDraftAppVersionResourceMappings in interface AWSResilienceHubremoveDraftAppVersionResourceMappingsRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ResolveAppVersionResourcesResult resolveAppVersionResources(ResolveAppVersionResourcesRequest request)
Resolves the resources for an application version.
resolveAppVersionResources in interface AWSResilienceHubresolveAppVersionResourcesRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public StartAppAssessmentResult startAppAssessment(StartAppAssessmentRequest request)
Creates a new application assessment for an application.
startAppAssessment in interface AWSResilienceHubstartAppAssessmentRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException - This exception occurs when you have exceeded your service quota. To perform the requested action, remove
some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public TagResourceResult tagResource(TagResourceRequest request)
Applies one or more tags to a resource.
tagResource in interface AWSResilienceHubtagResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes one or more tags from a resource.
untagResource in interface AWSResilienceHubuntagResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UpdateAppResult updateApp(UpdateAppRequest request)
Updates an application.
updateApp in interface AWSResilienceHubupdateAppRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UpdateAppVersionResult updateAppVersion(UpdateAppVersionRequest request)
Updates the Resilience Hub application version.
This API updates the Resilience Hub application draft version. To use this information for running resiliency
assessments, you must publish the Resilience Hub application using the PublishAppVersion API.
updateAppVersion in interface AWSResilienceHubupdateAppVersionRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UpdateAppVersionAppComponentResult updateAppVersionAppComponent(UpdateAppVersionAppComponentRequest request)
Updates an existing Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running
assessments, you must publish the Resilience Hub application using the PublishAppVersion API.
updateAppVersionAppComponent in interface AWSResilienceHubupdateAppVersionAppComponentRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UpdateAppVersionResourceResult updateAppVersionResource(UpdateAppVersionResourceRequest request)
Updates the resource details in the Resilience Hub application.
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.
To update application version with new physicalResourceID, you must call
ResolveAppVersionResources API.
updateAppVersionResource in interface AWSResilienceHubupdateAppVersionResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException - This exception occurs when you have exceeded your service quota. To perform the requested action, remove
some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UpdateResiliencyPolicyResult updateResiliencyPolicy(UpdateResiliencyPolicyRequest request)
Updates a resiliency policy.
Resilience Hub allows you to provide a value of zero for 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.
updateResiliencyPolicy in interface AWSResilienceHubupdateResiliencyPolicyRequest - InternalServerException - This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException - This exception occurs when the specified resource could not be found.ConflictException - This exception occurs when a conflict with a previous successful write is detected. This generally occurs
when the previous write did not have time to propagate to the host serving the current request. A retry
(with appropriate backoff logic) is the recommended response to this exception.ThrottlingException - This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException - This exception occurs when a request is not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSResilienceHubrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSResilienceHubshutdown in class AmazonWebServiceClient