@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSdrsClient extends AmazonWebServiceClient implements AWSdrs
AWS Elastic Disaster Recovery Service.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSdrsClientBuilder builder()
public AssociateSourceNetworkStackResult associateSourceNetworkStack(AssociateSourceNetworkStackRequest request)
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 AWSdrsassociateSourceNetworkStackRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public CreateExtendedSourceServerResult createExtendedSourceServer(CreateExtendedSourceServerRequest request)
Create an extended source server in the target Account based on the source server in staging account.
createExtendedSourceServer in interface AWSdrscreateExtendedSourceServerRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public CreateLaunchConfigurationTemplateResult createLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest request)
Creates a new Launch Configuration Template.
createLaunchConfigurationTemplate in interface AWSdrscreateLaunchConfigurationTemplateRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public CreateReplicationConfigurationTemplateResult createReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest request)
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplate in interface AWSdrscreateReplicationConfigurationTemplateRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public CreateSourceNetworkResult createSourceNetwork(CreateSourceNetworkRequest request)
Create a new Source Network resource for a provided VPC ID.
createSourceNetwork in interface AWSdrscreateSourceNetworkRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DeleteJobResult deleteJob(DeleteJobRequest request)
Deletes a single Job by ID.
deleteJob in interface AWSdrsdeleteJobRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public DeleteLaunchActionResult deleteLaunchAction(DeleteLaunchActionRequest request)
Deletes a resource launch action.
deleteLaunchAction in interface AWSdrsdeleteLaunchActionRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DeleteLaunchConfigurationTemplateResult deleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest request)
Deletes a single Launch Configuration Template by ID.
deleteLaunchConfigurationTemplate in interface AWSdrsdeleteLaunchConfigurationTemplateRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public DeleteRecoveryInstanceResult deleteRecoveryInstance(DeleteRecoveryInstanceRequest request)
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 AWSdrsdeleteRecoveryInstanceRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.UninitializedAccountException - The account performing the request has not been initialized.public DeleteReplicationConfigurationTemplateResult deleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest request)
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplate in interface AWSdrsdeleteReplicationConfigurationTemplateRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public DeleteSourceNetworkResult deleteSourceNetwork(DeleteSourceNetworkRequest request)
Delete Source Network resource.
deleteSourceNetwork in interface AWSdrsdeleteSourceNetworkRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public DeleteSourceServerResult deleteSourceServer(DeleteSourceServerRequest request)
Deletes a single Source Server by ID. The Source Server must be disconnected first.
deleteSourceServer in interface AWSdrsdeleteSourceServerRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public DescribeJobLogItemsResult describeJobLogItems(DescribeJobLogItemsRequest request)
Retrieves a detailed Job log with pagination.
describeJobLogItems in interface AWSdrsdescribeJobLogItemsRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DescribeJobsResult describeJobs(DescribeJobsRequest request)
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 AWSdrsdescribeJobsRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DescribeLaunchConfigurationTemplatesResult describeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest request)
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
describeLaunchConfigurationTemplates in interface AWSdrsdescribeLaunchConfigurationTemplatesRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DescribeRecoveryInstancesResult describeRecoveryInstances(DescribeRecoveryInstancesRequest request)
Lists all Recovery Instances or multiple Recovery Instances by ID.
describeRecoveryInstances in interface AWSdrsdescribeRecoveryInstancesRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.UninitializedAccountException - The account performing the request has not been initialized.public DescribeRecoverySnapshotsResult describeRecoverySnapshots(DescribeRecoverySnapshotsRequest request)
Lists all Recovery Snapshots for a single Source Server.
describeRecoverySnapshots in interface AWSdrsdescribeRecoverySnapshotsRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DescribeReplicationConfigurationTemplatesResult describeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest request)
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplates in interface AWSdrsdescribeReplicationConfigurationTemplatesRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DescribeSourceNetworksResult describeSourceNetworks(DescribeSourceNetworksRequest request)
Lists all Source Networks or multiple Source Networks filtered by ID.
describeSourceNetworks in interface AWSdrsdescribeSourceNetworksRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DescribeSourceServersResult describeSourceServers(DescribeSourceServersRequest request)
Lists all Source Servers or multiple Source Servers filtered by ID.
describeSourceServers in interface AWSdrsdescribeSourceServersRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public DisconnectRecoveryInstanceResult disconnectRecoveryInstance(DisconnectRecoveryInstanceRequest request)
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 AWSdrsdisconnectRecoveryInstanceRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.UninitializedAccountException - The account performing the request has not been initialized.public DisconnectSourceServerResult disconnectSourceServer(DisconnectSourceServerRequest request)
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 AWSdrsdisconnectSourceServerRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public ExportSourceNetworkCfnTemplateResult exportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest request)
Export the Source Network CloudFormation template to an S3 bucket.
exportSourceNetworkCfnTemplate in interface AWSdrsexportSourceNetworkCfnTemplateRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public GetFailbackReplicationConfigurationResult getFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest request)
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
getFailbackReplicationConfiguration in interface AWSdrsgetFailbackReplicationConfigurationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public GetLaunchConfigurationResult getLaunchConfiguration(GetLaunchConfigurationRequest request)
Gets a LaunchConfiguration, filtered by Source Server IDs.
getLaunchConfiguration in interface AWSdrsgetLaunchConfigurationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public GetReplicationConfigurationResult getReplicationConfiguration(GetReplicationConfigurationRequest request)
Gets a ReplicationConfiguration, filtered by Source Server ID.
getReplicationConfiguration in interface AWSdrsgetReplicationConfigurationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.UninitializedAccountException - The account performing the request has not been initialized.public InitializeServiceResult initializeService(InitializeServiceRequest request)
Initialize Elastic Disaster Recovery.
initializeService in interface AWSdrsinitializeServiceRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.public ListExtensibleSourceServersResult listExtensibleSourceServers(ListExtensibleSourceServersRequest request)
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 AWSdrslistExtensibleSourceServersRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public ListLaunchActionsResult listLaunchActions(ListLaunchActionsRequest request)
Lists resource launch actions.
listLaunchActions in interface AWSdrslistLaunchActionsRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public ListStagingAccountsResult listStagingAccounts(ListStagingAccountsRequest request)
Returns an array of staging accounts for existing extended source servers.
listStagingAccounts in interface AWSdrslistStagingAccountsRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
List all tags for your Elastic Disaster Recovery resources.
listTagsForResource in interface AWSdrslistTagsForResourceRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.public PutLaunchActionResult putLaunchAction(PutLaunchActionRequest request)
Puts a resource launch action.
putLaunchAction in interface AWSdrsputLaunchActionRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.@Deprecated public RetryDataReplicationResult retryDataReplication(RetryDataReplicationRequest request)
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 AWSdrsretryDataReplicationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public ReverseReplicationResult reverseReplication(ReverseReplicationRequest request)
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 AWSdrsreverseReplicationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public StartFailbackLaunchResult startFailbackLaunch(StartFailbackLaunchRequest request)
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 AWSdrsstartFailbackLaunchRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public StartRecoveryResult startRecovery(StartRecoveryRequest request)
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 AWSdrsstartRecoveryRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public StartReplicationResult startReplication(StartReplicationRequest request)
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
startReplication in interface AWSdrsstartReplicationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public StartSourceNetworkRecoveryResult startSourceNetworkRecovery(StartSourceNetworkRecoveryRequest request)
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 AWSdrsstartSourceNetworkRecoveryRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public StartSourceNetworkReplicationResult startSourceNetworkReplication(StartSourceNetworkReplicationRequest request)
Starts replication for a Source Network. This action would make the Source Network protected.
startSourceNetworkReplication in interface AWSdrsstartSourceNetworkReplicationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public StopFailbackResult stopFailback(StopFailbackRequest request)
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 AWSdrsstopFailbackRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public StopReplicationResult stopReplication(StopReplicationRequest request)
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 AWSdrsstopReplicationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public StopSourceNetworkReplicationResult stopSourceNetworkReplication(StopSourceNetworkReplicationRequest request)
Stops replication for a Source Network. This action would make the Source Network unprotected.
stopSourceNetworkReplication in interface AWSdrsstopSourceNetworkReplicationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public TagResourceResult tagResource(TagResourceRequest request)
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 AWSdrstagResourceRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.public TerminateRecoveryInstancesResult terminateRecoveryInstances(TerminateRecoveryInstancesRequest request)
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 AWSdrsterminateRecoveryInstancesRequest - InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ServiceQuotaExceededException - The request could not be completed because its exceeded the service quota.ThrottlingException - The request was denied due to request throttling.UninitializedAccountException - The account performing the request has not been initialized.public UntagResourceResult untagResource(UntagResourceRequest request)
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
untagResource in interface AWSdrsuntagResourceRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.public UpdateFailbackReplicationConfigurationResult updateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest request)
Allows you to update the failback replication configuration of a Recovery Instance by ID.
updateFailbackReplicationConfiguration in interface AWSdrsupdateFailbackReplicationConfigurationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.UninitializedAccountException - The account performing the request has not been initialized.public UpdateLaunchConfigurationResult updateLaunchConfiguration(UpdateLaunchConfigurationRequest request)
Updates a LaunchConfiguration by Source Server ID.
updateLaunchConfiguration in interface AWSdrsupdateLaunchConfigurationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public UpdateLaunchConfigurationTemplateResult updateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest request)
Updates an existing Launch Configuration Template by ID.
updateLaunchConfigurationTemplate in interface AWSdrsupdateLaunchConfigurationTemplateRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public UpdateReplicationConfigurationResult updateReplicationConfiguration(UpdateReplicationConfigurationRequest request)
Allows you to update a ReplicationConfiguration by Source Server ID.
updateReplicationConfiguration in interface AWSdrsupdateReplicationConfigurationRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ConflictException - The request could not be completed due to a conflict with the current state of the target resource.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public UpdateReplicationConfigurationTemplateResult updateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest request)
Updates a ReplicationConfigurationTemplate by ID.
updateReplicationConfigurationTemplate in interface AWSdrsupdateReplicationConfigurationTemplateRequest - ResourceNotFoundException - The resource for this operation was not found.InternalServerException - The request processing has failed because of an unknown error, exception or failure.ThrottlingException - The request was denied due to request throttling.AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service.UninitializedAccountException - The account performing the request has not been initialized.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata in interface AWSdrsrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSdrsshutdown in class AmazonWebServiceClient