All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.resiliencehub.AWSResilienceHub Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Resilience Hub module holds the client classes that are used for communicating with AWS Resilience Hub Service

The newest version!
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.resiliencehub;

import javax.annotation.Generated;

import com.amazonaws.*;
import com.amazonaws.regions.*;

import com.amazonaws.services.resiliencehub.model.*;

/**
 * Interface for accessing AWS Resilience Hub.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.resiliencehub.AbstractAWSResilienceHub} instead. *

*

*

* Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. It * offers continual resiliency assessment and validation that integrates into your software development lifecycle. This * enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) * targets for your applications are met, and resolve issues before they are released into production. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSResilienceHub { /** * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata * (such as supported regions) of the service. * * @see RegionUtils#getRegionsForService(String) */ String ENDPOINT_PREFIX = "resiliencehub"; /** *

* Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will * use these resource-maps to resolve the latest physical ID for each resource in the application template. For more * information about different types of resources suported by Resilience Hub and how to add them in your * application, see Step * 2: How is your application managed? in the Resilience Hub User Guide. *

* * @param addDraftAppVersionResourceMappingsRequest * @return Result of the AddDraftAppVersionResourceMappings operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.AddDraftAppVersionResourceMappings * @see AWS API Documentation */ AddDraftAppVersionResourceMappingsResult addDraftAppVersionResourceMappings( AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest); /** *

* Enables you to include or exclude one or more operational recommendations. *

* * @param batchUpdateRecommendationStatusRequest * @return Result of the BatchUpdateRecommendationStatus operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.BatchUpdateRecommendationStatus * @see AWS API Documentation */ BatchUpdateRecommendationStatusResult batchUpdateRecommendationStatus(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest); /** *

* Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services * resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience * Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource * Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you * can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional * resources. For more information about the number of resources supported per application, see Service quotas. *

*

* After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. * You can then use recommendations from the assessment to improve resiliency by running another assessment, * comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) * and recovery point objective (RPO). *

* * @param createAppRequest * @return Result of the CreateApp operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.CreateApp * @see AWS API * Documentation */ CreateAppResult createApp(CreateAppRequest createAppRequest); /** *

* Creates a new Application Component in the Resilience Hub application. *

* *

* This API updates the Resilience Hub application draft version. To use this Application Component for running * assessments, you must publish the Resilience Hub application using the PublishAppVersion API. *

*
* * @param createAppVersionAppComponentRequest * @return Result of the CreateAppVersionAppComponent operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.CreateAppVersionAppComponent * @see AWS API Documentation */ CreateAppVersionAppComponentResult createAppVersionAppComponent(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest); /** *

* Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you * specify a new Application Component, Resilience Hub will automatically create the Application Component. *

* *
    *
  • *

    * This action has no effect outside Resilience Hub. *

    *
  • *
  • *

    * This API updates the Resilience Hub application draft version. To use this resource for running resiliency * assessments, you must publish the Resilience Hub application using the PublishAppVersion API. *

    *
  • *
  • *

    * To update application version with new physicalResourceID, you must call * ResolveAppVersionResources API. *

    *
  • *
*
* * @param createAppVersionResourceRequest * @return Result of the CreateAppVersionResource operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.CreateAppVersionResource * @see AWS API Documentation */ CreateAppVersionResourceResult createAppVersionResource(CreateAppVersionResourceRequest createAppVersionResourceRequest); /** *

* Creates a new recommendation template for the Resilience Hub application. *

* * @param createRecommendationTemplateRequest * @return Result of the CreateRecommendationTemplate operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.CreateRecommendationTemplate * @see AWS API Documentation */ CreateRecommendationTemplateResult createRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest); /** *

* Creates a resiliency policy for an application. *

* *

* Resilience Hub allows you to provide a value of zero for rtoInSecs and rpoInSecs of * your resiliency policy. But, while assessing your application, the lowest possible assessment result is near * zero. Hence, if you provide value zero for rtoInSecs and rpoInSecs, the estimated * workload RTO and estimated workload RPO result will be near zero and the Compliance status for your * application will be set to Policy breached. *

*
* * @param createResiliencyPolicyRequest * @return Result of the CreateResiliencyPolicy operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws 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. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.CreateResiliencyPolicy * @see AWS API Documentation */ CreateResiliencyPolicyResult createResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest); /** *

* Deletes an Resilience Hub application. This is a destructive action that can't be undone. *

* * @param deleteAppRequest * @return Result of the DeleteApp operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @sample AWSResilienceHub.DeleteApp * @see AWS API * Documentation */ DeleteAppResult deleteApp(DeleteAppRequest deleteAppRequest); /** *

* Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone. *

* * @param deleteAppAssessmentRequest * @return Result of the DeleteAppAssessment operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DeleteAppAssessment * @see AWS API Documentation */ DeleteAppAssessmentResult deleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest); /** *

* Deletes the input source and all of its imported resources from the Resilience Hub application. *

* * @param deleteAppInputSourceRequest * @return Result of the DeleteAppInputSource operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DeleteAppInputSource * @see AWS API Documentation */ DeleteAppInputSourceResult deleteAppInputSource(DeleteAppInputSourceRequest deleteAppInputSourceRequest); /** *

* Deletes an Application Component from the Resilience Hub application. *

* *
    *
  • *

    * This API updates the Resilience Hub application draft version. To use this Application Component for running * assessments, you must publish the Resilience Hub application using the PublishAppVersion API. *

    *
  • *
  • *

    * You will not be able to delete an Application Component if it has resources associated with it. *

    *
  • *
*
* * @param deleteAppVersionAppComponentRequest * @return Result of the DeleteAppVersionAppComponent operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DeleteAppVersionAppComponent * @see AWS API Documentation */ DeleteAppVersionAppComponentResult deleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest); /** *

* Deletes a resource from the Resilience Hub application. *

* *
    *
  • *

    * You can only delete a manually added resource. To exclude non-manually added resources, use the * UpdateAppVersionResource API. *

    *
  • *
  • *

    * This action has no effect outside Resilience Hub. *

    *
  • *
  • *

    * This API updates the Resilience Hub application draft version. To use this resource for running resiliency * assessments, you must publish the Resilience Hub application using the PublishAppVersion API. *

    *
  • *
*
* * @param deleteAppVersionResourceRequest * @return Result of the DeleteAppVersionResource operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DeleteAppVersionResource * @see AWS API Documentation */ DeleteAppVersionResourceResult deleteAppVersionResource(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest); /** *

* Deletes a recommendation template. This is a destructive action that can't be undone. *

* * @param deleteRecommendationTemplateRequest * @return Result of the DeleteRecommendationTemplate operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DeleteRecommendationTemplate * @see AWS API Documentation */ DeleteRecommendationTemplateResult deleteRecommendationTemplate(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest); /** *

* Deletes a resiliency policy. This is a destructive action that can't be undone. *

* * @param deleteResiliencyPolicyRequest * @return Result of the DeleteResiliencyPolicy operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DeleteResiliencyPolicy * @see AWS API Documentation */ DeleteResiliencyPolicyResult deleteResiliencyPolicy(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest); /** *

* Describes an Resilience Hub application. *

* * @param describeAppRequest * @return Result of the DescribeApp operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeApp * @see AWS API * Documentation */ DescribeAppResult describeApp(DescribeAppRequest describeAppRequest); /** *

* Describes an assessment for an Resilience Hub application. *

* * @param describeAppAssessmentRequest * @return Result of the DescribeAppAssessment operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeAppAssessment * @see AWS API Documentation */ DescribeAppAssessmentResult describeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest); /** *

* Describes the Resilience Hub application version. *

* * @param describeAppVersionRequest * @return Result of the DescribeAppVersion operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeAppVersion * @see AWS API Documentation */ DescribeAppVersionResult describeAppVersion(DescribeAppVersionRequest describeAppVersionRequest); /** *

* Describes an Application Component in the Resilience Hub application. *

* * @param describeAppVersionAppComponentRequest * @return Result of the DescribeAppVersionAppComponent operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeAppVersionAppComponent * @see AWS API Documentation */ DescribeAppVersionAppComponentResult describeAppVersionAppComponent(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest); /** *

* Describes a resource of the Resilience Hub application. *

* *

* This API accepts only one of the following parameters to descibe the resource: *

*
    *
  • *

    * resourceName *

    *
  • *
  • *

    * logicalResourceId *

    *
  • *
  • *

    * physicalResourceId (Along with physicalResourceId, you can also provide * awsAccountId, and awsRegion) *

    *
  • *
*
* * @param describeAppVersionResourceRequest * @return Result of the DescribeAppVersionResource operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeAppVersionResource * @see AWS API Documentation */ DescribeAppVersionResourceResult describeAppVersionResource(DescribeAppVersionResourceRequest describeAppVersionResourceRequest); /** *

* Returns the resolution status for the specified resolution identifier for an application version. If * resolutionId is not specified, the current resolution status is returned. *

* * @param describeAppVersionResourcesResolutionStatusRequest * @return Result of the DescribeAppVersionResourcesResolutionStatus operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeAppVersionResourcesResolutionStatus * @see AWS API Documentation */ DescribeAppVersionResourcesResolutionStatusResult describeAppVersionResourcesResolutionStatus( DescribeAppVersionResourcesResolutionStatusRequest describeAppVersionResourcesResolutionStatusRequest); /** *

* Describes details about an Resilience Hub application. *

* * @param describeAppVersionTemplateRequest * @return Result of the DescribeAppVersionTemplate operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeAppVersionTemplate * @see AWS API Documentation */ DescribeAppVersionTemplateResult describeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest); /** *

* 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. *

*
* * @param describeDraftAppVersionResourcesImportStatusRequest * @return Result of the DescribeDraftAppVersionResourcesImportStatus operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeDraftAppVersionResourcesImportStatus * @see AWS API Documentation */ DescribeDraftAppVersionResourcesImportStatusResult describeDraftAppVersionResourcesImportStatus( DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest); /** *

* Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes * creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more. *

* * @param describeResiliencyPolicyRequest * @return Result of the DescribeResiliencyPolicy operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.DescribeResiliencyPolicy * @see AWS API Documentation */ DescribeResiliencyPolicyResult describeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest); /** *

* Imports resources to Resilience Hub application draft version from different input sources. For more information * about the input sources supported by Resilience Hub, see Discover the structure * and describe your Resilience Hub application. *

* * @param importResourcesToDraftAppVersionRequest * @return Result of the ImportResourcesToDraftAppVersion operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ImportResourcesToDraftAppVersion * @see AWS API Documentation */ ImportResourcesToDraftAppVersionResult importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest); /** *

* Lists the alarm recommendations for an Resilience Hub application. *

* * @param listAlarmRecommendationsRequest * @return Result of the ListAlarmRecommendations operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAlarmRecommendations * @see AWS API Documentation */ ListAlarmRecommendationsResult listAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest); /** *

* List of compliance drifts that were detected while running an assessment. *

* * @param listAppAssessmentComplianceDriftsRequest * @return Result of the ListAppAssessmentComplianceDrifts operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppAssessmentComplianceDrifts * @see AWS API Documentation */ ListAppAssessmentComplianceDriftsResult listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest); /** *

* Indicates the list of resource drifts that were detected while running an assessment. *

* * @param listAppAssessmentResourceDriftsRequest * @return Result of the ListAppAssessmentResourceDrifts operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppAssessmentResourceDrifts * @see AWS API Documentation */ ListAppAssessmentResourceDriftsResult listAppAssessmentResourceDrifts(ListAppAssessmentResourceDriftsRequest listAppAssessmentResourceDriftsRequest); /** *

* Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for * the response object. *

* * @param listAppAssessmentsRequest * @return Result of the ListAppAssessments operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppAssessments * @see AWS API Documentation */ ListAppAssessmentsResult listAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest); /** *

* Lists the compliances for an Resilience Hub Application Component. *

* * @param listAppComponentCompliancesRequest * @return Result of the ListAppComponentCompliances operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppComponentCompliances * @see AWS API Documentation */ ListAppComponentCompliancesResult listAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest); /** *

* Lists the recommendations for an Resilience Hub Application Component. *

* * @param listAppComponentRecommendationsRequest * @return Result of the ListAppComponentRecommendations operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppComponentRecommendations * @see AWS API Documentation */ ListAppComponentRecommendationsResult listAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest); /** *

* Lists all the input sources of the Resilience Hub application. For more information about the input sources * supported by Resilience Hub, see Discover the structure * and describe your Resilience Hub application. *

* * @param listAppInputSourcesRequest * @return Result of the ListAppInputSources operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppInputSources * @see AWS API Documentation */ ListAppInputSourcesResult listAppInputSources(ListAppInputSourcesRequest listAppInputSourcesRequest); /** *

* Lists all the Application Components in the Resilience Hub application. *

* * @param listAppVersionAppComponentsRequest * @return Result of the ListAppVersionAppComponents operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppVersionAppComponents * @see AWS API Documentation */ ListAppVersionAppComponentsResult listAppVersionAppComponents(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest); /** *

* 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. *

* * @param listAppVersionResourceMappingsRequest * @return Result of the ListAppVersionResourceMappings operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppVersionResourceMappings * @see AWS API Documentation */ ListAppVersionResourceMappingsResult listAppVersionResourceMappings(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest); /** *

* Lists all the resources in an Resilience Hub application. *

* * @param listAppVersionResourcesRequest * @return Result of the ListAppVersionResources operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppVersionResources * @see AWS API Documentation */ ListAppVersionResourcesResult listAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest); /** *

* Lists the different versions for the Resilience Hub applications. *

* * @param listAppVersionsRequest * @return Result of the ListAppVersions operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListAppVersions * @see AWS * API Documentation */ ListAppVersionsResult listAppVersions(ListAppVersionsRequest listAppVersionsRequest); /** *

* Lists your Resilience Hub applications. *

* *

* You can filter applications using only one filter at a time or without using any filter. If you try to filter * applications using multiple filters, you will get the following error: *

*

* An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation. *

*
* * @param listAppsRequest * @return Result of the ListApps operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListApps * @see AWS API * Documentation */ ListAppsResult listApps(ListAppsRequest listAppsRequest); /** *

* Lists the recommendation templates for the Resilience Hub applications. *

* * @param listRecommendationTemplatesRequest * @return Result of the ListRecommendationTemplates operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListRecommendationTemplates * @see AWS API Documentation */ ListRecommendationTemplatesResult listRecommendationTemplates(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest); /** *

* Lists the resiliency policies for the Resilience Hub applications. *

* * @param listResiliencyPoliciesRequest * @return Result of the ListResiliencyPolicies operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListResiliencyPolicies * @see AWS API Documentation */ ListResiliencyPoliciesResult listResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest); /** *

* Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications. *

* * @param listSopRecommendationsRequest * @return Result of the ListSopRecommendations operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListSopRecommendations * @see AWS API Documentation */ ListSopRecommendationsResult listSopRecommendations(ListSopRecommendationsRequest listSopRecommendationsRequest); /** *

* Lists the suggested resiliency policies for the Resilience Hub applications. *

* * @param listSuggestedResiliencyPoliciesRequest * @return Result of the ListSuggestedResiliencyPolicies operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListSuggestedResiliencyPolicies * @see AWS API Documentation */ ListSuggestedResiliencyPoliciesResult listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest); /** *

* Lists the tags for your resources in your Resilience Hub applications. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListTagsForResource * @see AWS API Documentation */ ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists the test recommendations for the Resilience Hub application. *

* * @param listTestRecommendationsRequest * @return Result of the ListTestRecommendations operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListTestRecommendations * @see AWS API Documentation */ ListTestRecommendationsResult listTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest); /** *

* Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource * that exists in the object that was used to create an app, but is not supported by Resilience Hub. *

* * @param listUnsupportedAppVersionResourcesRequest * @return Result of the ListUnsupportedAppVersionResources operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ListUnsupportedAppVersionResources * @see AWS API Documentation */ ListUnsupportedAppVersionResourcesResult listUnsupportedAppVersionResources( ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest); /** *

* Publishes a new version of a specific Resilience Hub application. *

* * @param publishAppVersionRequest * @return Result of the PublishAppVersion operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.PublishAppVersion * @see AWS API Documentation */ PublishAppVersionResult publishAppVersion(PublishAppVersionRequest publishAppVersionRequest); /** *

* Adds or updates the app template for an Resilience Hub application draft version. *

* * @param putDraftAppVersionTemplateRequest * @return Result of the PutDraftAppVersionTemplate operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.PutDraftAppVersionTemplate * @see AWS API Documentation */ PutDraftAppVersionTemplateResult putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest); /** *

* Removes resource mappings from a draft application version. *

* * @param removeDraftAppVersionResourceMappingsRequest * @return Result of the RemoveDraftAppVersionResourceMappings operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.RemoveDraftAppVersionResourceMappings * @see AWS API Documentation */ RemoveDraftAppVersionResourceMappingsResult removeDraftAppVersionResourceMappings( RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest); /** *

* Resolves the resources for an application version. *

* * @param resolveAppVersionResourcesRequest * @return Result of the ResolveAppVersionResources operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.ResolveAppVersionResources * @see AWS API Documentation */ ResolveAppVersionResourcesResult resolveAppVersionResources(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest); /** *

* Creates a new application assessment for an application. *

* * @param startAppAssessmentRequest * @return Result of the StartAppAssessment operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.StartAppAssessment * @see AWS API Documentation */ StartAppAssessmentResult startAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest); /** *

* Applies one or more tags to a resource. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.TagResource * @see AWS API * Documentation */ TagResourceResult tagResource(TagResourceRequest tagResourceRequest); /** *

* Removes one or more tags from a resource. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.UntagResource * @see AWS * API Documentation */ UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest); /** *

* Updates an application. *

* * @param updateAppRequest * @return Result of the UpdateApp operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.UpdateApp * @see AWS API * Documentation */ UpdateAppResult updateApp(UpdateAppRequest updateAppRequest); /** *

* Updates the Resilience Hub application version. *

* *

* This API updates the Resilience Hub application draft version. To use this information for running resiliency * assessments, you must publish the Resilience Hub application using the PublishAppVersion API. *

*
* * @param updateAppVersionRequest * @return Result of the UpdateAppVersion operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.UpdateAppVersion * @see AWS * API Documentation */ UpdateAppVersionResult updateAppVersion(UpdateAppVersionRequest updateAppVersionRequest); /** *

* Updates an existing Application Component in the Resilience Hub application. *

* *

* This API updates the Resilience Hub application draft version. To use this Application Component for running * assessments, you must publish the Resilience Hub application using the PublishAppVersion API. *

*
* * @param updateAppVersionAppComponentRequest * @return Result of the UpdateAppVersionAppComponent operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.UpdateAppVersionAppComponent * @see AWS API Documentation */ UpdateAppVersionAppComponentResult updateAppVersionAppComponent(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest); /** *

* Updates the resource details in the Resilience Hub application. *

* *
    *
  • *

    * This action has no effect outside Resilience Hub. *

    *
  • *
  • *

    * This API updates the Resilience Hub application draft version. To use this resource for running resiliency * assessments, you must publish the Resilience Hub application using the PublishAppVersion API. *

    *
  • *
  • *

    * To update application version with new physicalResourceID, you must call * ResolveAppVersionResources API. *

    *
  • *
*
* * @param updateAppVersionResourceRequest * @return Result of the UpdateAppVersionResource operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.UpdateAppVersionResource * @see AWS API Documentation */ UpdateAppVersionResourceResult updateAppVersionResource(UpdateAppVersionResourceRequest updateAppVersionResourceRequest); /** *

* Updates a resiliency policy. *

* *

* Resilience Hub allows you to provide a value of zero for rtoInSecs and rpoInSecs of * your resiliency policy. But, while assessing your application, the lowest possible assessment result is near * zero. Hence, if you provide value zero for rtoInSecs and rpoInSecs, the estimated * workload RTO and estimated workload RPO result will be near zero and the Compliance status for your * application will be set to Policy breached. *

*
* * @param updateResiliencyPolicyRequest * @return Result of the UpdateResiliencyPolicy operation returned by the service. * @throws InternalServerException * This exception occurs when there is an internal failure in the Resilience Hub service. * @throws ResourceNotFoundException * This exception occurs when the specified resource could not be found. * @throws 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. * @throws ThrottlingException * This exception occurs when you have exceeded the limit on the number of requests per second. * @throws ValidationException * This exception occurs when a request is not valid. * @throws 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. * @sample AWSResilienceHub.UpdateResiliencyPolicy * @see AWS API Documentation */ UpdateResiliencyPolicyResult updateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest); /** * Shuts down this client object, releasing any resources that might be held open. This is an optional method, and * callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client * has been shutdown, it should not be used to make any more requests. */ void shutdown(); /** * Returns additional metadata for a previously executed successful request, typically used for debugging issues * where a service isn't acting as expected. This data isn't considered part of the result data returned by an * operation, so it's available through this separate, diagnostic interface. *

* 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 a request. * * @param request * The originally executed request. * * @return The response metadata for the specified request, or null if none is available. */ ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy