@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSResilienceHubClient extends AmazonWebServiceClient implements AWSResilienceHub
AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. Resilience Hub offers continuous 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.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetprotected static final ClientConfigurationFactory configFactory
public static AWSResilienceHubClientBuilder builder()
public AddDraftAppVersionResourceMappingsResult addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest request)
Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.
addDraftAppVersionResourceMappings in interface AWSResilienceHubaddDraftAppVersionResourceMappingsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 CreateAppResult createApp(CreateAppRequest request)
Creates an AWS Resilience Hub application. An AWS Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a AWS Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.
After you create an AWS 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 AWS 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 AWS Resilience Hub application.
This API updates the AWS Resilience Hub application draft version. To use this Application Component for running
assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.
createAppVersionAppComponent in interface AWSResilienceHubcreateAppVersionAppComponentRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub applicationand assigns it to the specified Application Components. If you specify a new Application Component, AWS Resilience Hub will automatically create the Application Component.
This action has no effect outside AWS Resilience Hub.
This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency
assessments, you must publish the AWS 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 AWS 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 AWS Resilience Hub application.
createRecommendationTemplate in interface AWSResilienceHubcreateRecommendationTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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.
createResiliencyPolicy in interface AWSResilienceHubcreateResiliencyPolicyRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS Resilience Hub application.
deleteAppInputSource in interface AWSResilienceHubdeleteAppInputSourceRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application.
This API updates the AWS Resilience Hub application draft version. To use this Application Component for running
assessments, you must publish the AWS 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 AWS 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 AWS 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 AWS Resilience Hub.
This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency
assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.
deleteAppVersionResource in interface AWSResilienceHubdeleteAppVersionResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS 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 AWS 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 AWS Resilience Hub application.
describeApp in interface AWSResilienceHubdescribeAppRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application.
describeAppAssessment in interface AWSResilienceHubdescribeAppAssessmentRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application version.
describeAppVersion in interface AWSResilienceHubdescribeAppVersionRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application.
describeAppVersionAppComponent in interface AWSResilienceHubdescribeAppVersionAppComponentRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS 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 AWS 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 AWS 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 AWS Resilience Hub application.
describeAppVersionTemplate in interface AWSResilienceHubdescribeAppVersionTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS 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 AWS 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 AWS 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 AWS Resilience Hub application draft version from different input sources. For more information about the input sources supported by AWS 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 AWS 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 ListAlarmRecommendationsResult listAlarmRecommendations(ListAlarmRecommendationsRequest request)
Lists the alarm recommendations for an AWS Resilience Hub application.
listAlarmRecommendations in interface AWSResilienceHublistAlarmRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 ListAppAssessmentsResult listAppAssessments(ListAppAssessmentsRequest request)
Lists the assessments for an AWS 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 AWS 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 AWS Resilience Hub Application Component.
listAppComponentCompliances in interface AWSResilienceHublistAppComponentCompliancesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub Application Component.
listAppComponentRecommendations in interface AWSResilienceHublistAppComponentRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application. For more information about the input sources supported by AWS 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 AWS 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 AWS Resilience Hub application.
listAppVersionAppComponents in interface AWSResilienceHublistAppVersionAppComponentsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS 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 AWS Resilience Hub application.
listAppVersionResources in interface AWSResilienceHublistAppVersionResourcesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub applications.
listAppVersions in interface AWSResilienceHublistAppVersionsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS 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 AWS 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 AWS Resilience Hub applications.
listRecommendationTemplates in interface AWSResilienceHublistRecommendationTemplatesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub applications.
listResiliencyPolicies in interface AWSResilienceHublistResiliencyPoliciesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub applications.
listSopRecommendations in interface AWSResilienceHublistSopRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub applications.
listSuggestedResiliencyPolicies in interface AWSResilienceHublistSuggestedResiliencyPoliciesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub applications.
listTagsForResource in interface AWSResilienceHublistTagsForResourceRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application.
listTestRecommendations in interface AWSResilienceHublistTestRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS 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 AWS Resilience Hub.
listUnsupportedAppVersionResources in interface AWSResilienceHublistUnsupportedAppVersionResourcesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application.
publishAppVersion in interface AWSResilienceHubpublishAppVersionRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application draft version.
putDraftAppVersionTemplate in interface AWSResilienceHubputDraftAppVersionTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS Resilience Hub application version.
This API updates the AWS Resilience Hub application draft version. To use this information for running resiliency
assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.
updateAppVersion in interface AWSResilienceHubupdateAppVersionRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application.
This API updates the AWS Resilience Hub application draft version. To use this Application Component for running
assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.
updateAppVersionAppComponent in interface AWSResilienceHubupdateAppVersionAppComponentRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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 AWS Resilience Hub application.
This action has no effect outside AWS Resilience Hub.
This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency
assessments, you must publish the AWS 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 AWS 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.
updateResiliencyPolicy in interface AWSResilienceHubupdateResiliencyPolicyRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS 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()
AWSResilienceHubshutdown in interface AWSResilienceHubshutdown in class AmazonWebServiceClientCopyright © 2023. All rights reserved.