import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AddDraftAppVersionResourceMappingsCommand , AddDraftAppVersionResourceMappingsCommandInput , AddDraftAppVersionResourceMappingsCommandOutput , } from "./commands/AddDraftAppVersionResourceMappingsCommand" ; import { CreateAppCommand , CreateAppCommandInput , CreateAppCommandOutput } from "./commands/CreateAppCommand" ; import { CreateRecommendationTemplateCommand , CreateRecommendationTemplateCommandInput , CreateRecommendationTemplateCommandOutput , } from "./commands/CreateRecommendationTemplateCommand" ; import { CreateResiliencyPolicyCommand , CreateResiliencyPolicyCommandInput , CreateResiliencyPolicyCommandOutput , } from "./commands/CreateResiliencyPolicyCommand" ; import { DeleteAppAssessmentCommand , DeleteAppAssessmentCommandInput , DeleteAppAssessmentCommandOutput , } from "./commands/DeleteAppAssessmentCommand" ; import { DeleteAppCommand , DeleteAppCommandInput , DeleteAppCommandOutput } from "./commands/DeleteAppCommand" ; import { DeleteRecommendationTemplateCommand , DeleteRecommendationTemplateCommandInput , DeleteRecommendationTemplateCommandOutput , } from "./commands/DeleteRecommendationTemplateCommand" ; import { DeleteResiliencyPolicyCommand , DeleteResiliencyPolicyCommandInput , DeleteResiliencyPolicyCommandOutput , } from "./commands/DeleteResiliencyPolicyCommand" ; import { DescribeAppAssessmentCommand , DescribeAppAssessmentCommandInput , DescribeAppAssessmentCommandOutput , } from "./commands/DescribeAppAssessmentCommand" ; import { DescribeAppCommand , DescribeAppCommandInput , DescribeAppCommandOutput } from "./commands/DescribeAppCommand" ; import { DescribeAppVersionResourcesResolutionStatusCommand , DescribeAppVersionResourcesResolutionStatusCommandInput , DescribeAppVersionResourcesResolutionStatusCommandOutput , } from "./commands/DescribeAppVersionResourcesResolutionStatusCommand" ; import { DescribeAppVersionTemplateCommand , DescribeAppVersionTemplateCommandInput , DescribeAppVersionTemplateCommandOutput , } from "./commands/DescribeAppVersionTemplateCommand" ; import { DescribeDraftAppVersionResourcesImportStatusCommand , DescribeDraftAppVersionResourcesImportStatusCommandInput , DescribeDraftAppVersionResourcesImportStatusCommandOutput , } from "./commands/DescribeDraftAppVersionResourcesImportStatusCommand" ; import { DescribeResiliencyPolicyCommand , DescribeResiliencyPolicyCommandInput , DescribeResiliencyPolicyCommandOutput , } from "./commands/DescribeResiliencyPolicyCommand" ; import { ImportResourcesToDraftAppVersionCommand , ImportResourcesToDraftAppVersionCommandInput , ImportResourcesToDraftAppVersionCommandOutput , } from "./commands/ImportResourcesToDraftAppVersionCommand" ; import { ListAlarmRecommendationsCommand , ListAlarmRecommendationsCommandInput , ListAlarmRecommendationsCommandOutput , } from "./commands/ListAlarmRecommendationsCommand" ; import { ListAppAssessmentsCommand , ListAppAssessmentsCommandInput , ListAppAssessmentsCommandOutput , } from "./commands/ListAppAssessmentsCommand" ; import { ListAppComponentCompliancesCommand , ListAppComponentCompliancesCommandInput , ListAppComponentCompliancesCommandOutput , } from "./commands/ListAppComponentCompliancesCommand" ; import { ListAppComponentRecommendationsCommand , ListAppComponentRecommendationsCommandInput , ListAppComponentRecommendationsCommandOutput , } from "./commands/ListAppComponentRecommendationsCommand" ; import { ListAppsCommand , ListAppsCommandInput , ListAppsCommandOutput } from "./commands/ListAppsCommand" ; import { ListAppVersionResourceMappingsCommand , ListAppVersionResourceMappingsCommandInput , ListAppVersionResourceMappingsCommandOutput , } from "./commands/ListAppVersionResourceMappingsCommand" ; import { ListAppVersionResourcesCommand , ListAppVersionResourcesCommandInput , ListAppVersionResourcesCommandOutput , } from "./commands/ListAppVersionResourcesCommand" ; import { ListAppVersionsCommand , ListAppVersionsCommandInput , ListAppVersionsCommandOutput , } from "./commands/ListAppVersionsCommand" ; import { ListRecommendationTemplatesCommand , ListRecommendationTemplatesCommandInput , ListRecommendationTemplatesCommandOutput , } from "./commands/ListRecommendationTemplatesCommand" ; import { ListResiliencyPoliciesCommand , ListResiliencyPoliciesCommandInput , ListResiliencyPoliciesCommandOutput , } from "./commands/ListResiliencyPoliciesCommand" ; import { ListSopRecommendationsCommand , ListSopRecommendationsCommandInput , ListSopRecommendationsCommandOutput , } from "./commands/ListSopRecommendationsCommand" ; import { ListSuggestedResiliencyPoliciesCommand , ListSuggestedResiliencyPoliciesCommandInput , ListSuggestedResiliencyPoliciesCommandOutput , } from "./commands/ListSuggestedResiliencyPoliciesCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ListTestRecommendationsCommand , ListTestRecommendationsCommandInput , ListTestRecommendationsCommandOutput , } from "./commands/ListTestRecommendationsCommand" ; import { ListUnsupportedAppVersionResourcesCommand , ListUnsupportedAppVersionResourcesCommandInput , ListUnsupportedAppVersionResourcesCommandOutput , } from "./commands/ListUnsupportedAppVersionResourcesCommand" ; import { PublishAppVersionCommand , PublishAppVersionCommandInput , PublishAppVersionCommandOutput , } from "./commands/PublishAppVersionCommand" ; import { PutDraftAppVersionTemplateCommand , PutDraftAppVersionTemplateCommandInput , PutDraftAppVersionTemplateCommandOutput , } from "./commands/PutDraftAppVersionTemplateCommand" ; import { RemoveDraftAppVersionResourceMappingsCommand , RemoveDraftAppVersionResourceMappingsCommandInput , RemoveDraftAppVersionResourceMappingsCommandOutput , } from "./commands/RemoveDraftAppVersionResourceMappingsCommand" ; import { ResolveAppVersionResourcesCommand , ResolveAppVersionResourcesCommandInput , ResolveAppVersionResourcesCommandOutput , } from "./commands/ResolveAppVersionResourcesCommand" ; import { StartAppAssessmentCommand , StartAppAssessmentCommandInput , StartAppAssessmentCommandOutput , } from "./commands/StartAppAssessmentCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAppCommand , UpdateAppCommandInput , UpdateAppCommandOutput } from "./commands/UpdateAppCommand" ; import { UpdateResiliencyPolicyCommand , UpdateResiliencyPolicyCommandInput , UpdateResiliencyPolicyCommandOutput , } from "./commands/UpdateResiliencyPolicyCommand" ; import { ResiliencehubClient } from "./ResiliencehubClient" ; /**
 * <p>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. </p>
 */ export class Resiliencehub extends ResiliencehubClient { /**
     * <p>Adds the resource mapping for the draft application version.</p>
     */ public addDraftAppVersionResourceMappings ( args , options ? ) ; public addDraftAppVersionResourceMappings ( args , cb ) ; public addDraftAppVersionResourceMappings ( args , options , cb ) ; public addDraftAppVersionResourceMappings ( args , optionsOrCb ? , cb ? ) { const command = new AddDraftAppVersionResourceMappingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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>
     *
     *          <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>
     */ public createApp ( args , options ? ) ; public createApp ( args , cb ) ; public createApp ( args , options , cb ) ; public createApp ( args , optionsOrCb ? , cb ? ) { const command = new CreateAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new recommendation template.</p>
     */ public createRecommendationTemplate ( args , options ? ) ; public createRecommendationTemplate ( args , cb ) ; public createRecommendationTemplate ( args , options , cb ) ; public createRecommendationTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateRecommendationTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a resiliency policy for an application.</p>
     */ public createResiliencyPolicy ( args , options ? ) ; public createResiliencyPolicy ( args , cb ) ; public createResiliencyPolicy ( args , options , cb ) ; public createResiliencyPolicy ( args , optionsOrCb ? , cb ? ) { const command = new CreateResiliencyPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an AWS Resilience Hub application. This is a destructive action that can't be
     *       undone.</p>
     */ public deleteApp ( args , options ? ) ; public deleteApp ( args , cb ) ; public deleteApp ( args , options , cb ) ; public deleteApp ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't
     *       be undone.</p>
     */ public deleteAppAssessment ( args , options ? ) ; public deleteAppAssessment ( args , cb ) ; public deleteAppAssessment ( args , options , cb ) ; public deleteAppAssessment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAppAssessmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a recommendation template. This is a destructive action that can't be
     *       undone.</p>
     */ public deleteRecommendationTemplate ( args , options ? ) ; public deleteRecommendationTemplate ( args , cb ) ; public deleteRecommendationTemplate ( args , options , cb ) ; public deleteRecommendationTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRecommendationTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a resiliency policy. This is a destructive action that can't be undone.</p>
     */ public deleteResiliencyPolicy ( args , options ? ) ; public deleteResiliencyPolicy ( args , cb ) ; public deleteResiliencyPolicy ( args , options , cb ) ; public deleteResiliencyPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResiliencyPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes an AWS Resilience Hub application.</p>
     */ public describeApp ( args , options ? ) ; public describeApp ( args , cb ) ; public describeApp ( args , options , cb ) ; public describeApp ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes an assessment for an AWS Resilience Hub application.</p>
     */ public describeAppAssessment ( args , options ? ) ; public describeAppAssessment ( args , cb ) ; public describeAppAssessment ( args , options , cb ) ; public describeAppAssessment ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAppAssessmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the resolution status for the specified resolution identifier for an application
     *       version. If <code>resolutionId</code> is not specified, the current resolution status is
     *       returned.</p>
     */ public describeAppVersionResourcesResolutionStatus ( args , options ? ) ; public describeAppVersionResourcesResolutionStatus ( args , cb ) ; public describeAppVersionResourcesResolutionStatus ( args , options , cb ) ; public describeAppVersionResourcesResolutionStatus ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAppVersionResourcesResolutionStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes details about an AWS Resilience Hub </p>
     */ public describeAppVersionTemplate ( args , options ? ) ; public describeAppVersionTemplate ( args , cb ) ; public describeAppVersionTemplate ( args , options , cb ) ; public describeAppVersionTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAppVersionTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the status of importing resources to an application version.</p>
     */ public describeDraftAppVersionResourcesImportStatus ( args , options ? ) ; public describeDraftAppVersionResourcesImportStatus ( args , cb ) ; public describeDraftAppVersionResourcesImportStatus ( args , options , cb ) ; public describeDraftAppVersionResourcesImportStatus ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDraftAppVersionResourcesImportStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public describeResiliencyPolicy ( args , options ? ) ; public describeResiliencyPolicy ( args , cb ) ; public describeResiliencyPolicy ( args , options , cb ) ; public describeResiliencyPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DescribeResiliencyPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Imports resources from sources such as a CloudFormation stack, resource-groups, or application
     *       registry app to a draft application version.</p>
     */ public importResourcesToDraftAppVersion ( args , options ? ) ; public importResourcesToDraftAppVersion ( args , cb ) ; public importResourcesToDraftAppVersion ( args , options , cb ) ; public importResourcesToDraftAppVersion ( args , optionsOrCb ? , cb ? ) { const command = new ImportResourcesToDraftAppVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the alarm recommendations for a AWS Resilience Hub application.</p>
     */ public listAlarmRecommendations ( args , options ? ) ; public listAlarmRecommendations ( args , cb ) ; public listAlarmRecommendations ( args , options , cb ) ; public listAlarmRecommendations ( args , optionsOrCb ? , cb ? ) { const command = new ListAlarmRecommendationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the assessments for an AWS Resilience Hub application. You can use request parameters to
     *       refine the results for the response object.</p>
     */ public listAppAssessments ( args , options ? ) ; public listAppAssessments ( args , cb ) ; public listAppAssessments ( args , options , cb ) ; public listAppAssessments ( args , optionsOrCb ? , cb ? ) { const command = new ListAppAssessmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the compliances for an AWS Resilience Hub component.</p>
     */ public listAppComponentCompliances ( args , options ? ) ; public listAppComponentCompliances ( args , cb ) ; public listAppComponentCompliances ( args , options , cb ) ; public listAppComponentCompliances ( args , optionsOrCb ? , cb ? ) { const command = new ListAppComponentCompliancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the recommendations for an AWS Resilience Hub component.</p>
     */ public listAppComponentRecommendations ( args , options ? ) ; public listAppComponentRecommendations ( args , cb ) ; public listAppComponentRecommendations ( args , options , cb ) ; public listAppComponentRecommendations ( args , optionsOrCb ? , cb ? ) { const command = new ListAppComponentRecommendationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists your Resilience Hub applications.</p>
     */ public listApps ( args , options ? ) ; public listApps ( args , cb ) ; public listApps ( args , options , cb ) ; public listApps ( args , optionsOrCb ? , cb ? ) { const command = new ListAppsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public listAppVersionResourceMappings ( args , options ? ) ; public listAppVersionResourceMappings ( args , cb ) ; public listAppVersionResourceMappings ( args , options , cb ) ; public listAppVersionResourceMappings ( args , optionsOrCb ? , cb ? ) { const command = new ListAppVersionResourceMappingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the resources in an application version.</p>
     */ public listAppVersionResources ( args , options ? ) ; public listAppVersionResources ( args , cb ) ; public listAppVersionResources ( args , options , cb ) ; public listAppVersionResources ( args , optionsOrCb ? , cb ? ) { const command = new ListAppVersionResourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the different versions for the Resilience Hub applications.</p>
     */ public listAppVersions ( args , options ? ) ; public listAppVersions ( args , cb ) ; public listAppVersions ( args , options , cb ) ; public listAppVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListAppVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the recommendation templates for the Resilience Hub applications.</p>
     */ public listRecommendationTemplates ( args , options ? ) ; public listRecommendationTemplates ( args , cb ) ; public listRecommendationTemplates ( args , options , cb ) ; public listRecommendationTemplates ( args , optionsOrCb ? , cb ? ) { const command = new ListRecommendationTemplatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the resiliency policies for the Resilience Hub applications.</p>
     */ public listResiliencyPolicies ( args , options ? ) ; public listResiliencyPolicies ( args , cb ) ; public listResiliencyPolicies ( args , options , cb ) ; public listResiliencyPolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListResiliencyPoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the standard operating procedure (SOP) recommendations for the Resilience Hub
     *       applications.</p>
     */ public listSopRecommendations ( args , options ? ) ; public listSopRecommendations ( args , cb ) ; public listSopRecommendations ( args , options , cb ) ; public listSopRecommendations ( args , optionsOrCb ? , cb ? ) { const command = new ListSopRecommendationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the suggested resiliency policies for the Resilience Hub applications.</p>
     */ public listSuggestedResiliencyPolicies ( args , options ? ) ; public listSuggestedResiliencyPolicies ( args , cb ) ; public listSuggestedResiliencyPolicies ( args , options , cb ) ; public listSuggestedResiliencyPolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListSuggestedResiliencyPoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags for your resources in your Resilience Hub applications.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the test recommendations for the Resilience Hub application.</p>
     */ public listTestRecommendations ( args , options ? ) ; public listTestRecommendations ( args , cb ) ; public listTestRecommendations ( args , options , cb ) ; public listTestRecommendations ( args , optionsOrCb ? , cb ? ) { const command = new ListTestRecommendationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public listUnsupportedAppVersionResources ( args , options ? ) ; public listUnsupportedAppVersionResources ( args , cb ) ; public listUnsupportedAppVersionResources ( args , options , cb ) ; public listUnsupportedAppVersionResources ( args , optionsOrCb ? , cb ? ) { const command = new ListUnsupportedAppVersionResourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Publishes a new version of a specific Resilience Hub application.</p>
     */ public publishAppVersion ( args , options ? ) ; public publishAppVersion ( args , cb ) ; public publishAppVersion ( args , options , cb ) ; public publishAppVersion ( args , optionsOrCb ? , cb ? ) { const command = new PublishAppVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or updates the app template for a draft version of a Resilience Hub app.</p>
     */ public putDraftAppVersionTemplate ( args , options ? ) ; public putDraftAppVersionTemplate ( args , cb ) ; public putDraftAppVersionTemplate ( args , options , cb ) ; public putDraftAppVersionTemplate ( args , optionsOrCb ? , cb ? ) { const command = new PutDraftAppVersionTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes resource mappings from a draft application version.</p>
     */ public removeDraftAppVersionResourceMappings ( args , options ? ) ; public removeDraftAppVersionResourceMappings ( args , cb ) ; public removeDraftAppVersionResourceMappings ( args , options , cb ) ; public removeDraftAppVersionResourceMappings ( args , optionsOrCb ? , cb ? ) { const command = new RemoveDraftAppVersionResourceMappingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resolves the resources for an application version.</p>
     */ public resolveAppVersionResources ( args , options ? ) ; public resolveAppVersionResources ( args , cb ) ; public resolveAppVersionResources ( args , options , cb ) ; public resolveAppVersionResources ( args , optionsOrCb ? , cb ? ) { const command = new ResolveAppVersionResourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new application assessment for an application.</p>
     */ public startAppAssessment ( args , options ? ) ; public startAppAssessment ( args , cb ) ; public startAppAssessment ( args , options , cb ) ; public startAppAssessment ( args , optionsOrCb ? , cb ? ) { const command = new StartAppAssessmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Applies one or more tags to a resource.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes one or more tags from a resource.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an application.</p>
     */ public updateApp ( args , options ? ) ; public updateApp ( args , cb ) ; public updateApp ( args , options , cb ) ; public updateApp ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAppCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a resiliency policy.</p>
     */ public updateResiliencyPolicy ( args , options ? ) ; public updateResiliencyPolicy ( args , cb ) ; public updateResiliencyPolicy ( args , options , cb ) ; public updateResiliencyPolicy ( args , optionsOrCb ? , cb ? ) { const command = new UpdateResiliencyPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }