Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Resiliencehub

import { Resiliencehub } from "https://aws-api.deno.dev/v0.4/services/resiliencehub.ts?docs=full";
class Resiliencehub {
constructor(apiFactory: client.ApiFactory);
async addDraftAppVersionResourceMappings(params: AddDraftAppVersionResourceMappingsRequest, opts?: client.RequestOptions): Promise<AddDraftAppVersionResourceMappingsResponse>;
async createApp(params: CreateAppRequest, opts?: client.RequestOptions): Promise<CreateAppResponse>;
async createAppVersionAppComponent(params: CreateAppVersionAppComponentRequest, opts?: client.RequestOptions): Promise<CreateAppVersionAppComponentResponse>;
async createAppVersionResource(params: CreateAppVersionResourceRequest, opts?: client.RequestOptions): Promise<CreateAppVersionResourceResponse>;
async createRecommendationTemplate(params: CreateRecommendationTemplateRequest, opts?: client.RequestOptions): Promise<CreateRecommendationTemplateResponse>;
async createResiliencyPolicy(params: CreateResiliencyPolicyRequest, opts?: client.RequestOptions): Promise<CreateResiliencyPolicyResponse>;
async deleteApp(params: DeleteAppRequest, opts?: client.RequestOptions): Promise<DeleteAppResponse>;
async deleteAppAssessment(params: DeleteAppAssessmentRequest, opts?: client.RequestOptions): Promise<DeleteAppAssessmentResponse>;
async deleteAppInputSource(params: DeleteAppInputSourceRequest, opts?: client.RequestOptions): Promise<DeleteAppInputSourceResponse>;
async deleteAppVersionAppComponent(params: DeleteAppVersionAppComponentRequest, opts?: client.RequestOptions): Promise<DeleteAppVersionAppComponentResponse>;
async deleteAppVersionResource(params: DeleteAppVersionResourceRequest, opts?: client.RequestOptions): Promise<DeleteAppVersionResourceResponse>;
async deleteRecommendationTemplate(params: DeleteRecommendationTemplateRequest, opts?: client.RequestOptions): Promise<DeleteRecommendationTemplateResponse>;
async deleteResiliencyPolicy(params: DeleteResiliencyPolicyRequest, opts?: client.RequestOptions): Promise<DeleteResiliencyPolicyResponse>;
async describeApp(params: DescribeAppRequest, opts?: client.RequestOptions): Promise<DescribeAppResponse>;
async describeAppAssessment(params: DescribeAppAssessmentRequest, opts?: client.RequestOptions): Promise<DescribeAppAssessmentResponse>;
async describeAppVersion(params: DescribeAppVersionRequest, opts?: client.RequestOptions): Promise<DescribeAppVersionResponse>;
async describeAppVersionAppComponent(params: DescribeAppVersionAppComponentRequest, opts?: client.RequestOptions): Promise<DescribeAppVersionAppComponentResponse>;
async describeAppVersionResource(params: DescribeAppVersionResourceRequest, opts?: client.RequestOptions): Promise<DescribeAppVersionResourceResponse>;
async describeAppVersionTemplate(params: DescribeAppVersionTemplateRequest, opts?: client.RequestOptions): Promise<DescribeAppVersionTemplateResponse>;
async describeResiliencyPolicy(params: DescribeResiliencyPolicyRequest, opts?: client.RequestOptions): Promise<DescribeResiliencyPolicyResponse>;
async importResourcesToDraftAppVersion(params: ImportResourcesToDraftAppVersionRequest, opts?: client.RequestOptions): Promise<ImportResourcesToDraftAppVersionResponse>;
async listAlarmRecommendations(params: ListAlarmRecommendationsRequest, opts?: client.RequestOptions): Promise<ListAlarmRecommendationsResponse>;
async listAppAssessments(params?: ListAppAssessmentsRequest, opts?: client.RequestOptions): Promise<ListAppAssessmentsResponse>;
async listAppComponentCompliances(params: ListAppComponentCompliancesRequest, opts?: client.RequestOptions): Promise<ListAppComponentCompliancesResponse>;
async listAppComponentRecommendations(params: ListAppComponentRecommendationsRequest, opts?: client.RequestOptions): Promise<ListAppComponentRecommendationsResponse>;
async listAppInputSources(params: ListAppInputSourcesRequest, opts?: client.RequestOptions): Promise<ListAppInputSourcesResponse>;
async listApps(params?: ListAppsRequest, opts?: client.RequestOptions): Promise<ListAppsResponse>;
async listAppVersionAppComponents(params: ListAppVersionAppComponentsRequest, opts?: client.RequestOptions): Promise<ListAppVersionAppComponentsResponse>;
async listAppVersionResourceMappings(params: ListAppVersionResourceMappingsRequest, opts?: client.RequestOptions): Promise<ListAppVersionResourceMappingsResponse>;
async listAppVersionResources(params: ListAppVersionResourcesRequest, opts?: client.RequestOptions): Promise<ListAppVersionResourcesResponse>;
async listAppVersions(params: ListAppVersionsRequest, opts?: client.RequestOptions): Promise<ListAppVersionsResponse>;
async listRecommendationTemplates(params: ListRecommendationTemplatesRequest, opts?: client.RequestOptions): Promise<ListRecommendationTemplatesResponse>;
async listResiliencyPolicies(params?: ListResiliencyPoliciesRequest, opts?: client.RequestOptions): Promise<ListResiliencyPoliciesResponse>;
async listSopRecommendations(params: ListSopRecommendationsRequest, opts?: client.RequestOptions): Promise<ListSopRecommendationsResponse>;
async listSuggestedResiliencyPolicies(params?: ListSuggestedResiliencyPoliciesRequest, opts?: client.RequestOptions): Promise<ListSuggestedResiliencyPoliciesResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async listTestRecommendations(params: ListTestRecommendationsRequest, opts?: client.RequestOptions): Promise<ListTestRecommendationsResponse>;
async listUnsupportedAppVersionResources(params: ListUnsupportedAppVersionResourcesRequest, opts?: client.RequestOptions): Promise<ListUnsupportedAppVersionResourcesResponse>;
async publishAppVersion(params: PublishAppVersionRequest, opts?: client.RequestOptions): Promise<PublishAppVersionResponse>;
async putDraftAppVersionTemplate(params: PutDraftAppVersionTemplateRequest, opts?: client.RequestOptions): Promise<PutDraftAppVersionTemplateResponse>;
async removeDraftAppVersionResourceMappings(params: RemoveDraftAppVersionResourceMappingsRequest, opts?: client.RequestOptions): Promise<RemoveDraftAppVersionResourceMappingsResponse>;
async resolveAppVersionResources(params: ResolveAppVersionResourcesRequest, opts?: client.RequestOptions): Promise<ResolveAppVersionResourcesResponse>;
async startAppAssessment(params: StartAppAssessmentRequest, opts?: client.RequestOptions): Promise<StartAppAssessmentResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateApp(params: UpdateAppRequest, opts?: client.RequestOptions): Promise<UpdateAppResponse>;
async updateAppVersion(params: UpdateAppVersionRequest, opts?: client.RequestOptions): Promise<UpdateAppVersionResponse>;
async updateAppVersionAppComponent(params: UpdateAppVersionAppComponentRequest, opts?: client.RequestOptions): Promise<UpdateAppVersionAppComponentResponse>;
async updateAppVersionResource(params: UpdateAppVersionResourceRequest, opts?: client.RequestOptions): Promise<UpdateAppVersionResourceResponse>;
async updateResiliencyPolicy(params: UpdateResiliencyPolicyRequest, opts?: client.RequestOptions): Promise<UpdateResiliencyPolicyResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Resiliencehub(apiFactory: client.ApiFactory)
[src]

§Methods

§

Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.

§

Creates an AWS Resilience Hub application. An AWS Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a AWS Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.

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

§

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

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

§

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

Note: - This action has no effect outside AWS Resilience Hub. - This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. - To update application version with new physicalResourceID, you must call ResolveAppVersionResources API.

§

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

§

Creates a resiliency policy for an application.

§

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

§

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

§

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

§

Deletes an Application Component from the AWS Resilience Hub application.

Note: - This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. - You will not be able to delete an Application Component if it has resources associated with it.

§

Deletes a resource from the AWS Resilience Hub application.

Note: - You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource API. - This action has no effect outside AWS Resilience Hub. - This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.

§

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

§

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

§

Describes an AWS Resilience Hub application.

§

Describes an assessment for an AWS Resilience Hub application.

§

Describes the AWS Resilience Hub application version.

§

Describes an Application Component in the AWS Resilience Hub application.

§

Describes a resource of the AWS Resilience Hub application.

Note: 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)

§

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

§

Describes details about an AWS Resilience Hub application.

§

Describes the status of importing resources to an application version.

Note: If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, you must call importResourcesToDraftAppVersion after creating the application and before calling describeDraftAppVersionResourcesImportStatus to obtain the status.

§

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.

§

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

§

Lists the alarm recommendations for an AWS Resilience Hub application.

§

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

§

Lists the compliances for an AWS Resilience Hub Application Component.

§

Lists the recommendations for an AWS Resilience Hub Application Component.

§

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

§
listApps(params?: ListAppsRequest, opts?: client.RequestOptions): Promise<ListAppsResponse>
[src]

Lists your AWS Resilience Hub applications.

Note: 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.

§

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

§

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.

§

Lists all the resources in an AWS Resilience Hub application.

§

Lists the different versions for the AWS Resilience Hub applications.

§

Lists the recommendation templates for the AWS Resilience Hub applications.

§

Lists the resiliency policies for the AWS Resilience Hub applications.

§

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

§

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

§

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

§

Lists the test recommendations for the AWS Resilience Hub application.

§

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

§

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

§

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

§

Removes resource mappings from a draft application version.

§

Resolves the resources for an application version.

§

Creates a new application assessment for an application.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Applies one or more tags to a resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes one or more tags from a resource.

§

Updates an application.

§

Updates the AWS Resilience Hub application version.

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

§

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

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

§

Updates the resource details in the AWS Resilience Hub application.

Note: - This action has no effect outside AWS Resilience Hub. - This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. - To update application version with new physicalResourceID, you must call ResolveAppVersionResources API.

§

Updates a resiliency policy.

§Static Properties