UNPKG

aws-sdk

Version:
888 lines 115 kB
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class Drs extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: Drs.Types.ClientConfiguration) config: Config & Drs.Types.ClientConfiguration; /** * Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks. */ associateSourceNetworkStack(params: Drs.Types.AssociateSourceNetworkStackRequest, callback?: (err: AWSError, data: Drs.Types.AssociateSourceNetworkStackResponse) => void): Request<Drs.Types.AssociateSourceNetworkStackResponse, AWSError>; /** * Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks. */ associateSourceNetworkStack(callback?: (err: AWSError, data: Drs.Types.AssociateSourceNetworkStackResponse) => void): Request<Drs.Types.AssociateSourceNetworkStackResponse, AWSError>; /** * Create an extended source server in the target Account based on the source server in staging account. */ createExtendedSourceServer(params: Drs.Types.CreateExtendedSourceServerRequest, callback?: (err: AWSError, data: Drs.Types.CreateExtendedSourceServerResponse) => void): Request<Drs.Types.CreateExtendedSourceServerResponse, AWSError>; /** * Create an extended source server in the target Account based on the source server in staging account. */ createExtendedSourceServer(callback?: (err: AWSError, data: Drs.Types.CreateExtendedSourceServerResponse) => void): Request<Drs.Types.CreateExtendedSourceServerResponse, AWSError>; /** * Creates a new Launch Configuration Template. */ createLaunchConfigurationTemplate(params: Drs.Types.CreateLaunchConfigurationTemplateRequest, callback?: (err: AWSError, data: Drs.Types.CreateLaunchConfigurationTemplateResponse) => void): Request<Drs.Types.CreateLaunchConfigurationTemplateResponse, AWSError>; /** * Creates a new Launch Configuration Template. */ createLaunchConfigurationTemplate(callback?: (err: AWSError, data: Drs.Types.CreateLaunchConfigurationTemplateResponse) => void): Request<Drs.Types.CreateLaunchConfigurationTemplateResponse, AWSError>; /** * Creates a new ReplicationConfigurationTemplate. */ createReplicationConfigurationTemplate(params: Drs.Types.CreateReplicationConfigurationTemplateRequest, callback?: (err: AWSError, data: Drs.Types.ReplicationConfigurationTemplate) => void): Request<Drs.Types.ReplicationConfigurationTemplate, AWSError>; /** * Creates a new ReplicationConfigurationTemplate. */ createReplicationConfigurationTemplate(callback?: (err: AWSError, data: Drs.Types.ReplicationConfigurationTemplate) => void): Request<Drs.Types.ReplicationConfigurationTemplate, AWSError>; /** * Create a new Source Network resource for a provided VPC ID. */ createSourceNetwork(params: Drs.Types.CreateSourceNetworkRequest, callback?: (err: AWSError, data: Drs.Types.CreateSourceNetworkResponse) => void): Request<Drs.Types.CreateSourceNetworkResponse, AWSError>; /** * Create a new Source Network resource for a provided VPC ID. */ createSourceNetwork(callback?: (err: AWSError, data: Drs.Types.CreateSourceNetworkResponse) => void): Request<Drs.Types.CreateSourceNetworkResponse, AWSError>; /** * Deletes a single Job by ID. */ deleteJob(params: Drs.Types.DeleteJobRequest, callback?: (err: AWSError, data: Drs.Types.DeleteJobResponse) => void): Request<Drs.Types.DeleteJobResponse, AWSError>; /** * Deletes a single Job by ID. */ deleteJob(callback?: (err: AWSError, data: Drs.Types.DeleteJobResponse) => void): Request<Drs.Types.DeleteJobResponse, AWSError>; /** * Deletes a resource launch action. */ deleteLaunchAction(params: Drs.Types.DeleteLaunchActionRequest, callback?: (err: AWSError, data: Drs.Types.DeleteLaunchActionResponse) => void): Request<Drs.Types.DeleteLaunchActionResponse, AWSError>; /** * Deletes a resource launch action. */ deleteLaunchAction(callback?: (err: AWSError, data: Drs.Types.DeleteLaunchActionResponse) => void): Request<Drs.Types.DeleteLaunchActionResponse, AWSError>; /** * Deletes a single Launch Configuration Template by ID. */ deleteLaunchConfigurationTemplate(params: Drs.Types.DeleteLaunchConfigurationTemplateRequest, callback?: (err: AWSError, data: Drs.Types.DeleteLaunchConfigurationTemplateResponse) => void): Request<Drs.Types.DeleteLaunchConfigurationTemplateResponse, AWSError>; /** * Deletes a single Launch Configuration Template by ID. */ deleteLaunchConfigurationTemplate(callback?: (err: AWSError, data: Drs.Types.DeleteLaunchConfigurationTemplateResponse) => void): Request<Drs.Types.DeleteLaunchConfigurationTemplateResponse, AWSError>; /** * Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it. */ deleteRecoveryInstance(params: Drs.Types.DeleteRecoveryInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it. */ deleteRecoveryInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Deletes a single Replication Configuration Template by ID */ deleteReplicationConfigurationTemplate(params: Drs.Types.DeleteReplicationConfigurationTemplateRequest, callback?: (err: AWSError, data: Drs.Types.DeleteReplicationConfigurationTemplateResponse) => void): Request<Drs.Types.DeleteReplicationConfigurationTemplateResponse, AWSError>; /** * Deletes a single Replication Configuration Template by ID */ deleteReplicationConfigurationTemplate(callback?: (err: AWSError, data: Drs.Types.DeleteReplicationConfigurationTemplateResponse) => void): Request<Drs.Types.DeleteReplicationConfigurationTemplateResponse, AWSError>; /** * Delete Source Network resource. */ deleteSourceNetwork(params: Drs.Types.DeleteSourceNetworkRequest, callback?: (err: AWSError, data: Drs.Types.DeleteSourceNetworkResponse) => void): Request<Drs.Types.DeleteSourceNetworkResponse, AWSError>; /** * Delete Source Network resource. */ deleteSourceNetwork(callback?: (err: AWSError, data: Drs.Types.DeleteSourceNetworkResponse) => void): Request<Drs.Types.DeleteSourceNetworkResponse, AWSError>; /** * Deletes a single Source Server by ID. The Source Server must be disconnected first. */ deleteSourceServer(params: Drs.Types.DeleteSourceServerRequest, callback?: (err: AWSError, data: Drs.Types.DeleteSourceServerResponse) => void): Request<Drs.Types.DeleteSourceServerResponse, AWSError>; /** * Deletes a single Source Server by ID. The Source Server must be disconnected first. */ deleteSourceServer(callback?: (err: AWSError, data: Drs.Types.DeleteSourceServerResponse) => void): Request<Drs.Types.DeleteSourceServerResponse, AWSError>; /** * Retrieves a detailed Job log with pagination. */ describeJobLogItems(params: Drs.Types.DescribeJobLogItemsRequest, callback?: (err: AWSError, data: Drs.Types.DescribeJobLogItemsResponse) => void): Request<Drs.Types.DescribeJobLogItemsResponse, AWSError>; /** * Retrieves a detailed Job log with pagination. */ describeJobLogItems(callback?: (err: AWSError, data: Drs.Types.DescribeJobLogItemsResponse) => void): Request<Drs.Types.DescribeJobLogItemsResponse, AWSError>; /** * Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets. */ describeJobs(params: Drs.Types.DescribeJobsRequest, callback?: (err: AWSError, data: Drs.Types.DescribeJobsResponse) => void): Request<Drs.Types.DescribeJobsResponse, AWSError>; /** * Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets. */ describeJobs(callback?: (err: AWSError, data: Drs.Types.DescribeJobsResponse) => void): Request<Drs.Types.DescribeJobsResponse, AWSError>; /** * Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs */ describeLaunchConfigurationTemplates(params: Drs.Types.DescribeLaunchConfigurationTemplatesRequest, callback?: (err: AWSError, data: Drs.Types.DescribeLaunchConfigurationTemplatesResponse) => void): Request<Drs.Types.DescribeLaunchConfigurationTemplatesResponse, AWSError>; /** * Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs */ describeLaunchConfigurationTemplates(callback?: (err: AWSError, data: Drs.Types.DescribeLaunchConfigurationTemplatesResponse) => void): Request<Drs.Types.DescribeLaunchConfigurationTemplatesResponse, AWSError>; /** * Lists all Recovery Instances or multiple Recovery Instances by ID. */ describeRecoveryInstances(params: Drs.Types.DescribeRecoveryInstancesRequest, callback?: (err: AWSError, data: Drs.Types.DescribeRecoveryInstancesResponse) => void): Request<Drs.Types.DescribeRecoveryInstancesResponse, AWSError>; /** * Lists all Recovery Instances or multiple Recovery Instances by ID. */ describeRecoveryInstances(callback?: (err: AWSError, data: Drs.Types.DescribeRecoveryInstancesResponse) => void): Request<Drs.Types.DescribeRecoveryInstancesResponse, AWSError>; /** * Lists all Recovery Snapshots for a single Source Server. */ describeRecoverySnapshots(params: Drs.Types.DescribeRecoverySnapshotsRequest, callback?: (err: AWSError, data: Drs.Types.DescribeRecoverySnapshotsResponse) => void): Request<Drs.Types.DescribeRecoverySnapshotsResponse, AWSError>; /** * Lists all Recovery Snapshots for a single Source Server. */ describeRecoverySnapshots(callback?: (err: AWSError, data: Drs.Types.DescribeRecoverySnapshotsResponse) => void): Request<Drs.Types.DescribeRecoverySnapshotsResponse, AWSError>; /** * Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs. */ describeReplicationConfigurationTemplates(params: Drs.Types.DescribeReplicationConfigurationTemplatesRequest, callback?: (err: AWSError, data: Drs.Types.DescribeReplicationConfigurationTemplatesResponse) => void): Request<Drs.Types.DescribeReplicationConfigurationTemplatesResponse, AWSError>; /** * Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs. */ describeReplicationConfigurationTemplates(callback?: (err: AWSError, data: Drs.Types.DescribeReplicationConfigurationTemplatesResponse) => void): Request<Drs.Types.DescribeReplicationConfigurationTemplatesResponse, AWSError>; /** * Lists all Source Networks or multiple Source Networks filtered by ID. */ describeSourceNetworks(params: Drs.Types.DescribeSourceNetworksRequest, callback?: (err: AWSError, data: Drs.Types.DescribeSourceNetworksResponse) => void): Request<Drs.Types.DescribeSourceNetworksResponse, AWSError>; /** * Lists all Source Networks or multiple Source Networks filtered by ID. */ describeSourceNetworks(callback?: (err: AWSError, data: Drs.Types.DescribeSourceNetworksResponse) => void): Request<Drs.Types.DescribeSourceNetworksResponse, AWSError>; /** * Lists all Source Servers or multiple Source Servers filtered by ID. */ describeSourceServers(params: Drs.Types.DescribeSourceServersRequest, callback?: (err: AWSError, data: Drs.Types.DescribeSourceServersResponse) => void): Request<Drs.Types.DescribeSourceServersResponse, AWSError>; /** * Lists all Source Servers or multiple Source Servers filtered by ID. */ describeSourceServers(callback?: (err: AWSError, data: Drs.Types.DescribeSourceServersResponse) => void): Request<Drs.Types.DescribeSourceServersResponse, AWSError>; /** * Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified. */ disconnectRecoveryInstance(params: Drs.Types.DisconnectRecoveryInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified. */ disconnectRecoveryInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified. */ disconnectSourceServer(params: Drs.Types.DisconnectSourceServerRequest, callback?: (err: AWSError, data: Drs.Types.SourceServer) => void): Request<Drs.Types.SourceServer, AWSError>; /** * Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified. */ disconnectSourceServer(callback?: (err: AWSError, data: Drs.Types.SourceServer) => void): Request<Drs.Types.SourceServer, AWSError>; /** * Export the Source Network CloudFormation template to an S3 bucket. */ exportSourceNetworkCfnTemplate(params: Drs.Types.ExportSourceNetworkCfnTemplateRequest, callback?: (err: AWSError, data: Drs.Types.ExportSourceNetworkCfnTemplateResponse) => void): Request<Drs.Types.ExportSourceNetworkCfnTemplateResponse, AWSError>; /** * Export the Source Network CloudFormation template to an S3 bucket. */ exportSourceNetworkCfnTemplate(callback?: (err: AWSError, data: Drs.Types.ExportSourceNetworkCfnTemplateResponse) => void): Request<Drs.Types.ExportSourceNetworkCfnTemplateResponse, AWSError>; /** * Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID. */ getFailbackReplicationConfiguration(params: Drs.Types.GetFailbackReplicationConfigurationRequest, callback?: (err: AWSError, data: Drs.Types.GetFailbackReplicationConfigurationResponse) => void): Request<Drs.Types.GetFailbackReplicationConfigurationResponse, AWSError>; /** * Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID. */ getFailbackReplicationConfiguration(callback?: (err: AWSError, data: Drs.Types.GetFailbackReplicationConfigurationResponse) => void): Request<Drs.Types.GetFailbackReplicationConfigurationResponse, AWSError>; /** * Gets a LaunchConfiguration, filtered by Source Server IDs. */ getLaunchConfiguration(params: Drs.Types.GetLaunchConfigurationRequest, callback?: (err: AWSError, data: Drs.Types.LaunchConfiguration) => void): Request<Drs.Types.LaunchConfiguration, AWSError>; /** * Gets a LaunchConfiguration, filtered by Source Server IDs. */ getLaunchConfiguration(callback?: (err: AWSError, data: Drs.Types.LaunchConfiguration) => void): Request<Drs.Types.LaunchConfiguration, AWSError>; /** * Gets a ReplicationConfiguration, filtered by Source Server ID. */ getReplicationConfiguration(params: Drs.Types.GetReplicationConfigurationRequest, callback?: (err: AWSError, data: Drs.Types.ReplicationConfiguration) => void): Request<Drs.Types.ReplicationConfiguration, AWSError>; /** * Gets a ReplicationConfiguration, filtered by Source Server ID. */ getReplicationConfiguration(callback?: (err: AWSError, data: Drs.Types.ReplicationConfiguration) => void): Request<Drs.Types.ReplicationConfiguration, AWSError>; /** * Initialize Elastic Disaster Recovery. */ initializeService(params: Drs.Types.InitializeServiceRequest, callback?: (err: AWSError, data: Drs.Types.InitializeServiceResponse) => void): Request<Drs.Types.InitializeServiceResponse, AWSError>; /** * Initialize Elastic Disaster Recovery. */ initializeService(callback?: (err: AWSError, data: Drs.Types.InitializeServiceResponse) => void): Request<Drs.Types.InitializeServiceResponse, AWSError>; /** * Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server. */ listExtensibleSourceServers(params: Drs.Types.ListExtensibleSourceServersRequest, callback?: (err: AWSError, data: Drs.Types.ListExtensibleSourceServersResponse) => void): Request<Drs.Types.ListExtensibleSourceServersResponse, AWSError>; /** * Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server. */ listExtensibleSourceServers(callback?: (err: AWSError, data: Drs.Types.ListExtensibleSourceServersResponse) => void): Request<Drs.Types.ListExtensibleSourceServersResponse, AWSError>; /** * Lists resource launch actions. */ listLaunchActions(params: Drs.Types.ListLaunchActionsRequest, callback?: (err: AWSError, data: Drs.Types.ListLaunchActionsResponse) => void): Request<Drs.Types.ListLaunchActionsResponse, AWSError>; /** * Lists resource launch actions. */ listLaunchActions(callback?: (err: AWSError, data: Drs.Types.ListLaunchActionsResponse) => void): Request<Drs.Types.ListLaunchActionsResponse, AWSError>; /** * Returns an array of staging accounts for existing extended source servers. */ listStagingAccounts(params: Drs.Types.ListStagingAccountsRequest, callback?: (err: AWSError, data: Drs.Types.ListStagingAccountsResponse) => void): Request<Drs.Types.ListStagingAccountsResponse, AWSError>; /** * Returns an array of staging accounts for existing extended source servers. */ listStagingAccounts(callback?: (err: AWSError, data: Drs.Types.ListStagingAccountsResponse) => void): Request<Drs.Types.ListStagingAccountsResponse, AWSError>; /** * List all tags for your Elastic Disaster Recovery resources. */ listTagsForResource(params: Drs.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Drs.Types.ListTagsForResourceResponse) => void): Request<Drs.Types.ListTagsForResourceResponse, AWSError>; /** * List all tags for your Elastic Disaster Recovery resources. */ listTagsForResource(callback?: (err: AWSError, data: Drs.Types.ListTagsForResourceResponse) => void): Request<Drs.Types.ListTagsForResourceResponse, AWSError>; /** * Puts a resource launch action. */ putLaunchAction(params: Drs.Types.PutLaunchActionRequest, callback?: (err: AWSError, data: Drs.Types.PutLaunchActionResponse) => void): Request<Drs.Types.PutLaunchActionResponse, AWSError>; /** * Puts a resource launch action. */ putLaunchAction(callback?: (err: AWSError, data: Drs.Types.PutLaunchActionResponse) => void): Request<Drs.Types.PutLaunchActionResponse, AWSError>; /** * WARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state. */ retryDataReplication(params: Drs.Types.RetryDataReplicationRequest, callback?: (err: AWSError, data: Drs.Types.SourceServer) => void): Request<Drs.Types.SourceServer, AWSError>; /** * WARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state. */ retryDataReplication(callback?: (err: AWSError, data: Drs.Types.SourceServer) => void): Request<Drs.Types.SourceServer, AWSError>; /** * Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them. */ reverseReplication(params: Drs.Types.ReverseReplicationRequest, callback?: (err: AWSError, data: Drs.Types.ReverseReplicationResponse) => void): Request<Drs.Types.ReverseReplicationResponse, AWSError>; /** * Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them. */ reverseReplication(callback?: (err: AWSError, data: Drs.Types.ReverseReplicationResponse) => void): Request<Drs.Types.ReverseReplicationResponse, AWSError>; /** * Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process. */ startFailbackLaunch(params: Drs.Types.StartFailbackLaunchRequest, callback?: (err: AWSError, data: Drs.Types.StartFailbackLaunchResponse) => void): Request<Drs.Types.StartFailbackLaunchResponse, AWSError>; /** * Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process. */ startFailbackLaunch(callback?: (err: AWSError, data: Drs.Types.StartFailbackLaunchResponse) => void): Request<Drs.Types.StartFailbackLaunchResponse, AWSError>; /** * Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot. */ startRecovery(params: Drs.Types.StartRecoveryRequest, callback?: (err: AWSError, data: Drs.Types.StartRecoveryResponse) => void): Request<Drs.Types.StartRecoveryResponse, AWSError>; /** * Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot. */ startRecovery(callback?: (err: AWSError, data: Drs.Types.StartRecoveryResponse) => void): Request<Drs.Types.StartRecoveryResponse, AWSError>; /** * Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it. */ startReplication(params: Drs.Types.StartReplicationRequest, callback?: (err: AWSError, data: Drs.Types.StartReplicationResponse) => void): Request<Drs.Types.StartReplicationResponse, AWSError>; /** * Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it. */ startReplication(callback?: (err: AWSError, data: Drs.Types.StartReplicationResponse) => void): Request<Drs.Types.StartReplicationResponse, AWSError>; /** * Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack. */ startSourceNetworkRecovery(params: Drs.Types.StartSourceNetworkRecoveryRequest, callback?: (err: AWSError, data: Drs.Types.StartSourceNetworkRecoveryResponse) => void): Request<Drs.Types.StartSourceNetworkRecoveryResponse, AWSError>; /** * Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack. */ startSourceNetworkRecovery(callback?: (err: AWSError, data: Drs.Types.StartSourceNetworkRecoveryResponse) => void): Request<Drs.Types.StartSourceNetworkRecoveryResponse, AWSError>; /** * Starts replication for a Source Network. This action would make the Source Network protected. */ startSourceNetworkReplication(params: Drs.Types.StartSourceNetworkReplicationRequest, callback?: (err: AWSError, data: Drs.Types.StartSourceNetworkReplicationResponse) => void): Request<Drs.Types.StartSourceNetworkReplicationResponse, AWSError>; /** * Starts replication for a Source Network. This action would make the Source Network protected. */ startSourceNetworkReplication(callback?: (err: AWSError, data: Drs.Types.StartSourceNetworkReplicationResponse) => void): Request<Drs.Types.StartSourceNetworkReplicationResponse, AWSError>; /** * Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED. */ stopFailback(params: Drs.Types.StopFailbackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED. */ stopFailback(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it. */ stopReplication(params: Drs.Types.StopReplicationRequest, callback?: (err: AWSError, data: Drs.Types.StopReplicationResponse) => void): Request<Drs.Types.StopReplicationResponse, AWSError>; /** * Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it. */ stopReplication(callback?: (err: AWSError, data: Drs.Types.StopReplicationResponse) => void): Request<Drs.Types.StopReplicationResponse, AWSError>; /** * Stops replication for a Source Network. This action would make the Source Network unprotected. */ stopSourceNetworkReplication(params: Drs.Types.StopSourceNetworkReplicationRequest, callback?: (err: AWSError, data: Drs.Types.StopSourceNetworkReplicationResponse) => void): Request<Drs.Types.StopSourceNetworkReplicationResponse, AWSError>; /** * Stops replication for a Source Network. This action would make the Source Network unprotected. */ stopSourceNetworkReplication(callback?: (err: AWSError, data: Drs.Types.StopSourceNetworkReplicationResponse) => void): Request<Drs.Types.StopSourceNetworkReplicationResponse, AWSError>; /** * Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. */ tagResource(params: Drs.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. */ tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service. */ terminateRecoveryInstances(params: Drs.Types.TerminateRecoveryInstancesRequest, callback?: (err: AWSError, data: Drs.Types.TerminateRecoveryInstancesResponse) => void): Request<Drs.Types.TerminateRecoveryInstancesResponse, AWSError>; /** * Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service. */ terminateRecoveryInstances(callback?: (err: AWSError, data: Drs.Types.TerminateRecoveryInstancesResponse) => void): Request<Drs.Types.TerminateRecoveryInstancesResponse, AWSError>; /** * Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources. */ untagResource(params: Drs.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources. */ untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Allows you to update the failback replication configuration of a Recovery Instance by ID. */ updateFailbackReplicationConfiguration(params: Drs.Types.UpdateFailbackReplicationConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Allows you to update the failback replication configuration of a Recovery Instance by ID. */ updateFailbackReplicationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Updates a LaunchConfiguration by Source Server ID. */ updateLaunchConfiguration(params: Drs.Types.UpdateLaunchConfigurationRequest, callback?: (err: AWSError, data: Drs.Types.LaunchConfiguration) => void): Request<Drs.Types.LaunchConfiguration, AWSError>; /** * Updates a LaunchConfiguration by Source Server ID. */ updateLaunchConfiguration(callback?: (err: AWSError, data: Drs.Types.LaunchConfiguration) => void): Request<Drs.Types.LaunchConfiguration, AWSError>; /** * Updates an existing Launch Configuration Template by ID. */ updateLaunchConfigurationTemplate(params: Drs.Types.UpdateLaunchConfigurationTemplateRequest, callback?: (err: AWSError, data: Drs.Types.UpdateLaunchConfigurationTemplateResponse) => void): Request<Drs.Types.UpdateLaunchConfigurationTemplateResponse, AWSError>; /** * Updates an existing Launch Configuration Template by ID. */ updateLaunchConfigurationTemplate(callback?: (err: AWSError, data: Drs.Types.UpdateLaunchConfigurationTemplateResponse) => void): Request<Drs.Types.UpdateLaunchConfigurationTemplateResponse, AWSError>; /** * Allows you to update a ReplicationConfiguration by Source Server ID. */ updateReplicationConfiguration(params: Drs.Types.UpdateReplicationConfigurationRequest, callback?: (err: AWSError, data: Drs.Types.ReplicationConfiguration) => void): Request<Drs.Types.ReplicationConfiguration, AWSError>; /** * Allows you to update a ReplicationConfiguration by Source Server ID. */ updateReplicationConfiguration(callback?: (err: AWSError, data: Drs.Types.ReplicationConfiguration) => void): Request<Drs.Types.ReplicationConfiguration, AWSError>; /** * Updates a ReplicationConfigurationTemplate by ID. */ updateReplicationConfigurationTemplate(params: Drs.Types.UpdateReplicationConfigurationTemplateRequest, callback?: (err: AWSError, data: Drs.Types.ReplicationConfigurationTemplate) => void): Request<Drs.Types.ReplicationConfigurationTemplate, AWSError>; /** * Updates a ReplicationConfigurationTemplate by ID. */ updateReplicationConfigurationTemplate(callback?: (err: AWSError, data: Drs.Types.ReplicationConfigurationTemplate) => void): Request<Drs.Types.ReplicationConfigurationTemplate, AWSError>; } declare namespace Drs { export type ARN = string; export interface Account { /** * Account ID of AWS account. */ accountID?: AccountID; } export type AccountID = string; export type AccountIDs = AccountID[]; export type Accounts = Account[]; export type AgentVersion = string; export interface AssociateSourceNetworkStackRequest { /** * CloudFormation template to associate with a Source Network. */ cfnStackName: CfnStackName; /** * The Source Network ID to associate with CloudFormation template. */ sourceNetworkID: SourceNetworkID; } export interface AssociateSourceNetworkStackResponse { /** * The Source Network association Job. */ job?: Job; } export type AwsAvailabilityZone = string; export type AwsRegion = string; export type Boolean = boolean; export type BoundedString = string; export interface CPU { /** * The number of CPU cores. */ cores?: PositiveInteger; /** * The model name of the CPU. */ modelName?: BoundedString; } export type CfnStackName = string; export type ConversionMap = {[key: string]: EbsSnapshot}; export interface ConversionProperties { /** * The timestamp of when the snapshot being converted was taken */ dataTimestamp?: LargeBoundedString; /** * Whether the volume being converted uses UEFI or not */ forceUefi?: Boolean; /** * The root volume name of a conversion job */ rootVolumeName?: LargeBoundedString; /** * A mapping between the volumes being converted and the converted snapshot ids */ volumeToConversionMap?: VolumeToConversionMap; /** * A mapping between the volumes being converted and the product codes associated with them */ volumeToProductCodes?: VolumeToProductCodes; /** * A mapping between the volumes and their sizes */ volumeToVolumeSize?: VolumeToSizeMap; } export type Cpus = CPU[]; export interface CreateExtendedSourceServerRequest { /** * This defines the ARN of the source server in staging Account based on which you want to create an extended source server. */ sourceServerArn: SourceServerARN; /** * A list of tags associated with the extended source server. */ tags?: TagsMap; } export interface CreateExtendedSourceServerResponse { /** * Created extended source server. */ sourceServer?: SourceServer; } export interface CreateLaunchConfigurationTemplateRequest { /** * Copy private IP. */ copyPrivateIp?: Boolean; /** * Copy tags. */ copyTags?: Boolean; /** * S3 bucket ARN to export Source Network templates. */ exportBucketArn?: ARN; /** * Launch disposition. */ launchDisposition?: LaunchDisposition; /** * DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance. */ launchIntoSourceInstance?: Boolean; /** * Licensing. */ licensing?: Licensing; /** * Whether we want to activate post-launch actions. */ postLaunchEnabled?: Boolean; /** * Request to associate tags during creation of a Launch Configuration Template. */ tags?: TagsMap; /** * Target instance type right-sizing method. */ targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod; } export interface CreateLaunchConfigurationTemplateResponse { /** * Created Launch Configuration Template. */ launchConfigurationTemplate?: LaunchConfigurationTemplate; } export interface CreateReplicationConfigurationTemplateRequest { /** * Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template. */ associateDefaultSecurityGroup: Boolean; /** * Whether to allow the AWS replication agent to automatically replicate newly added disks. */ autoReplicateNewDisks?: Boolean; /** * Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps. */ bandwidthThrottling: PositiveInteger; /** * Whether to create a Public IP for the Recovery Instance by default. */ createPublicIP: Boolean; /** * The data plane routing mechanism that will be used for replication. */ dataPlaneRouting: ReplicationConfigurationDataPlaneRouting; /** * The Staging Disk EBS volume type to be used during replication. */ defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskType; /** * The type of EBS encryption to be used during replication. */ ebsEncryption: ReplicationConfigurationEbsEncryption; /** * The ARN of the EBS encryption key to be used during replication. */ ebsEncryptionKeyArn?: ARN; /** * The Point in time (PIT) policy to manage snapshots taken during replication. */ pitPolicy: PITPolicy; /** * The instance type to be used for the replication server. */ replicationServerInstanceType: EC2InstanceType; /** * The security group IDs that will be used by the replication server. */ replicationServersSecurityGroupsIDs: ReplicationServersSecurityGroupsIDs; /** * The subnet to be used by the replication staging area. */ stagingAreaSubnetId: SubnetID; /** * A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. */ stagingAreaTags: TagsMap; /** * A set of tags to be associated with the Replication Configuration Template resource. */ tags?: TagsMap; /** * Whether to use a dedicated Replication Server in the replication staging area. */ useDedicatedReplicationServer: Boolean; } export interface CreateSourceNetworkRequest { /** * Account containing the VPC to protect. */ originAccountID: AccountID; /** * Region containing the VPC to protect. */ originRegion: AwsRegion; /** * A set of tags to be associated with the Source Network resource. */ tags?: TagsMap; /** * Which VPC ID to protect. */ vpcID: VpcID; } export interface CreateSourceNetworkResponse { /** * ID of the created Source Network. */ sourceNetworkID?: SourceNetworkID; } export interface DataReplicationError { /** * Error in data replication. */ error?: DataReplicationErrorString; /** * Error in data replication. */ rawError?: LargeBoundedString; } export type DataReplicationErrorString = "AGENT_NOT_SEEN"|"SNAPSHOTS_FAILURE"|"NOT_CONVERGING"|"UNSTABLE_NETWORK"|"FAILED_TO_CREATE_SECURITY_GROUP"|"FAILED_TO_LAUNCH_REPLICATION_SERVER"|"FAILED_TO_BOOT_REPLICATION_SERVER"|"FAILED_TO_AUTHENTICATE_WITH_SERVICE"|"FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE"|"FAILED_TO_CREATE_STAGING_DISKS"|"FAILED_TO_ATTACH_STAGING_DISKS"|"FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT"|"FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER"|"FAILED_TO_START_DATA_TRANSFER"|string; export interface DataReplicationInfo { /** * Error in data replication. */ dataReplicationError?: DataReplicationError; /** * Information about whether the data replication has been initiated. */ dataReplicationInitiation?: DataReplicationInitiation; /** * The state of the data replication. */ dataReplicationState?: DataReplicationState; /** * An estimate of when the data replication will be completed. */ etaDateTime?: ISO8601DatetimeString; /** * Data replication lag duration. */ lagDuration?: ISO8601DurationString; /** * The disks that should be replicated. */ replicatedDisks?: DataReplicationInfoReplicatedDisks; /** * AWS Availability zone into which data is being replicated. */ stagingAvailabilityZone?: AwsAvailabilityZone; /** * The ARN of the staging Outpost */ stagingOutpostArn?: OutpostARN; } export interface DataReplicationInfoReplicatedDisk { /** * The size of the replication backlog in bytes. */ backloggedStorageBytes?: PositiveInteger; /** * The name of the device. */ deviceName?: BoundedString; /** * The amount of data replicated so far in bytes. */ replicatedStorageBytes?: PositiveInteger; /** * The amount of data to be rescanned in bytes. */ rescannedStorageBytes?: PositiveInteger; /** * The total amount of data to be replicated in bytes. */ totalStorageBytes?: PositiveInteger; /** * The status of the volume. */ volumeStatus?: VolumeStatus; } export type DataReplicationInfoReplicatedDisks = DataReplicationInfoReplicatedDisk[]; export interface DataReplicationInitiation { /** * The date and time of the next attempt to initiate data replication. */ nextAttemptDateTime?: ISO8601DatetimeString; /** * The date and time of the current attempt to initiate data replication. */ startDateTime?: ISO8601DatetimeString; /** * The steps of the current attempt to initiate data replication. */ steps?: DataReplicationInitiationSteps; } export interface DataReplicationInitiationStep { /** * The name of the step. */ name?: DataReplicationInitiationStepName; /** * The status of the step. */ status?: DataReplicationInitiationStepStatus; } export type DataReplicationInitiationStepName = "WAIT"|"CREATE_SECURITY_GROUP"|"LAUNCH_REPLICATION_SERVER"|"BOOT_REPLICATION_SERVER"|"AUTHENTICATE_WITH_SERVICE"|"DOWNLOAD_REPLICATION_SOFTWARE"|"CREATE_STAGING_DISKS"|"ATTACH_STAGING_DISKS"|"PAIR_REPLICATION_SERVER_WITH_AGENT"|"CONNECT_AGENT_TO_REPLICATION_SERVER"|"START_DATA_TRANSFER"|string; export type DataReplicationInitiationStepStatus = "NOT_STARTED"|"IN_PROGRESS"|"SUCCEEDED"|"FAILED"|"SKIPPED"|string; export type DataReplicationInitiationSteps = DataReplicationInitiationStep[]; export type DataReplicationState = "STOPPED"|"INITIATING"|"INITIAL_SYNC"|"BACKLOG"|"CREATING_SNAPSHOT"|"CONTINUOUS"|"PAUSED"|"RESCAN"|"STALLED"|"DISCONNECTED"|string; export interface DeleteJobRequest { /** * The ID of the Job to be deleted. */ jobID: JobID; } export interface DeleteJobResponse { } export interface DeleteLaunchActionRequest { actionId: LaunchActionId; resourceId: LaunchActionResourceId; } export interface DeleteLaunchActionResponse { } export interface DeleteLaunchConfigurationTemplateRequest { /** * The ID of the Launch Configuration Template to be deleted. */ launchConfigurationTemplateID: LaunchConfigurationTemplateID; } export interface DeleteLaunchConfigurationTemplateResponse { } export interface DeleteRecoveryInstanceRequest { /** * The ID of the Recovery Instance to be deleted. */ recoveryInstanceID: RecoveryInstanceID; } export interface DeleteReplicationConfigurationTemplateRequest { /** * The ID of the Replication Configuration Template to be deleted. */ replicationConfigurationTemplateID: ReplicationConfigurationTemplateID; } export interface DeleteReplicationConfigurationTemplateResponse { } export interface DeleteSourceNetworkRequest { /** * ID of the Source Network to delete. */ sourceNetworkID: SourceNetworkID; } export interface DeleteSourceNetworkResponse { } export interface DeleteSourceServerRequest { /** * The ID of the Source Server to be deleted. */ sourceServerID: SourceServerID; } export interface DeleteSourceServerResponse { } export interface DescribeJobLogItemsRequest { /** * The ID of the Job for which Job log items will be retrieved. */ jobID: JobID; /** * Maximum number of Job log items to retrieve. */ maxResults?: StrictlyPositiveInteger; /** * The token of the next Job log items to retrieve. */ nextToken?: PaginationToken; } export interface DescribeJobLogItemsResponse { /** * An array of Job log items. */ items?: JobLogs; /** * The token of the next Job log items to retrieve. */ nextToken?: PaginationToken; } export interface DescribeJobsRequest { /** * A set of filters by which to return Jobs. */ filters?: DescribeJobsRequestFilters; /** * Maximum number of Jobs to retrieve. */ maxResults?: StrictlyPositiveInteger; /** * The token of the next Job to retrieve. */ nextToken?: PaginationToken; } export interface DescribeJobsRequestFilters { /** * The start date in a date range query. */ fromDate?: ISO8601DatetimeString; /** * An array of Job IDs that should be returned. An empty array means all jobs. */ jobIDs?: DescribeJobsRequestFiltersJobIDs; /** * The end date in a date range query. */ toDate?: ISO8601DatetimeString; } export type DescribeJobsRequestFiltersJobIDs = JobID[]; export interface DescribeJobsResponse { /** * An array of Jobs. */ items?: JobsList; /** * The token of the next Job to retrieve. */ nextToken?: PaginationToken; } export interface DescribeLaunchConfigurationTemplatesRequest { /** * Request to filter Launch Configuration Templates list by Launch Configuration Template ID. */ launchConfigurationTemplateIDs?: LaunchConfigurationTemplateIDs; /** * Maximum results to be returned in DescribeLaunchConfigurationTemplates. */ maxResults?: MaxResultsType; /** * The token of the next Launch Configuration Template to retrieve. */ nextToken?: PaginationToken; } export interface DescribeLaunchConfigurationTemplatesResponse { /** * List of items returned by DescribeLaunchConfigurationTemplates. */ items?: LaunchConfigurationTemplates; /** * The token of the next Launch Configuration Template to retrieve. */ nextToken?: PaginationToken; } export type DescribeRecoveryInstancesItems = RecoveryInstance[]; export interface DescribeRecoveryInstancesRequest { /** * A set of filters by which to return Recovery Instances. */ filters?: DescribeRecoveryInstancesRequestFilters; /** * Maximum number of Recovery Instances to retrieve. */ maxResults?: StrictlyPositiveInteger; /** * The token of the next Recovery Instance to retrieve. */ nextToken?: PaginationToken; } export interface DescribeRecoveryInstancesRequestFilters { /** * An array of Recovery Instance IDs that should be returned. An empty array means all R