@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSdrs extends Object implements AWSdrs
AWSdrs
. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
public AssociateSourceNetworkStackResult associateSourceNetworkStack(AssociateSourceNetworkStackRequest request)
AWSdrs
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
in interface AWSdrs
public CreateExtendedSourceServerResult createExtendedSourceServer(CreateExtendedSourceServerRequest request)
AWSdrs
Create an extended source server in the target Account based on the source server in staging account.
createExtendedSourceServer
in interface AWSdrs
public CreateLaunchConfigurationTemplateResult createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest request)
AWSdrs
Creates a new Launch Configuration Template.
createLaunchConfigurationTemplate
in interface AWSdrs
public CreateReplicationConfigurationTemplateResult createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest request)
AWSdrs
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplate
in interface AWSdrs
public CreateSourceNetworkResult createSourceNetwork(CreateSourceNetworkRequest request)
AWSdrs
Create a new Source Network resource for a provided VPC ID.
createSourceNetwork
in interface AWSdrs
public DeleteJobResult deleteJob(DeleteJobRequest request)
AWSdrs
Deletes a single Job by ID.
deleteJob
in interface AWSdrs
public DeleteLaunchActionResult deleteLaunchAction(DeleteLaunchActionRequest request)
AWSdrs
Deletes a resource launch action.
deleteLaunchAction
in interface AWSdrs
public DeleteLaunchConfigurationTemplateResult deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest request)
AWSdrs
Deletes a single Launch Configuration Template by ID.
deleteLaunchConfigurationTemplate
in interface AWSdrs
public DeleteRecoveryInstanceResult deleteRecoveryInstance(DeleteRecoveryInstanceRequest request)
AWSdrs
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
in interface AWSdrs
public DeleteReplicationConfigurationTemplateResult deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest request)
AWSdrs
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplate
in interface AWSdrs
public DeleteSourceNetworkResult deleteSourceNetwork(DeleteSourceNetworkRequest request)
AWSdrs
Delete Source Network resource.
deleteSourceNetwork
in interface AWSdrs
public DeleteSourceServerResult deleteSourceServer(DeleteSourceServerRequest request)
AWSdrs
Deletes a single Source Server by ID. The Source Server must be disconnected first.
deleteSourceServer
in interface AWSdrs
public DescribeJobLogItemsResult describeJobLogItems(DescribeJobLogItemsRequest request)
AWSdrs
Retrieves a detailed Job log with pagination.
describeJobLogItems
in interface AWSdrs
public DescribeJobsResult describeJobs(DescribeJobsRequest request)
AWSdrs
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
in interface AWSdrs
public DescribeLaunchConfigurationTemplatesResult describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest request)
AWSdrs
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
describeLaunchConfigurationTemplates
in interface AWSdrs
public DescribeRecoveryInstancesResult describeRecoveryInstances(DescribeRecoveryInstancesRequest request)
AWSdrs
Lists all Recovery Instances or multiple Recovery Instances by ID.
describeRecoveryInstances
in interface AWSdrs
public DescribeRecoverySnapshotsResult describeRecoverySnapshots(DescribeRecoverySnapshotsRequest request)
AWSdrs
Lists all Recovery Snapshots for a single Source Server.
describeRecoverySnapshots
in interface AWSdrs
public DescribeReplicationConfigurationTemplatesResult describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest request)
AWSdrs
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplates
in interface AWSdrs
public DescribeSourceNetworksResult describeSourceNetworks(DescribeSourceNetworksRequest request)
AWSdrs
Lists all Source Networks or multiple Source Networks filtered by ID.
describeSourceNetworks
in interface AWSdrs
public DescribeSourceServersResult describeSourceServers(DescribeSourceServersRequest request)
AWSdrs
Lists all Source Servers or multiple Source Servers filtered by ID.
describeSourceServers
in interface AWSdrs
public DisconnectRecoveryInstanceResult disconnectRecoveryInstance(DisconnectRecoveryInstanceRequest request)
AWSdrs
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
in interface AWSdrs
public DisconnectSourceServerResult disconnectSourceServer(DisconnectSourceServerRequest request)
AWSdrs
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
in interface AWSdrs
public ExportSourceNetworkCfnTemplateResult exportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest request)
AWSdrs
Export the Source Network CloudFormation template to an S3 bucket.
exportSourceNetworkCfnTemplate
in interface AWSdrs
public GetFailbackReplicationConfigurationResult getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest request)
AWSdrs
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
getFailbackReplicationConfiguration
in interface AWSdrs
public GetLaunchConfigurationResult getLaunchConfiguration(GetLaunchConfigurationRequest request)
AWSdrs
Gets a LaunchConfiguration, filtered by Source Server IDs.
getLaunchConfiguration
in interface AWSdrs
public GetReplicationConfigurationResult getReplicationConfiguration(GetReplicationConfigurationRequest request)
AWSdrs
Gets a ReplicationConfiguration, filtered by Source Server ID.
getReplicationConfiguration
in interface AWSdrs
public InitializeServiceResult initializeService(InitializeServiceRequest request)
AWSdrs
Initialize Elastic Disaster Recovery.
initializeService
in interface AWSdrs
public ListExtensibleSourceServersResult listExtensibleSourceServers(ListExtensibleSourceServersRequest request)
AWSdrs
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
in interface AWSdrs
public ListLaunchActionsResult listLaunchActions(ListLaunchActionsRequest request)
AWSdrs
Lists resource launch actions.
listLaunchActions
in interface AWSdrs
public ListStagingAccountsResult listStagingAccounts(ListStagingAccountsRequest request)
AWSdrs
Returns an array of staging accounts for existing extended source servers.
listStagingAccounts
in interface AWSdrs
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSdrs
List all tags for your Elastic Disaster Recovery resources.
listTagsForResource
in interface AWSdrs
public PutLaunchActionResult putLaunchAction(PutLaunchActionRequest request)
AWSdrs
Puts a resource launch action.
putLaunchAction
in interface AWSdrs
@Deprecated public RetryDataReplicationResult retryDataReplication(RetryDataReplicationRequest request)
AWSdrs
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
in interface AWSdrs
public ReverseReplicationResult reverseReplication(ReverseReplicationRequest request)
AWSdrs
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
in interface AWSdrs
public StartFailbackLaunchResult startFailbackLaunch(StartFailbackLaunchRequest request)
AWSdrs
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
in interface AWSdrs
public StartRecoveryResult startRecovery(StartRecoveryRequest request)
AWSdrs
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
in interface AWSdrs
public StartReplicationResult startReplication(StartReplicationRequest request)
AWSdrs
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
startReplication
in interface AWSdrs
public StartSourceNetworkRecoveryResult startSourceNetworkRecovery(StartSourceNetworkRecoveryRequest request)
AWSdrs
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
in interface AWSdrs
public StartSourceNetworkReplicationResult startSourceNetworkReplication(StartSourceNetworkReplicationRequest request)
AWSdrs
Starts replication for a Source Network. This action would make the Source Network protected.
startSourceNetworkReplication
in interface AWSdrs
public StopFailbackResult stopFailback(StopFailbackRequest request)
AWSdrs
Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
stopFailback
in interface AWSdrs
public StopReplicationResult stopReplication(StopReplicationRequest request)
AWSdrs
Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
stopReplication
in interface AWSdrs
public StopSourceNetworkReplicationResult stopSourceNetworkReplication(StopSourceNetworkReplicationRequest request)
AWSdrs
Stops replication for a Source Network. This action would make the Source Network unprotected.
stopSourceNetworkReplication
in interface AWSdrs
public TagResourceResult tagResource(TagResourceRequest request)
AWSdrs
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
in interface AWSdrs
public TerminateRecoveryInstancesResult terminateRecoveryInstances(TerminateRecoveryInstancesRequest request)
AWSdrs
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
in interface AWSdrs
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSdrs
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
untagResource
in interface AWSdrs
public UpdateFailbackReplicationConfigurationResult updateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest request)
AWSdrs
Allows you to update the failback replication configuration of a Recovery Instance by ID.
updateFailbackReplicationConfiguration
in interface AWSdrs
public UpdateLaunchConfigurationResult updateLaunchConfiguration(UpdateLaunchConfigurationRequest request)
AWSdrs
Updates a LaunchConfiguration by Source Server ID.
updateLaunchConfiguration
in interface AWSdrs
public UpdateLaunchConfigurationTemplateResult updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest request)
AWSdrs
Updates an existing Launch Configuration Template by ID.
updateLaunchConfigurationTemplate
in interface AWSdrs
public UpdateReplicationConfigurationResult updateReplicationConfiguration(UpdateReplicationConfigurationRequest request)
AWSdrs
Allows you to update a ReplicationConfiguration by Source Server ID.
updateReplicationConfiguration
in interface AWSdrs
public UpdateReplicationConfigurationTemplateResult updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest request)
AWSdrs
Updates a ReplicationConfigurationTemplate by ID.
updateReplicationConfigurationTemplate
in interface AWSdrs
public void shutdown()
AWSdrs
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSdrs
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSdrs
request
- The originally executed request.