@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSResilienceHubClient extends AmazonWebServiceClient implements AWSResilienceHub
AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
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
public static AWSResilienceHubClientBuilder builder()
public AddDraftAppVersionResourceMappingsResult addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest request)
Adds the resource mapping for the draft application version.
addDraftAppVersionResourceMappings
in interface AWSResilienceHub
addDraftAppVersionResourceMappingsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public CreateAppResult createApp(CreateAppRequest request)
Creates 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>
createApp
in interface AWSResilienceHub
createAppRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException
- You have exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use Service Quotas to request a service quota increase.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public CreateRecommendationTemplateResult createRecommendationTemplate(CreateRecommendationTemplateRequest request)
Creates a new recommendation template.
createRecommendationTemplate
in interface AWSResilienceHub
createRecommendationTemplateRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public CreateResiliencyPolicyResult createResiliencyPolicy(CreateResiliencyPolicyRequest request)
Creates a resiliency policy for an application.
createResiliencyPolicy
in interface AWSResilienceHub
createResiliencyPolicyRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException
- You have exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use Service Quotas to request a service quota increase.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteAppResult deleteApp(DeleteAppRequest request)
Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.
deleteApp
in interface AWSResilienceHub
deleteAppRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.public DeleteAppAssessmentResult deleteAppAssessment(DeleteAppAssessmentRequest request)
Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone.
deleteAppAssessment
in interface AWSResilienceHub
deleteAppAssessmentRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteRecommendationTemplateResult deleteRecommendationTemplate(DeleteRecommendationTemplateRequest request)
Deletes a recommendation template. This is a destructive action that can't be undone.
deleteRecommendationTemplate
in interface AWSResilienceHub
deleteRecommendationTemplateRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DeleteResiliencyPolicyResult deleteResiliencyPolicy(DeleteResiliencyPolicyRequest request)
Deletes a resiliency policy. This is a destructive action that can't be undone.
deleteResiliencyPolicy
in interface AWSResilienceHub
deleteResiliencyPolicyRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppResult describeApp(DescribeAppRequest request)
Describes an AWS Resilience Hub application.
describeApp
in interface AWSResilienceHub
describeAppRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppAssessmentResult describeAppAssessment(DescribeAppAssessmentRequest request)
Describes an assessment for an AWS Resilience Hub application.
describeAppAssessment
in interface AWSResilienceHub
describeAppAssessmentRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppVersionResourcesResolutionStatusResult describeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest request)
Returns the resolution status for the specified resolution identifier for an application version. If
resolutionId
is not specified, the current resolution status is returned.
describeAppVersionResourcesResolutionStatus
in interface AWSResilienceHub
describeAppVersionResourcesResolutionStatusRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeAppVersionTemplateResult describeAppVersionTemplate(DescribeAppVersionTemplateRequest request)
Describes details about an AWS Resilience Hub
describeAppVersionTemplate
in interface AWSResilienceHub
describeAppVersionTemplateRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeDraftAppVersionResourcesImportStatusResult describeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest request)
Describes the status of importing resources to an application version.
describeDraftAppVersionResourcesImportStatus
in interface AWSResilienceHub
describeDraftAppVersionResourcesImportStatusRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public DescribeResiliencyPolicyResult describeResiliencyPolicy(DescribeResiliencyPolicyRequest request)
Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
describeResiliencyPolicy
in interface AWSResilienceHub
describeResiliencyPolicyRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ImportResourcesToDraftAppVersionResult importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest request)
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.
importResourcesToDraftAppVersion
in interface AWSResilienceHub
importResourcesToDraftAppVersionRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAlarmRecommendationsResult listAlarmRecommendations(ListAlarmRecommendationsRequest request)
Lists the alarm recommendations for a AWS Resilience Hub application.
listAlarmRecommendations
in interface AWSResilienceHub
listAlarmRecommendationsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppAssessmentsResult listAppAssessments(ListAppAssessmentsRequest request)
Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
listAppAssessments
in interface AWSResilienceHub
listAppAssessmentsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppComponentCompliancesResult listAppComponentCompliances(ListAppComponentCompliancesRequest request)
Lists the compliances for an AWS Resilience Hub component.
listAppComponentCompliances
in interface AWSResilienceHub
listAppComponentCompliancesRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppComponentRecommendationsResult listAppComponentRecommendations(ListAppComponentRecommendationsRequest request)
Lists the recommendations for an AWS Resilience Hub component.
listAppComponentRecommendations
in interface AWSResilienceHub
listAppComponentRecommendationsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppVersionResourceMappingsResult listAppVersionResourceMappings(ListAppVersionResourceMappingsRequest request)
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
listAppVersionResourceMappings
in interface AWSResilienceHub
listAppVersionResourceMappingsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppVersionResourcesResult listAppVersionResources(ListAppVersionResourcesRequest request)
Lists all the resources in an application version.
listAppVersionResources
in interface AWSResilienceHub
listAppVersionResourcesRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppVersionsResult listAppVersions(ListAppVersionsRequest request)
Lists the different versions for the Resilience Hub applications.
listAppVersions
in interface AWSResilienceHub
listAppVersionsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListAppsResult listApps(ListAppsRequest request)
Lists your Resilience Hub applications.
listApps
in interface AWSResilienceHub
listAppsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListRecommendationTemplatesResult listRecommendationTemplates(ListRecommendationTemplatesRequest request)
Lists the recommendation templates for the Resilience Hub applications.
listRecommendationTemplates
in interface AWSResilienceHub
listRecommendationTemplatesRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListResiliencyPoliciesResult listResiliencyPolicies(ListResiliencyPoliciesRequest request)
Lists the resiliency policies for the Resilience Hub applications.
listResiliencyPolicies
in interface AWSResilienceHub
listResiliencyPoliciesRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListSopRecommendationsResult listSopRecommendations(ListSopRecommendationsRequest request)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
listSopRecommendations
in interface AWSResilienceHub
listSopRecommendationsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListSuggestedResiliencyPoliciesResult listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest request)
Lists the suggested resiliency policies for the Resilience Hub applications.
listSuggestedResiliencyPolicies
in interface AWSResilienceHub
listSuggestedResiliencyPoliciesRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for your resources in your Resilience Hub applications.
listTagsForResource
in interface AWSResilienceHub
listTagsForResourceRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListTestRecommendationsResult listTestRecommendations(ListTestRecommendationsRequest request)
Lists the test recommendations for the Resilience Hub application.
listTestRecommendations
in interface AWSResilienceHub
listTestRecommendationsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ListUnsupportedAppVersionResourcesResult listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest request)
Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
listUnsupportedAppVersionResources
in interface AWSResilienceHub
listUnsupportedAppVersionResourcesRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public PublishAppVersionResult publishAppVersion(PublishAppVersionRequest request)
Publishes a new version of a specific Resilience Hub application.
publishAppVersion
in interface AWSResilienceHub
publishAppVersionRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public PutDraftAppVersionTemplateResult putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest request)
Adds or updates the app template for a draft version of a Resilience Hub app.
putDraftAppVersionTemplate
in interface AWSResilienceHub
putDraftAppVersionTemplateRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public RemoveDraftAppVersionResourceMappingsResult removeDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest request)
Removes resource mappings from a draft application version.
removeDraftAppVersionResourceMappings
in interface AWSResilienceHub
removeDraftAppVersionResourceMappingsRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ResolveAppVersionResourcesResult resolveAppVersionResources(ResolveAppVersionResourcesRequest request)
Resolves the resources for an application version.
resolveAppVersionResources
in interface AWSResilienceHub
resolveAppVersionResourcesRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public StartAppAssessmentResult startAppAssessment(StartAppAssessmentRequest request)
Creates a new application assessment for an application.
startAppAssessment
in interface AWSResilienceHub
startAppAssessmentRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException
- You have exceeded your service quota. To perform the requested action, remove some of the relevant
resources, or use Service Quotas to request a service quota increase.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public TagResourceResult tagResource(TagResourceRequest request)
Applies one or more tags to a resource.
tagResource
in interface AWSResilienceHub
tagResourceRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes one or more tags from a resource.
untagResource
in interface AWSResilienceHub
untagResourceRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UpdateAppResult updateApp(UpdateAppRequest request)
Updates an application.
updateApp
in interface AWSResilienceHub
updateAppRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public UpdateResiliencyPolicyResult updateResiliencyPolicy(UpdateResiliencyPolicyRequest request)
Updates a resiliency policy.
updateResiliencyPolicy
in interface AWSResilienceHub
updateResiliencyPolicyRequest
- InternalServerException
- This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException
- The specified resource could not be found.ConflictException
- Occurs when a conflict with a previous successful write is detected. This generally occurs when the
previous write did not have time to propagate to the host serving the current request. A retry (with
appropriate backoff logic) is the recommended response to this exception.ThrottlingException
- The limit on the number of requests per second was exceeded.ValidationException
- Indicates that a request was not valid.AccessDeniedException
- You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSResilienceHub
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSResilienceHub
shutdown
in class AmazonWebServiceClient