@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSResilienceHubAsyncClient extends AWSResilienceHubClient implements AWSResilienceHubAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addDraftAppVersionResourceMappings, builder, createApp, createRecommendationTemplate, createResiliencyPolicy, deleteApp, deleteAppAssessment, deleteRecommendationTemplate, deleteResiliencyPolicy, describeApp, describeAppAssessment, describeAppVersionResourcesResolutionStatus, describeAppVersionTemplate, describeDraftAppVersionResourcesImportStatus, describeResiliencyPolicy, getCachedResponseMetadata, importResourcesToDraftAppVersion, listAlarmRecommendations, listAppAssessments, listAppComponentCompliances, listAppComponentRecommendations, listApps, listAppVersionResourceMappings, listAppVersionResources, listAppVersions, listRecommendationTemplates, listResiliencyPolicies, listSopRecommendations, listSuggestedResiliencyPolicies, listTagsForResource, listTestRecommendations, listUnsupportedAppVersionResources, publishAppVersion, putDraftAppVersionTemplate, removeDraftAppVersionResourceMappings, resolveAppVersionResources, startAppAssessment, tagResource, untagResource, updateApp, updateResiliencyPolicy
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDraftAppVersionResourceMappings, createApp, createRecommendationTemplate, createResiliencyPolicy, deleteApp, deleteAppAssessment, deleteRecommendationTemplate, deleteResiliencyPolicy, describeApp, describeAppAssessment, describeAppVersionResourcesResolutionStatus, describeAppVersionTemplate, describeDraftAppVersionResourcesImportStatus, describeResiliencyPolicy, getCachedResponseMetadata, importResourcesToDraftAppVersion, listAlarmRecommendations, listAppAssessments, listAppComponentCompliances, listAppComponentRecommendations, listApps, listAppVersionResourceMappings, listAppVersionResources, listAppVersions, listRecommendationTemplates, listResiliencyPolicies, listSopRecommendations, listSuggestedResiliencyPolicies, listTagsForResource, listTestRecommendations, listUnsupportedAppVersionResources, publishAppVersion, putDraftAppVersionTemplate, removeDraftAppVersionResourceMappings, resolveAppVersionResources, startAppAssessment, tagResource, untagResource, updateApp, updateResiliencyPolicy
public static AWSResilienceHubAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddDraftAppVersionResourceMappingsResult> addDraftAppVersionResourceMappingsAsync(AddDraftAppVersionResourceMappingsRequest request)
AWSResilienceHubAsync
Adds the resource mapping for the draft application version.
addDraftAppVersionResourceMappingsAsync
in interface AWSResilienceHubAsync
public Future<AddDraftAppVersionResourceMappingsResult> addDraftAppVersionResourceMappingsAsync(AddDraftAppVersionResourceMappingsRequest request, AsyncHandler<AddDraftAppVersionResourceMappingsRequest,AddDraftAppVersionResourceMappingsResult> asyncHandler)
AWSResilienceHubAsync
Adds the resource mapping for the draft application version.
addDraftAppVersionResourceMappingsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateAppResult> createAppAsync(CreateAppRequest request)
AWSResilienceHubAsync
Creates a Resilience Hub application. A 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–up to five–CloudFormation stacks, and an appropriate resiliency policy.
<p>After you create a 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).</p>
createAppAsync
in interface AWSResilienceHubAsync
public Future<CreateAppResult> createAppAsync(CreateAppRequest request, AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler)
AWSResilienceHubAsync
Creates a Resilience Hub application. A 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–up to five–CloudFormation stacks, and an appropriate resiliency policy.
<p>After you create a 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).</p>
createAppAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRecommendationTemplateResult> createRecommendationTemplateAsync(CreateRecommendationTemplateRequest request)
AWSResilienceHubAsync
Creates a new recommendation template.
createRecommendationTemplateAsync
in interface AWSResilienceHubAsync
public Future<CreateRecommendationTemplateResult> createRecommendationTemplateAsync(CreateRecommendationTemplateRequest request, AsyncHandler<CreateRecommendationTemplateRequest,CreateRecommendationTemplateResult> asyncHandler)
AWSResilienceHubAsync
Creates a new recommendation template.
createRecommendationTemplateAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateResiliencyPolicyResult> createResiliencyPolicyAsync(CreateResiliencyPolicyRequest request)
AWSResilienceHubAsync
Creates a resiliency policy for an application.
createResiliencyPolicyAsync
in interface AWSResilienceHubAsync
public Future<CreateResiliencyPolicyResult> createResiliencyPolicyAsync(CreateResiliencyPolicyRequest request, AsyncHandler<CreateResiliencyPolicyRequest,CreateResiliencyPolicyResult> asyncHandler)
AWSResilienceHubAsync
Creates a resiliency policy for an application.
createResiliencyPolicyAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request)
AWSResilienceHubAsync
Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.
deleteAppAsync
in interface AWSResilienceHubAsync
public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request, AsyncHandler<DeleteAppRequest,DeleteAppResult> asyncHandler)
AWSResilienceHubAsync
Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.
deleteAppAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAppAssessmentResult> deleteAppAssessmentAsync(DeleteAppAssessmentRequest request)
AWSResilienceHubAsync
Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone.
deleteAppAssessmentAsync
in interface AWSResilienceHubAsync
public Future<DeleteAppAssessmentResult> deleteAppAssessmentAsync(DeleteAppAssessmentRequest request, AsyncHandler<DeleteAppAssessmentRequest,DeleteAppAssessmentResult> asyncHandler)
AWSResilienceHubAsync
Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone.
deleteAppAssessmentAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRecommendationTemplateResult> deleteRecommendationTemplateAsync(DeleteRecommendationTemplateRequest request)
AWSResilienceHubAsync
Deletes a recommendation template. This is a destructive action that can't be undone.
deleteRecommendationTemplateAsync
in interface AWSResilienceHubAsync
public Future<DeleteRecommendationTemplateResult> deleteRecommendationTemplateAsync(DeleteRecommendationTemplateRequest request, AsyncHandler<DeleteRecommendationTemplateRequest,DeleteRecommendationTemplateResult> asyncHandler)
AWSResilienceHubAsync
Deletes a recommendation template. This is a destructive action that can't be undone.
deleteRecommendationTemplateAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResiliencyPolicyResult> deleteResiliencyPolicyAsync(DeleteResiliencyPolicyRequest request)
AWSResilienceHubAsync
Deletes a resiliency policy. This is a destructive action that can't be undone.
deleteResiliencyPolicyAsync
in interface AWSResilienceHubAsync
public Future<DeleteResiliencyPolicyResult> deleteResiliencyPolicyAsync(DeleteResiliencyPolicyRequest request, AsyncHandler<DeleteResiliencyPolicyRequest,DeleteResiliencyPolicyResult> asyncHandler)
AWSResilienceHubAsync
Deletes a resiliency policy. This is a destructive action that can't be undone.
deleteResiliencyPolicyAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAppResult> describeAppAsync(DescribeAppRequest request)
AWSResilienceHubAsync
Describes an AWS Resilience Hub application.
describeAppAsync
in interface AWSResilienceHubAsync
public Future<DescribeAppResult> describeAppAsync(DescribeAppRequest request, AsyncHandler<DescribeAppRequest,DescribeAppResult> asyncHandler)
AWSResilienceHubAsync
Describes an AWS Resilience Hub application.
describeAppAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAppAssessmentResult> describeAppAssessmentAsync(DescribeAppAssessmentRequest request)
AWSResilienceHubAsync
Describes an assessment for an AWS Resilience Hub application.
describeAppAssessmentAsync
in interface AWSResilienceHubAsync
public Future<DescribeAppAssessmentResult> describeAppAssessmentAsync(DescribeAppAssessmentRequest request, AsyncHandler<DescribeAppAssessmentRequest,DescribeAppAssessmentResult> asyncHandler)
AWSResilienceHubAsync
Describes an assessment for an AWS Resilience Hub application.
describeAppAssessmentAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAppVersionResourcesResolutionStatusResult> describeAppVersionResourcesResolutionStatusAsync(DescribeAppVersionResourcesResolutionStatusRequest request)
AWSResilienceHubAsync
Returns the resolution status for the specified resolution identifier for an application version. If
resolutionId
is not specified, the current resolution status is returned.
describeAppVersionResourcesResolutionStatusAsync
in interface AWSResilienceHubAsync
public Future<DescribeAppVersionResourcesResolutionStatusResult> describeAppVersionResourcesResolutionStatusAsync(DescribeAppVersionResourcesResolutionStatusRequest request, AsyncHandler<DescribeAppVersionResourcesResolutionStatusRequest,DescribeAppVersionResourcesResolutionStatusResult> asyncHandler)
AWSResilienceHubAsync
Returns the resolution status for the specified resolution identifier for an application version. If
resolutionId
is not specified, the current resolution status is returned.
describeAppVersionResourcesResolutionStatusAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAppVersionTemplateResult> describeAppVersionTemplateAsync(DescribeAppVersionTemplateRequest request)
AWSResilienceHubAsync
Describes details about an AWS Resilience Hub
describeAppVersionTemplateAsync
in interface AWSResilienceHubAsync
public Future<DescribeAppVersionTemplateResult> describeAppVersionTemplateAsync(DescribeAppVersionTemplateRequest request, AsyncHandler<DescribeAppVersionTemplateRequest,DescribeAppVersionTemplateResult> asyncHandler)
AWSResilienceHubAsync
Describes details about an AWS Resilience Hub
describeAppVersionTemplateAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDraftAppVersionResourcesImportStatusResult> describeDraftAppVersionResourcesImportStatusAsync(DescribeDraftAppVersionResourcesImportStatusRequest request)
AWSResilienceHubAsync
Describes the status of importing resources to an application version.
describeDraftAppVersionResourcesImportStatusAsync
in interface AWSResilienceHubAsync
public Future<DescribeDraftAppVersionResourcesImportStatusResult> describeDraftAppVersionResourcesImportStatusAsync(DescribeDraftAppVersionResourcesImportStatusRequest request, AsyncHandler<DescribeDraftAppVersionResourcesImportStatusRequest,DescribeDraftAppVersionResourcesImportStatusResult> asyncHandler)
AWSResilienceHubAsync
Describes the status of importing resources to an application version.
describeDraftAppVersionResourcesImportStatusAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeResiliencyPolicyResult> describeResiliencyPolicyAsync(DescribeResiliencyPolicyRequest request)
AWSResilienceHubAsync
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.
describeResiliencyPolicyAsync
in interface AWSResilienceHubAsync
public Future<DescribeResiliencyPolicyResult> describeResiliencyPolicyAsync(DescribeResiliencyPolicyRequest request, AsyncHandler<DescribeResiliencyPolicyRequest,DescribeResiliencyPolicyResult> asyncHandler)
AWSResilienceHubAsync
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.
describeResiliencyPolicyAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ImportResourcesToDraftAppVersionResult> importResourcesToDraftAppVersionAsync(ImportResourcesToDraftAppVersionRequest request)
AWSResilienceHubAsync
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.
importResourcesToDraftAppVersionAsync
in interface AWSResilienceHubAsync
public Future<ImportResourcesToDraftAppVersionResult> importResourcesToDraftAppVersionAsync(ImportResourcesToDraftAppVersionRequest request, AsyncHandler<ImportResourcesToDraftAppVersionRequest,ImportResourcesToDraftAppVersionResult> asyncHandler)
AWSResilienceHubAsync
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.
importResourcesToDraftAppVersionAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAlarmRecommendationsResult> listAlarmRecommendationsAsync(ListAlarmRecommendationsRequest request)
AWSResilienceHubAsync
Lists the alarm recommendations for a AWS Resilience Hub application.
listAlarmRecommendationsAsync
in interface AWSResilienceHubAsync
public Future<ListAlarmRecommendationsResult> listAlarmRecommendationsAsync(ListAlarmRecommendationsRequest request, AsyncHandler<ListAlarmRecommendationsRequest,ListAlarmRecommendationsResult> asyncHandler)
AWSResilienceHubAsync
Lists the alarm recommendations for a AWS Resilience Hub application.
listAlarmRecommendationsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppAssessmentsResult> listAppAssessmentsAsync(ListAppAssessmentsRequest request)
AWSResilienceHubAsync
Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
listAppAssessmentsAsync
in interface AWSResilienceHubAsync
public Future<ListAppAssessmentsResult> listAppAssessmentsAsync(ListAppAssessmentsRequest request, AsyncHandler<ListAppAssessmentsRequest,ListAppAssessmentsResult> asyncHandler)
AWSResilienceHubAsync
Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
listAppAssessmentsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppComponentCompliancesResult> listAppComponentCompliancesAsync(ListAppComponentCompliancesRequest request)
AWSResilienceHubAsync
Lists the compliances for an AWS Resilience Hub component.
listAppComponentCompliancesAsync
in interface AWSResilienceHubAsync
public Future<ListAppComponentCompliancesResult> listAppComponentCompliancesAsync(ListAppComponentCompliancesRequest request, AsyncHandler<ListAppComponentCompliancesRequest,ListAppComponentCompliancesResult> asyncHandler)
AWSResilienceHubAsync
Lists the compliances for an AWS Resilience Hub component.
listAppComponentCompliancesAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppComponentRecommendationsResult> listAppComponentRecommendationsAsync(ListAppComponentRecommendationsRequest request)
AWSResilienceHubAsync
Lists the recommendations for an AWS Resilience Hub component.
listAppComponentRecommendationsAsync
in interface AWSResilienceHubAsync
public Future<ListAppComponentRecommendationsResult> listAppComponentRecommendationsAsync(ListAppComponentRecommendationsRequest request, AsyncHandler<ListAppComponentRecommendationsRequest,ListAppComponentRecommendationsResult> asyncHandler)
AWSResilienceHubAsync
Lists the recommendations for an AWS Resilience Hub component.
listAppComponentRecommendationsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppVersionResourceMappingsResult> listAppVersionResourceMappingsAsync(ListAppVersionResourceMappingsRequest request)
AWSResilienceHubAsync
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.
listAppVersionResourceMappingsAsync
in interface AWSResilienceHubAsync
public Future<ListAppVersionResourceMappingsResult> listAppVersionResourceMappingsAsync(ListAppVersionResourceMappingsRequest request, AsyncHandler<ListAppVersionResourceMappingsRequest,ListAppVersionResourceMappingsResult> asyncHandler)
AWSResilienceHubAsync
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.
listAppVersionResourceMappingsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppVersionResourcesResult> listAppVersionResourcesAsync(ListAppVersionResourcesRequest request)
AWSResilienceHubAsync
Lists all the resources in an application version.
listAppVersionResourcesAsync
in interface AWSResilienceHubAsync
public Future<ListAppVersionResourcesResult> listAppVersionResourcesAsync(ListAppVersionResourcesRequest request, AsyncHandler<ListAppVersionResourcesRequest,ListAppVersionResourcesResult> asyncHandler)
AWSResilienceHubAsync
Lists all the resources in an application version.
listAppVersionResourcesAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppVersionsResult> listAppVersionsAsync(ListAppVersionsRequest request)
AWSResilienceHubAsync
Lists the different versions for the Resilience Hub applications.
listAppVersionsAsync
in interface AWSResilienceHubAsync
public Future<ListAppVersionsResult> listAppVersionsAsync(ListAppVersionsRequest request, AsyncHandler<ListAppVersionsRequest,ListAppVersionsResult> asyncHandler)
AWSResilienceHubAsync
Lists the different versions for the Resilience Hub applications.
listAppVersionsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppsResult> listAppsAsync(ListAppsRequest request)
AWSResilienceHubAsync
Lists your Resilience Hub applications.
listAppsAsync
in interface AWSResilienceHubAsync
public Future<ListAppsResult> listAppsAsync(ListAppsRequest request, AsyncHandler<ListAppsRequest,ListAppsResult> asyncHandler)
AWSResilienceHubAsync
Lists your Resilience Hub applications.
listAppsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRecommendationTemplatesResult> listRecommendationTemplatesAsync(ListRecommendationTemplatesRequest request)
AWSResilienceHubAsync
Lists the recommendation templates for the Resilience Hub applications.
listRecommendationTemplatesAsync
in interface AWSResilienceHubAsync
public Future<ListRecommendationTemplatesResult> listRecommendationTemplatesAsync(ListRecommendationTemplatesRequest request, AsyncHandler<ListRecommendationTemplatesRequest,ListRecommendationTemplatesResult> asyncHandler)
AWSResilienceHubAsync
Lists the recommendation templates for the Resilience Hub applications.
listRecommendationTemplatesAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListResiliencyPoliciesResult> listResiliencyPoliciesAsync(ListResiliencyPoliciesRequest request)
AWSResilienceHubAsync
Lists the resiliency policies for the Resilience Hub applications.
listResiliencyPoliciesAsync
in interface AWSResilienceHubAsync
public Future<ListResiliencyPoliciesResult> listResiliencyPoliciesAsync(ListResiliencyPoliciesRequest request, AsyncHandler<ListResiliencyPoliciesRequest,ListResiliencyPoliciesResult> asyncHandler)
AWSResilienceHubAsync
Lists the resiliency policies for the Resilience Hub applications.
listResiliencyPoliciesAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSopRecommendationsResult> listSopRecommendationsAsync(ListSopRecommendationsRequest request)
AWSResilienceHubAsync
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
listSopRecommendationsAsync
in interface AWSResilienceHubAsync
public Future<ListSopRecommendationsResult> listSopRecommendationsAsync(ListSopRecommendationsRequest request, AsyncHandler<ListSopRecommendationsRequest,ListSopRecommendationsResult> asyncHandler)
AWSResilienceHubAsync
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
listSopRecommendationsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSuggestedResiliencyPoliciesResult> listSuggestedResiliencyPoliciesAsync(ListSuggestedResiliencyPoliciesRequest request)
AWSResilienceHubAsync
Lists the suggested resiliency policies for the Resilience Hub applications.
listSuggestedResiliencyPoliciesAsync
in interface AWSResilienceHubAsync
public Future<ListSuggestedResiliencyPoliciesResult> listSuggestedResiliencyPoliciesAsync(ListSuggestedResiliencyPoliciesRequest request, AsyncHandler<ListSuggestedResiliencyPoliciesRequest,ListSuggestedResiliencyPoliciesResult> asyncHandler)
AWSResilienceHubAsync
Lists the suggested resiliency policies for the Resilience Hub applications.
listSuggestedResiliencyPoliciesAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSResilienceHubAsync
Lists the tags for your resources in your Resilience Hub applications.
listTagsForResourceAsync
in interface AWSResilienceHubAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSResilienceHubAsync
Lists the tags for your resources in your Resilience Hub applications.
listTagsForResourceAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTestRecommendationsResult> listTestRecommendationsAsync(ListTestRecommendationsRequest request)
AWSResilienceHubAsync
Lists the test recommendations for the Resilience Hub application.
listTestRecommendationsAsync
in interface AWSResilienceHubAsync
public Future<ListTestRecommendationsResult> listTestRecommendationsAsync(ListTestRecommendationsRequest request, AsyncHandler<ListTestRecommendationsRequest,ListTestRecommendationsResult> asyncHandler)
AWSResilienceHubAsync
Lists the test recommendations for the Resilience Hub application.
listTestRecommendationsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListUnsupportedAppVersionResourcesResult> listUnsupportedAppVersionResourcesAsync(ListUnsupportedAppVersionResourcesRequest request)
AWSResilienceHubAsync
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 Resilience Hub.
listUnsupportedAppVersionResourcesAsync
in interface AWSResilienceHubAsync
public Future<ListUnsupportedAppVersionResourcesResult> listUnsupportedAppVersionResourcesAsync(ListUnsupportedAppVersionResourcesRequest request, AsyncHandler<ListUnsupportedAppVersionResourcesRequest,ListUnsupportedAppVersionResourcesResult> asyncHandler)
AWSResilienceHubAsync
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 Resilience Hub.
listUnsupportedAppVersionResourcesAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PublishAppVersionResult> publishAppVersionAsync(PublishAppVersionRequest request)
AWSResilienceHubAsync
Publishes a new version of a specific Resilience Hub application.
publishAppVersionAsync
in interface AWSResilienceHubAsync
public Future<PublishAppVersionResult> publishAppVersionAsync(PublishAppVersionRequest request, AsyncHandler<PublishAppVersionRequest,PublishAppVersionResult> asyncHandler)
AWSResilienceHubAsync
Publishes a new version of a specific Resilience Hub application.
publishAppVersionAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutDraftAppVersionTemplateResult> putDraftAppVersionTemplateAsync(PutDraftAppVersionTemplateRequest request)
AWSResilienceHubAsync
Adds or updates the app template for a draft version of a Resilience Hub app.
putDraftAppVersionTemplateAsync
in interface AWSResilienceHubAsync
public Future<PutDraftAppVersionTemplateResult> putDraftAppVersionTemplateAsync(PutDraftAppVersionTemplateRequest request, AsyncHandler<PutDraftAppVersionTemplateRequest,PutDraftAppVersionTemplateResult> asyncHandler)
AWSResilienceHubAsync
Adds or updates the app template for a draft version of a Resilience Hub app.
putDraftAppVersionTemplateAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveDraftAppVersionResourceMappingsResult> removeDraftAppVersionResourceMappingsAsync(RemoveDraftAppVersionResourceMappingsRequest request)
AWSResilienceHubAsync
Removes resource mappings from a draft application version.
removeDraftAppVersionResourceMappingsAsync
in interface AWSResilienceHubAsync
public Future<RemoveDraftAppVersionResourceMappingsResult> removeDraftAppVersionResourceMappingsAsync(RemoveDraftAppVersionResourceMappingsRequest request, AsyncHandler<RemoveDraftAppVersionResourceMappingsRequest,RemoveDraftAppVersionResourceMappingsResult> asyncHandler)
AWSResilienceHubAsync
Removes resource mappings from a draft application version.
removeDraftAppVersionResourceMappingsAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ResolveAppVersionResourcesResult> resolveAppVersionResourcesAsync(ResolveAppVersionResourcesRequest request)
AWSResilienceHubAsync
Resolves the resources for an application version.
resolveAppVersionResourcesAsync
in interface AWSResilienceHubAsync
public Future<ResolveAppVersionResourcesResult> resolveAppVersionResourcesAsync(ResolveAppVersionResourcesRequest request, AsyncHandler<ResolveAppVersionResourcesRequest,ResolveAppVersionResourcesResult> asyncHandler)
AWSResilienceHubAsync
Resolves the resources for an application version.
resolveAppVersionResourcesAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartAppAssessmentResult> startAppAssessmentAsync(StartAppAssessmentRequest request)
AWSResilienceHubAsync
Creates a new application assessment for an application.
startAppAssessmentAsync
in interface AWSResilienceHubAsync
public Future<StartAppAssessmentResult> startAppAssessmentAsync(StartAppAssessmentRequest request, AsyncHandler<StartAppAssessmentRequest,StartAppAssessmentResult> asyncHandler)
AWSResilienceHubAsync
Creates a new application assessment for an application.
startAppAssessmentAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSResilienceHubAsync
Applies one or more tags to a resource.
tagResourceAsync
in interface AWSResilienceHubAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSResilienceHubAsync
Applies one or more tags to a resource.
tagResourceAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSResilienceHubAsync
Removes one or more tags from a resource.
untagResourceAsync
in interface AWSResilienceHubAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSResilienceHubAsync
Removes one or more tags from a resource.
untagResourceAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateAppResult> updateAppAsync(UpdateAppRequest request)
AWSResilienceHubAsync
Updates an application.
updateAppAsync
in interface AWSResilienceHubAsync
public Future<UpdateAppResult> updateAppAsync(UpdateAppRequest request, AsyncHandler<UpdateAppRequest,UpdateAppResult> asyncHandler)
AWSResilienceHubAsync
Updates an application.
updateAppAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateResiliencyPolicyResult> updateResiliencyPolicyAsync(UpdateResiliencyPolicyRequest request)
AWSResilienceHubAsync
Updates a resiliency policy.
updateResiliencyPolicyAsync
in interface AWSResilienceHubAsync
public Future<UpdateResiliencyPolicyResult> updateResiliencyPolicyAsync(UpdateResiliencyPolicyRequest request, AsyncHandler<UpdateResiliencyPolicyRequest,UpdateResiliencyPolicyResult> asyncHandler)
AWSResilienceHubAsync
Updates a resiliency policy.
updateResiliencyPolicyAsync
in interface AWSResilienceHubAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSResilienceHub
shutdown
in class AWSResilienceHubClient