import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { BackupClient } from "./BackupClient" ; import { CreateBackupPlanCommand , CreateBackupPlanCommandInput , CreateBackupPlanCommandOutput , } from "./commands/CreateBackupPlanCommand" ; import { CreateBackupSelectionCommand , CreateBackupSelectionCommandInput , CreateBackupSelectionCommandOutput , } from "./commands/CreateBackupSelectionCommand" ; import { CreateBackupVaultCommand , CreateBackupVaultCommandInput , CreateBackupVaultCommandOutput , } from "./commands/CreateBackupVaultCommand" ; import { CreateFrameworkCommand , CreateFrameworkCommandInput , CreateFrameworkCommandOutput , } from "./commands/CreateFrameworkCommand" ; import { CreateReportPlanCommand , CreateReportPlanCommandInput , CreateReportPlanCommandOutput , } from "./commands/CreateReportPlanCommand" ; import { DeleteBackupPlanCommand , DeleteBackupPlanCommandInput , DeleteBackupPlanCommandOutput , } from "./commands/DeleteBackupPlanCommand" ; import { DeleteBackupSelectionCommand , DeleteBackupSelectionCommandInput , DeleteBackupSelectionCommandOutput , } from "./commands/DeleteBackupSelectionCommand" ; import { DeleteBackupVaultAccessPolicyCommand , DeleteBackupVaultAccessPolicyCommandInput , DeleteBackupVaultAccessPolicyCommandOutput , } from "./commands/DeleteBackupVaultAccessPolicyCommand" ; import { DeleteBackupVaultCommand , DeleteBackupVaultCommandInput , DeleteBackupVaultCommandOutput , } from "./commands/DeleteBackupVaultCommand" ; import { DeleteBackupVaultLockConfigurationCommand , DeleteBackupVaultLockConfigurationCommandInput , DeleteBackupVaultLockConfigurationCommandOutput , } from "./commands/DeleteBackupVaultLockConfigurationCommand" ; import { DeleteBackupVaultNotificationsCommand , DeleteBackupVaultNotificationsCommandInput , DeleteBackupVaultNotificationsCommandOutput , } from "./commands/DeleteBackupVaultNotificationsCommand" ; import { DeleteFrameworkCommand , DeleteFrameworkCommandInput , DeleteFrameworkCommandOutput , } from "./commands/DeleteFrameworkCommand" ; import { DeleteRecoveryPointCommand , DeleteRecoveryPointCommandInput , DeleteRecoveryPointCommandOutput , } from "./commands/DeleteRecoveryPointCommand" ; import { DeleteReportPlanCommand , DeleteReportPlanCommandInput , DeleteReportPlanCommandOutput , } from "./commands/DeleteReportPlanCommand" ; import { DescribeBackupJobCommand , DescribeBackupJobCommandInput , DescribeBackupJobCommandOutput , } from "./commands/DescribeBackupJobCommand" ; import { DescribeBackupVaultCommand , DescribeBackupVaultCommandInput , DescribeBackupVaultCommandOutput , } from "./commands/DescribeBackupVaultCommand" ; import { DescribeCopyJobCommand , DescribeCopyJobCommandInput , DescribeCopyJobCommandOutput , } from "./commands/DescribeCopyJobCommand" ; import { DescribeFrameworkCommand , DescribeFrameworkCommandInput , DescribeFrameworkCommandOutput , } from "./commands/DescribeFrameworkCommand" ; import { DescribeGlobalSettingsCommand , DescribeGlobalSettingsCommandInput , DescribeGlobalSettingsCommandOutput , } from "./commands/DescribeGlobalSettingsCommand" ; import { DescribeProtectedResourceCommand , DescribeProtectedResourceCommandInput , DescribeProtectedResourceCommandOutput , } from "./commands/DescribeProtectedResourceCommand" ; import { DescribeRecoveryPointCommand , DescribeRecoveryPointCommandInput , DescribeRecoveryPointCommandOutput , } from "./commands/DescribeRecoveryPointCommand" ; import { DescribeRegionSettingsCommand , DescribeRegionSettingsCommandInput , DescribeRegionSettingsCommandOutput , } from "./commands/DescribeRegionSettingsCommand" ; import { DescribeReportJobCommand , DescribeReportJobCommandInput , DescribeReportJobCommandOutput , } from "./commands/DescribeReportJobCommand" ; import { DescribeReportPlanCommand , DescribeReportPlanCommandInput , DescribeReportPlanCommandOutput , } from "./commands/DescribeReportPlanCommand" ; import { DescribeRestoreJobCommand , DescribeRestoreJobCommandInput , DescribeRestoreJobCommandOutput , } from "./commands/DescribeRestoreJobCommand" ; import { DisassociateRecoveryPointCommand , DisassociateRecoveryPointCommandInput , DisassociateRecoveryPointCommandOutput , } from "./commands/DisassociateRecoveryPointCommand" ; import { ExportBackupPlanTemplateCommand , ExportBackupPlanTemplateCommandInput , ExportBackupPlanTemplateCommandOutput , } from "./commands/ExportBackupPlanTemplateCommand" ; import { GetBackupPlanCommand , GetBackupPlanCommandInput , GetBackupPlanCommandOutput , } from "./commands/GetBackupPlanCommand" ; import { GetBackupPlanFromJSONCommand , GetBackupPlanFromJSONCommandInput , GetBackupPlanFromJSONCommandOutput , } from "./commands/GetBackupPlanFromJSONCommand" ; import { GetBackupPlanFromTemplateCommand , GetBackupPlanFromTemplateCommandInput , GetBackupPlanFromTemplateCommandOutput , } from "./commands/GetBackupPlanFromTemplateCommand" ; import { GetBackupSelectionCommand , GetBackupSelectionCommandInput , GetBackupSelectionCommandOutput , } from "./commands/GetBackupSelectionCommand" ; import { GetBackupVaultAccessPolicyCommand , GetBackupVaultAccessPolicyCommandInput , GetBackupVaultAccessPolicyCommandOutput , } from "./commands/GetBackupVaultAccessPolicyCommand" ; import { GetBackupVaultNotificationsCommand , GetBackupVaultNotificationsCommandInput , GetBackupVaultNotificationsCommandOutput , } from "./commands/GetBackupVaultNotificationsCommand" ; import { GetRecoveryPointRestoreMetadataCommand , GetRecoveryPointRestoreMetadataCommandInput , GetRecoveryPointRestoreMetadataCommandOutput , } from "./commands/GetRecoveryPointRestoreMetadataCommand" ; import { GetSupportedResourceTypesCommand , GetSupportedResourceTypesCommandInput , GetSupportedResourceTypesCommandOutput , } from "./commands/GetSupportedResourceTypesCommand" ; import { ListBackupJobsCommand , ListBackupJobsCommandInput , ListBackupJobsCommandOutput , } from "./commands/ListBackupJobsCommand" ; import { ListBackupPlansCommand , ListBackupPlansCommandInput , ListBackupPlansCommandOutput , } from "./commands/ListBackupPlansCommand" ; import { ListBackupPlanTemplatesCommand , ListBackupPlanTemplatesCommandInput , ListBackupPlanTemplatesCommandOutput , } from "./commands/ListBackupPlanTemplatesCommand" ; import { ListBackupPlanVersionsCommand , ListBackupPlanVersionsCommandInput , ListBackupPlanVersionsCommandOutput , } from "./commands/ListBackupPlanVersionsCommand" ; import { ListBackupSelectionsCommand , ListBackupSelectionsCommandInput , ListBackupSelectionsCommandOutput , } from "./commands/ListBackupSelectionsCommand" ; import { ListBackupVaultsCommand , ListBackupVaultsCommandInput , ListBackupVaultsCommandOutput , } from "./commands/ListBackupVaultsCommand" ; import { ListCopyJobsCommand , ListCopyJobsCommandInput , ListCopyJobsCommandOutput , } from "./commands/ListCopyJobsCommand" ; import { ListFrameworksCommand , ListFrameworksCommandInput , ListFrameworksCommandOutput , } from "./commands/ListFrameworksCommand" ; import { ListProtectedResourcesCommand , ListProtectedResourcesCommandInput , ListProtectedResourcesCommandOutput , } from "./commands/ListProtectedResourcesCommand" ; import { ListRecoveryPointsByBackupVaultCommand , ListRecoveryPointsByBackupVaultCommandInput , ListRecoveryPointsByBackupVaultCommandOutput , } from "./commands/ListRecoveryPointsByBackupVaultCommand" ; import { ListRecoveryPointsByResourceCommand , ListRecoveryPointsByResourceCommandInput , ListRecoveryPointsByResourceCommandOutput , } from "./commands/ListRecoveryPointsByResourceCommand" ; import { ListReportJobsCommand , ListReportJobsCommandInput , ListReportJobsCommandOutput , } from "./commands/ListReportJobsCommand" ; import { ListReportPlansCommand , ListReportPlansCommandInput , ListReportPlansCommandOutput , } from "./commands/ListReportPlansCommand" ; import { ListRestoreJobsCommand , ListRestoreJobsCommandInput , ListRestoreJobsCommandOutput , } from "./commands/ListRestoreJobsCommand" ; import { ListTagsCommand , ListTagsCommandInput , ListTagsCommandOutput } from "./commands/ListTagsCommand" ; import { PutBackupVaultAccessPolicyCommand , PutBackupVaultAccessPolicyCommandInput , PutBackupVaultAccessPolicyCommandOutput , } from "./commands/PutBackupVaultAccessPolicyCommand" ; import { PutBackupVaultLockConfigurationCommand , PutBackupVaultLockConfigurationCommandInput , PutBackupVaultLockConfigurationCommandOutput , } from "./commands/PutBackupVaultLockConfigurationCommand" ; import { PutBackupVaultNotificationsCommand , PutBackupVaultNotificationsCommandInput , PutBackupVaultNotificationsCommandOutput , } from "./commands/PutBackupVaultNotificationsCommand" ; import { StartBackupJobCommand , StartBackupJobCommandInput , StartBackupJobCommandOutput , } from "./commands/StartBackupJobCommand" ; import { StartCopyJobCommand , StartCopyJobCommandInput , StartCopyJobCommandOutput , } from "./commands/StartCopyJobCommand" ; import { StartReportJobCommand , StartReportJobCommandInput , StartReportJobCommandOutput , } from "./commands/StartReportJobCommand" ; import { StartRestoreJobCommand , StartRestoreJobCommandInput , StartRestoreJobCommandOutput , } from "./commands/StartRestoreJobCommand" ; import { StopBackupJobCommand , StopBackupJobCommandInput , StopBackupJobCommandOutput , } from "./commands/StopBackupJobCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateBackupPlanCommand , UpdateBackupPlanCommandInput , UpdateBackupPlanCommandOutput , } from "./commands/UpdateBackupPlanCommand" ; import { UpdateFrameworkCommand , UpdateFrameworkCommandInput , UpdateFrameworkCommandOutput , } from "./commands/UpdateFrameworkCommand" ; import { UpdateGlobalSettingsCommand , UpdateGlobalSettingsCommandInput , UpdateGlobalSettingsCommandOutput , } from "./commands/UpdateGlobalSettingsCommand" ; import { UpdateRecoveryPointLifecycleCommand , UpdateRecoveryPointLifecycleCommandInput , UpdateRecoveryPointLifecycleCommandOutput , } from "./commands/UpdateRecoveryPointLifecycleCommand" ; import { UpdateRegionSettingsCommand , UpdateRegionSettingsCommandInput , UpdateRegionSettingsCommandOutput , } from "./commands/UpdateRegionSettingsCommand" ; import { UpdateReportPlanCommand , UpdateReportPlanCommandInput , UpdateReportPlanCommandOutput , } from "./commands/UpdateReportPlanCommand" ; /**
 * <fullname>Backup</fullname>
 *          <p>Backup is a unified backup service designed to protect Amazon Web Services
 *          services and their associated data. Backup simplifies the creation, migration,
 *          restoration, and deletion of backups, while also providing reporting and
 *          auditing.</p>
 */ export class Backup extends BackupClient { /**
     * <p>Creates a backup plan using a backup plan name and backup rules. A backup plan is a
     *          document that contains information that Backup uses to schedule tasks that
     *          create recovery points for resources.</p>
     *          <p>If you call <code>CreateBackupPlan</code> with a plan that already exists, you receive
     *          an <code>AlreadyExistsException</code> exception.</p>
     */ public createBackupPlan ( args , options ? ) ; public createBackupPlan ( args , cb ) ; public createBackupPlan ( args , options , cb ) ; public createBackupPlan ( args , optionsOrCb ? , cb ? ) { const command = new CreateBackupPlanCommand ( 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 JSON document that specifies a set of resources to assign to a backup plan.
     *          For examples, see <a href="https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json">Assigning resources
     *             programmatically</a>. </p>
     */ public createBackupSelection ( args , options ? ) ; public createBackupSelection ( args , cb ) ; public createBackupSelection ( args , options , cb ) ; public createBackupSelection ( args , optionsOrCb ? , cb ? ) { const command = new CreateBackupSelectionCommand ( 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 logical container where backups are stored. A <code>CreateBackupVault</code>
     *          request includes a name, optionally one or more resource tags, an encryption key, and a
     *          request ID.</p>
     *          <note>
     *             <p>Do not include sensitive data, such as passport numbers, in the name of a backup
     *             vault.</p>
     *          </note>
     */ public createBackupVault ( args , options ? ) ; public createBackupVault ( args , cb ) ; public createBackupVault ( args , options , cb ) ; public createBackupVault ( args , optionsOrCb ? , cb ? ) { const command = new CreateBackupVaultCommand ( 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 framework with one or more controls. A framework is a collection of controls
     *          that you can use to evaluate your backup practices. By using pre-built customizable
     *          controls to define your policies, you can evaluate whether your backup practices comply
     *          with your policies and which resources are not yet in compliance.</p>
     */ public createFramework ( args , options ? ) ; public createFramework ( args , cb ) ; public createFramework ( args , options , cb ) ; public createFramework ( args , optionsOrCb ? , cb ? ) { const command = new CreateFrameworkCommand ( 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 report plan. A report plan is a document that contains information about the
     *          contents of the report and where Backup will deliver it.</p>
     *          <p>If you call <code>CreateReportPlan</code> with a plan that already exists, you receive
     *          an <code>AlreadyExistsException</code> exception.</p>
     */ public createReportPlan ( args , options ? ) ; public createReportPlan ( args , cb ) ; public createReportPlan ( args , options , cb ) ; public createReportPlan ( args , optionsOrCb ? , cb ? ) { const command = new CreateReportPlanCommand ( 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 backup plan. A backup plan can only be deleted after all associated selections
     *          of resources have been deleted. Deleting a backup plan deletes the current version of a
     *          backup plan. Previous versions, if any, will still exist.</p>
     */ public deleteBackupPlan ( args , options ? ) ; public deleteBackupPlan ( args , cb ) ; public deleteBackupPlan ( args , options , cb ) ; public deleteBackupPlan ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBackupPlanCommand ( 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 the resource selection associated with a backup plan that is specified by the
     *             <code>SelectionId</code>.</p>
     */ public deleteBackupSelection ( args , options ? ) ; public deleteBackupSelection ( args , cb ) ; public deleteBackupSelection ( args , options , cb ) ; public deleteBackupSelection ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBackupSelectionCommand ( 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 the backup vault identified by its name. A vault can be deleted only if it is
     *          empty.</p>
     */ public deleteBackupVault ( args , options ? ) ; public deleteBackupVault ( args , cb ) ; public deleteBackupVault ( args , options , cb ) ; public deleteBackupVault ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBackupVaultCommand ( 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 the policy document that manages permissions on a backup vault.</p>
     */ public deleteBackupVaultAccessPolicy ( args , options ? ) ; public deleteBackupVaultAccessPolicy ( args , cb ) ; public deleteBackupVaultAccessPolicy ( args , options , cb ) ; public deleteBackupVaultAccessPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBackupVaultAccessPolicyCommand ( 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 Backup Vault Lock from a backup vault specified by a backup vault
     *          name.</p>
     *          <p>If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using
     *          API operations, and you will receive an <code>InvalidRequestException</code> if you attempt
     *          to do so. For more information, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html">Vault Lock</a> in the
     *                <i>Backup Developer Guide</i>.</p>
     */ public deleteBackupVaultLockConfiguration ( args , options ? ) ; public deleteBackupVaultLockConfiguration ( args , cb ) ; public deleteBackupVaultLockConfiguration ( args , options , cb ) ; public deleteBackupVaultLockConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBackupVaultLockConfigurationCommand ( 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 event notifications for the specified backup vault.</p>
     */ public deleteBackupVaultNotifications ( args , options ? ) ; public deleteBackupVaultNotifications ( args , cb ) ; public deleteBackupVaultNotifications ( args , options , cb ) ; public deleteBackupVaultNotifications ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBackupVaultNotificationsCommand ( 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 the framework specified by a framework name.</p>
     */ public deleteFramework ( args , options ? ) ; public deleteFramework ( args , cb ) ; public deleteFramework ( args , options , cb ) ; public deleteFramework ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFrameworkCommand ( 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 the recovery point specified by a recovery point ID.</p>
     *          <p>If the recovery point ID belongs to a continuous backup, calling this endpoint deletes
     *          the existing continuous backup and stops future continuous backup.</p>
     */ public deleteRecoveryPoint ( args , options ? ) ; public deleteRecoveryPoint ( args , cb ) ; public deleteRecoveryPoint ( args , options , cb ) ; public deleteRecoveryPoint ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRecoveryPointCommand ( 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 the report plan specified by a report plan name.</p>
     */ public deleteReportPlan ( args , options ? ) ; public deleteReportPlan ( args , cb ) ; public deleteReportPlan ( args , options , cb ) ; public deleteReportPlan ( args , optionsOrCb ? , cb ? ) { const command = new DeleteReportPlanCommand ( 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 backup job details for the specified <code>BackupJobId</code>.</p>
     */ public describeBackupJob ( args , options ? ) ; public describeBackupJob ( args , cb ) ; public describeBackupJob ( args , options , cb ) ; public describeBackupJob ( args , optionsOrCb ? , cb ? ) { const command = new DescribeBackupJobCommand ( 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 metadata about a backup vault specified by its name.</p>
     */ public describeBackupVault ( args , options ? ) ; public describeBackupVault ( args , cb ) ; public describeBackupVault ( args , options , cb ) ; public describeBackupVault ( args , optionsOrCb ? , cb ? ) { const command = new DescribeBackupVaultCommand ( 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 metadata associated with creating a copy of a resource.</p>
     */ public describeCopyJob ( args , options ? ) ; public describeCopyJob ( args , cb ) ; public describeCopyJob ( args , options , cb ) ; public describeCopyJob ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCopyJobCommand ( 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 framework details for the specified <code>FrameworkName</code>.</p>
     */ public describeFramework ( args , options ? ) ; public describeFramework ( args , cb ) ; public describeFramework ( args , options , cb ) ; public describeFramework ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFrameworkCommand ( 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 whether the Amazon Web Services account is opted in to cross-account backup.
     *          Returns an error if the account is not a member of an Organizations organization.
     *          Example: <code>describe-global-settings --region us-west-2</code>
     *          </p>
     */ public describeGlobalSettings ( args , options ? ) ; public describeGlobalSettings ( args , cb ) ; public describeGlobalSettings ( args , options , cb ) ; public describeGlobalSettings ( args , optionsOrCb ? , cb ? ) { const command = new DescribeGlobalSettingsCommand ( 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 information about a saved resource, including the last time it was backed up,
     *          its Amazon Resource Name (ARN), and the Amazon Web Services service type of the saved
     *          resource.</p>
     */ public describeProtectedResource ( args , options ? ) ; public describeProtectedResource ( args , cb ) ; public describeProtectedResource ( args , options , cb ) ; public describeProtectedResource ( args , optionsOrCb ? , cb ? ) { const command = new DescribeProtectedResourceCommand ( 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 metadata associated with a recovery point, including ID, status, encryption, and
     *          lifecycle.</p>
     */ public describeRecoveryPoint ( args , options ? ) ; public describeRecoveryPoint ( args , cb ) ; public describeRecoveryPoint ( args , options , cb ) ; public describeRecoveryPoint ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRecoveryPointCommand ( 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 current service opt-in settings for the Region. If service opt-in is enabled
     *          for a service, Backup tries to protect that service's resources in this Region,
     *          when the resource is included in an on-demand backup or scheduled backup plan. Otherwise,
     *             Backup does not try to protect that service's resources in this
     *          Region.</p>
     */ public describeRegionSettings ( args , options ? ) ; public describeRegionSettings ( args , cb ) ; public describeRegionSettings ( args , options , cb ) ; public describeRegionSettings ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRegionSettingsCommand ( 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 details associated with creating a report as specified by its
     *             <code>ReportJobId</code>.</p>
     */ public describeReportJob ( args , options ? ) ; public describeReportJob ( args , cb ) ; public describeReportJob ( args , options , cb ) ; public describeReportJob ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReportJobCommand ( 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 a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.</p>
     */ public describeReportPlan ( args , options ? ) ; public describeReportPlan ( args , cb ) ; public describeReportPlan ( args , options , cb ) ; public describeReportPlan ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReportPlanCommand ( 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 metadata associated with a restore job that is specified by a job ID.</p>
     */ public describeRestoreJob ( args , options ? ) ; public describeRestoreJob ( args , cb ) ; public describeRestoreJob ( args , options , cb ) ; public describeRestoreJob ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRestoreJobCommand ( 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 the specified continuous backup recovery point from Backup and
     *          releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the
     *          lifecycle that you specified in your original backup plan.</p>
     *          <p>Does not support snapshot backup recovery points.</p>
     */ public disassociateRecoveryPoint ( args , options ? ) ; public disassociateRecoveryPoint ( args , cb ) ; public disassociateRecoveryPoint ( args , options , cb ) ; public disassociateRecoveryPoint ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateRecoveryPointCommand ( 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 backup plan that is specified by the plan ID as a backup template.</p>
     */ public exportBackupPlanTemplate ( args , options ? ) ; public exportBackupPlanTemplate ( args , cb ) ; public exportBackupPlanTemplate ( args , options , cb ) ; public exportBackupPlanTemplate ( args , optionsOrCb ? , cb ? ) { const command = new ExportBackupPlanTemplateCommand ( 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 <code>BackupPlan</code> details for the specified <code>BackupPlanId</code>. The
     *          details are the body of a backup plan in JSON format, in addition to plan metadata.</p>
     */ public getBackupPlan ( args , options ? ) ; public getBackupPlan ( args , cb ) ; public getBackupPlan ( args , options , cb ) ; public getBackupPlan ( args , optionsOrCb ? , cb ? ) { const command = new GetBackupPlanCommand ( 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 a valid JSON document specifying a backup plan or an error.</p>
     */ public getBackupPlanFromJSON ( args , options ? ) ; public getBackupPlanFromJSON ( args , cb ) ; public getBackupPlanFromJSON ( args , options , cb ) ; public getBackupPlanFromJSON ( args , optionsOrCb ? , cb ? ) { const command = new GetBackupPlanFromJSONCommand ( 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 template specified by its <code>templateId</code> as a backup plan.</p>
     */ public getBackupPlanFromTemplate ( args , options ? ) ; public getBackupPlanFromTemplate ( args , cb ) ; public getBackupPlanFromTemplate ( args , options , cb ) ; public getBackupPlanFromTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetBackupPlanFromTemplateCommand ( 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 selection metadata and a document in JSON format that specifies a list of
     *          resources that are associated with a backup plan.</p>
     */ public getBackupSelection ( args , options ? ) ; public getBackupSelection ( args , cb ) ; public getBackupSelection ( args , options , cb ) ; public getBackupSelection ( args , optionsOrCb ? , cb ? ) { const command = new GetBackupSelectionCommand ( 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 access policy document that is associated with the named backup
     *          vault.</p>
     */ public getBackupVaultAccessPolicy ( args , options ? ) ; public getBackupVaultAccessPolicy ( args , cb ) ; public getBackupVaultAccessPolicy ( args , options , cb ) ; public getBackupVaultAccessPolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetBackupVaultAccessPolicyCommand ( 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 event notifications for the specified backup vault.</p>
     */ public getBackupVaultNotifications ( args , options ? ) ; public getBackupVaultNotifications ( args , cb ) ; public getBackupVaultNotifications ( args , options , cb ) ; public getBackupVaultNotifications ( args , optionsOrCb ? , cb ? ) { const command = new GetBackupVaultNotificationsCommand ( 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 a set of metadata key-value pairs that were used to create the backup.</p>
     */ public getRecoveryPointRestoreMetadata ( args , options ? ) ; public getRecoveryPointRestoreMetadata ( args , cb ) ; public getRecoveryPointRestoreMetadata ( args , options , cb ) ; public getRecoveryPointRestoreMetadata ( args , optionsOrCb ? , cb ? ) { const command = new GetRecoveryPointRestoreMetadataCommand ( 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 Amazon Web Services resource types supported by Backup.</p>
     */ public getSupportedResourceTypes ( args , options ? ) ; public getSupportedResourceTypes ( args , cb ) ; public getSupportedResourceTypes ( args , options , cb ) ; public getSupportedResourceTypes ( args , optionsOrCb ? , cb ? ) { const command = new GetSupportedResourceTypesCommand ( 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 a list of existing backup jobs for an authenticated account for the last 30
     *          days. For a longer period of time, consider using these <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html">monitoring tools</a>.</p>
     */ public listBackupJobs ( args , options ? ) ; public listBackupJobs ( args , cb ) ; public listBackupJobs ( args , options , cb ) ; public listBackupJobs ( args , optionsOrCb ? , cb ? ) { const command = new ListBackupJobsCommand ( 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 a list of all active backup plans for an authenticated account. The list
     *          contains information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion
     *          dates, version IDs, plan names, and creator request IDs.</p>
     */ public listBackupPlans ( args , options ? ) ; public listBackupPlans ( args , cb ) ; public listBackupPlans ( args , options , cb ) ; public listBackupPlans ( args , optionsOrCb ? , cb ? ) { const command = new ListBackupPlansCommand ( 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 metadata of your saved backup plan templates, including the template ID, name,
     *          and the creation and deletion dates.</p>
     */ public listBackupPlanTemplates ( args , options ? ) ; public listBackupPlanTemplates ( args , cb ) ; public listBackupPlanTemplates ( args , options , cb ) ; public listBackupPlanTemplates ( args , optionsOrCb ? , cb ? ) { const command = new ListBackupPlanTemplatesCommand ( 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 version metadata of your backup plans, including Amazon Resource Names (ARNs),
     *          backup plan IDs, creation and deletion dates, plan names, and version IDs.</p>
     */ public listBackupPlanVersions ( args , options ? ) ; public listBackupPlanVersions ( args , cb ) ; public listBackupPlanVersions ( args , options , cb ) ; public listBackupPlanVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListBackupPlanVersionsCommand ( 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 an array containing metadata of the resources associated with the target backup
     *          plan.</p>
     */ public listBackupSelections ( args , options ? ) ; public listBackupSelections ( args , cb ) ; public listBackupSelections ( args , options , cb ) ; public listBackupSelections ( args , optionsOrCb ? , cb ? ) { const command = new ListBackupSelectionsCommand ( 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 a list of recovery point storage containers along with information about
     *          them.</p>
     */ public listBackupVaults ( args , options ? ) ; public listBackupVaults ( args , cb ) ; public listBackupVaults ( args , options , cb ) ; public listBackupVaults ( args , optionsOrCb ? , cb ? ) { const command = new ListBackupVaultsCommand ( 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 metadata about your copy jobs.</p>
     */ public listCopyJobs ( args , options ? ) ; public listCopyJobs ( args , cb ) ; public listCopyJobs ( args , options , cb ) ; public listCopyJobs ( args , optionsOrCb ? , cb ? ) { const command = new ListCopyJobsCommand ( 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 a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.</p>
     */ public listFrameworks ( args , options ? ) ; public listFrameworks ( args , cb ) ; public listFrameworks ( args , options , cb ) ; public listFrameworks ( args , optionsOrCb ? , cb ? ) { const command = new ListFrameworksCommand ( 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 an array of resources successfully backed up by Backup, including
     *          the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a
     *          resource type.</p>
     */ public listProtectedResources ( args , options ? ) ; public listProtectedResources ( args , cb ) ; public listProtectedResources ( args , options , cb ) ; public listProtectedResources ( args , optionsOrCb ? , cb ? ) { const command = new ListProtectedResourcesCommand ( 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 detailed information about the recovery points stored in a backup vault.</p>
     */ public listRecoveryPointsByBackupVault ( args , options ? ) ; public listRecoveryPointsByBackupVault ( args , cb ) ; public listRecoveryPointsByBackupVault ( args , options , cb ) ; public listRecoveryPointsByBackupVault ( args , optionsOrCb ? , cb ? ) { const command = new ListRecoveryPointsByBackupVaultCommand ( 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 detailed information about all the recovery points of the type specified by a
     *          resource Amazon Resource Name (ARN).</p>
     *          <note>
     *             <p>For Amazon EFS and Amazon EC2, this action only lists recovery points
     *             created by Backup.</p>
     *          </note>
     */ public listRecoveryPointsByResource ( args , options ? ) ; public listRecoveryPointsByResource ( args , cb ) ; public listRecoveryPointsByResource ( args , options , cb ) ; public listRecoveryPointsByResource ( args , optionsOrCb ? , cb ? ) { const command = new ListRecoveryPointsByResourceCommand ( 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 details about your report jobs.</p>
     */ public listReportJobs ( args , options ? ) ; public listReportJobs ( args , cb ) ; public listReportJobs ( args , options , cb ) ; public listReportJobs ( args , optionsOrCb ? , cb ? ) { const command = new ListReportJobsCommand ( 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 a list of your report plans. For detailed information about a single report
     *          plan, use <code>DescribeReportPlan</code>.</p>
     */ public listReportPlans ( args , options ? ) ; public listReportPlans ( args , cb ) ; public listReportPlans ( args , options , cb ) ; public listReportPlans ( args , optionsOrCb ? , cb ? ) { const command = new ListReportPlansCommand ( 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 a list of jobs that Backup initiated to restore a saved resource,
     *          including details about the recovery process.</p>
     */ public listRestoreJobs ( args , options ? ) ; public listRestoreJobs ( args , cb ) ; public listRestoreJobs ( args , options , cb ) ; public listRestoreJobs ( args , optionsOrCb ? , cb ? ) { const command = new ListRestoreJobsCommand ( 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 a list of key-value pairs assigned to a target recovery point, backup plan, or
     *          backup vault.</p>
     *          <note>
     *             <p>
     *                <code>ListTags</code> are currently only supported with Amazon EFS
     *             backups.</p>
     *          </note>
     */ public listTags ( args , options ? ) ; public listTags ( args , cb ) ; public listTags ( args , options , cb ) ; public listTags ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsCommand ( 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>Sets a resource-based policy that is used to manage access permissions on the target
     *          backup vault. Requires a backup vault name and an access policy document in JSON
     *          format.</p>
     */ public putBackupVaultAccessPolicy ( args , options ? ) ; public putBackupVaultAccessPolicy ( args , cb ) ; public putBackupVaultAccessPolicy ( args , options , cb ) ; public putBackupVaultAccessPolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutBackupVaultAccessPolicyCommand ( 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 Backup Vault Lock to a backup vault, preventing attempts to delete
     *          any recovery point stored in or created in a backup vault. Vault Lock also prevents
     *          attempts to update the lifecycle policy that controls the retention period of any recovery
     *          point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and
     *          maximum retention period for future backup and copy jobs that target a backup vault.</p>
     *          <note>
     *             <p>Backup Vault Lock has yet to receive a third-party assessment for SEC
     *             17a-4(f) and CFTC.</p>
     *          </note>
     */ public putBackupVaultLockConfiguration ( args , options ? ) ; public putBackupVaultLockConfiguration ( args , cb ) ; public putBackupVaultLockConfiguration ( args , options , cb ) ; public putBackupVaultLockConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new PutBackupVaultLockConfigurationCommand ( 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>Turns on notifications on a backup vault for the specified topic and events.</p>
     */ public putBackupVaultNotifications ( args , options ? ) ; public putBackupVaultNotifications ( args , cb ) ; public putBackupVaultNotifications ( args , options , cb ) ; public putBackupVaultNotifications ( args , optionsOrCb ? , cb ? ) { const command = new PutBackupVaultNotificationsCommand ( 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>Starts an on-demand backup job for the specified resource.</p>
     */ public startBackupJob ( args , options ? ) ; public startBackupJob ( args , cb ) ; public startBackupJob ( args , options , cb ) ; public startBackupJob ( args , optionsOrCb ? , cb ? ) { const command = new StartBackupJobCommand ( 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>Starts a job to create a one-time copy of the specified resource.</p>
     *          <p>Does not support continuous backups.</p>
     */ public startCopyJob ( args , options ? ) ; public startCopyJob ( args , cb ) ; public startCopyJob ( args , options , cb ) ; public startCopyJob ( args , optionsOrCb ? , cb ? ) { const command = new StartCopyJobCommand ( 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>Starts an on-demand report job for the specified report plan.</p>
     */ public startReportJob ( args , options ? ) ; public startReportJob ( args , cb ) ; public startReportJob ( args , options , cb ) ; public startReportJob ( args , optionsOrCb ? , cb ? ) { const command = new StartReportJobCommand ( 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>Recovers the saved resource identified by an Amazon Resource Name (ARN).</p>
     */ public startRestoreJob ( args , options ? ) ; public startRestoreJob ( args , cb ) ; public startRestoreJob ( args , options , cb ) ; public startRestoreJob ( args , optionsOrCb ? , cb ? ) { const command = new StartRestoreJobCommand ( 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>Attempts to cancel a job to create a one-time backup of a resource.</p>
     */ public stopBackupJob ( args , options ? ) ; public stopBackupJob ( args , cb ) ; public stopBackupJob ( args , options , cb ) ; public stopBackupJob ( args , optionsOrCb ? , cb ? ) { const command = new StopBackupJobCommand ( 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>Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault
     *          identified by an Amazon Resource Name (ARN).</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 a set of key-value pairs from a recovery point, backup plan, or backup vault
     *          identified by an Amazon Resource Name (ARN)</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 existing backup plan identified by its <code>backupPlanId</code> with the
     *          input document in JSON format. The new version is uniquely identified by a
     *             <code>VersionId</code>.</p>
     */ public updateBackupPlan ( args , options ? ) ; public updateBackupPlan ( args , cb ) ; public updateBackupPlan ( args , options , cb ) ; public updateBackupPlan ( args , optionsOrCb ? , cb ? ) { const command = new UpdateBackupPlanCommand ( 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 existing framework identified by its <code>FrameworkName</code> with the
     *          input document in JSON format.</p>
     */ public updateFramework ( args , options ? ) ; public updateFramework ( args , cb ) ; public updateFramework ( args , options , cb ) ; public updateFramework ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFrameworkCommand ( 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 whether the Amazon Web Services account is opted in to cross-account backup.
     *          Returns an error if the account is not an Organizations management account. Use the
     *             <code>DescribeGlobalSettings</code> API to determine the current settings.</p>
     */ public updateGlobalSettings ( args , options ? ) ; public updateGlobalSettings ( args , cb ) ; public updateGlobalSettings ( args , options , cb ) ; public updateGlobalSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateGlobalSettingsCommand ( 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>Sets the transition lifecycle of a recovery point.</p>
     *          <p>The lifecycle defines when a protected resource is transitioned to cold storage and when
     *          it expires. Backup transitions and expires backups automatically according to
     *          the lifecycle that you define.</p>
     *          <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
     *          days. Therefore, the “expire after days” setting must be 90 days greater than the
     *          “transition to cold after days” setting. The “transition to cold after days” setting cannot
     *          be changed after a backup has been transitioned to cold.</p>
     *          <p>Only Amazon EFS file system backups can be transitioned to cold storage.</p>
     *          <p>Does not support continuous backups.</p>
     */ public updateRecoveryPointLifecycle ( args , options ? ) ; public updateRecoveryPointLifecycle ( args , cb ) ; public updateRecoveryPointLifecycle ( args , options , cb ) ; public updateRecoveryPointLifecycle ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRecoveryPointLifecycleCommand ( 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 the current service opt-in settings for the Region. If service-opt-in is enabled
     *          for a service, Backup tries to protect that service's resources in this Region,
     *          when the resource is included in an on-demand backup or scheduled backup plan. Otherwise,
     *             Backup does not try to protect that service's resources in this Region. Use
     *          the <code>DescribeRegionSettings</code> API to determine the resource types that are
     *          supported.</p>
     */ public updateRegionSettings ( args , options ? ) ; public updateRegionSettings ( args , cb ) ; public updateRegionSettings ( args , options , cb ) ; public updateRegionSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRegionSettingsCommand ( 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 existing report plan identified by its <code>ReportPlanName</code> with the
     *          input document in JSON format.</p>
     */ public updateReportPlan ( args , options ? ) ; public updateReportPlan ( args , cb ) ; public updateReportPlan ( args , options , cb ) ; public updateReportPlan ( args , optionsOrCb ? , cb ? ) { const command = new UpdateReportPlanCommand ( 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 ) ; } } }