Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Drs

import { Drs } from "https://aws-api.deno.dev/v0.4/services/drs.ts?docs=full";
class Drs {
constructor(apiFactory: client.ApiFactory);
async createExtendedSourceServer(params: CreateExtendedSourceServerRequest, opts?: client.RequestOptions): Promise<CreateExtendedSourceServerResponse>;
async createReplicationConfigurationTemplate(params: CreateReplicationConfigurationTemplateRequest, opts?: client.RequestOptions): Promise<ReplicationConfigurationTemplate>;
async deleteJob(params: DeleteJobRequest, opts?: client.RequestOptions): Promise<void>;
async deleteRecoveryInstance(params: DeleteRecoveryInstanceRequest, opts?: client.RequestOptions): Promise<void>;
async deleteReplicationConfigurationTemplate(params: DeleteReplicationConfigurationTemplateRequest, opts?: client.RequestOptions): Promise<void>;
async deleteSourceServer(params: DeleteSourceServerRequest, opts?: client.RequestOptions): Promise<void>;
async describeJobLogItems(params: DescribeJobLogItemsRequest, opts?: client.RequestOptions): Promise<DescribeJobLogItemsResponse>;
async describeJobs(params?: DescribeJobsRequest, opts?: client.RequestOptions): Promise<DescribeJobsResponse>;
async describeRecoveryInstances(params?: DescribeRecoveryInstancesRequest, opts?: client.RequestOptions): Promise<DescribeRecoveryInstancesResponse>;
async describeRecoverySnapshots(params: DescribeRecoverySnapshotsRequest, opts?: client.RequestOptions): Promise<DescribeRecoverySnapshotsResponse>;
async describeReplicationConfigurationTemplates(params?: DescribeReplicationConfigurationTemplatesRequest, opts?: client.RequestOptions): Promise<DescribeReplicationConfigurationTemplatesResponse>;
async describeSourceServers(params?: DescribeSourceServersRequest, opts?: client.RequestOptions): Promise<DescribeSourceServersResponse>;
async disconnectRecoveryInstance(params: DisconnectRecoveryInstanceRequest, opts?: client.RequestOptions): Promise<void>;
async disconnectSourceServer(params: DisconnectSourceServerRequest, opts?: client.RequestOptions): Promise<SourceServer>;
async getFailbackReplicationConfiguration(params: GetFailbackReplicationConfigurationRequest, opts?: client.RequestOptions): Promise<GetFailbackReplicationConfigurationResponse>;
async getLaunchConfiguration(params: GetLaunchConfigurationRequest, opts?: client.RequestOptions): Promise<LaunchConfiguration>;
async getReplicationConfiguration(params: GetReplicationConfigurationRequest, opts?: client.RequestOptions): Promise<ReplicationConfiguration>;
async initializeService(opts?: client.RequestOptions): Promise<void>;
async listExtensibleSourceServers(params: ListExtensibleSourceServersRequest, opts?: client.RequestOptions): Promise<ListExtensibleSourceServersResponse>;
async listStagingAccounts(params?: ListStagingAccountsRequest, opts?: client.RequestOptions): Promise<ListStagingAccountsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async retryDataReplication(params: RetryDataReplicationRequest, opts?: client.RequestOptions): Promise<SourceServer>;
async reverseReplication(params: ReverseReplicationRequest, opts?: client.RequestOptions): Promise<ReverseReplicationResponse>;
async startFailbackLaunch(params: StartFailbackLaunchRequest, opts?: client.RequestOptions): Promise<StartFailbackLaunchResponse>;
async startRecovery(params: StartRecoveryRequest, opts?: client.RequestOptions): Promise<StartRecoveryResponse>;
async startReplication(params: StartReplicationRequest, opts?: client.RequestOptions): Promise<StartReplicationResponse>;
async stopFailback(params: StopFailbackRequest, opts?: client.RequestOptions): Promise<void>;
async stopReplication(params: StopReplicationRequest, opts?: client.RequestOptions): Promise<StopReplicationResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async terminateRecoveryInstances(params: TerminateRecoveryInstancesRequest, opts?: client.RequestOptions): Promise<TerminateRecoveryInstancesResponse>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateFailbackReplicationConfiguration(params: UpdateFailbackReplicationConfigurationRequest, opts?: client.RequestOptions): Promise<void>;
async updateLaunchConfiguration(params: UpdateLaunchConfigurationRequest, opts?: client.RequestOptions): Promise<LaunchConfiguration>;
async updateReplicationConfiguration(params: UpdateReplicationConfigurationRequest, opts?: client.RequestOptions): Promise<ReplicationConfiguration>;
async updateReplicationConfigurationTemplate(params: UpdateReplicationConfigurationTemplateRequest, opts?: client.RequestOptions): Promise<ReplicationConfigurationTemplate>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Drs(apiFactory: client.ApiFactory)
[src]

§Methods

§

Create an extended source server in the target Account based on the source server in staging account.

§

Creates a new ReplicationConfigurationTemplate.

§
deleteJob(params: DeleteJobRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a single Job by ID.

§
deleteRecoveryInstance(params: DeleteRecoveryInstanceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
deleteReplicationConfigurationTemplate(params: DeleteReplicationConfigurationTemplateRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a single Replication Configuration Template by ID

§
deleteSourceServer(params: DeleteSourceServerRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a single Source Server by ID. The Source Server must be disconnected first.

§

Retrieves a detailed Job log with pagination.

§

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.

§

Lists all Recovery Instances or multiple Recovery Instances by ID.

§

Lists all Recovery Snapshots for a single Source Server.

§

Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.

§

Lists all Source Servers or multiple Source Servers filtered by ID.

§
disconnectRecoveryInstance(params: DisconnectRecoveryInstanceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
disconnectSourceServer(params: DisconnectSourceServerRequest, opts?: client.RequestOptions): Promise<SourceServer>
[src]

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.

§

Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.

§
getLaunchConfiguration(params: GetLaunchConfigurationRequest, opts?: client.RequestOptions): Promise<LaunchConfiguration>
[src]

Gets a LaunchConfiguration, filtered by Source Server IDs.

§
getReplicationConfiguration(params: GetReplicationConfigurationRequest, opts?: client.RequestOptions): Promise<ReplicationConfiguration>
[src]

Gets a ReplicationConfiguration, filtered by Source Server ID.

§
initializeService(opts?: client.RequestOptions): Promise<void>
[src]

Initialize Elastic Disaster Recovery.

§

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.

§

Returns an array of staging accounts for existing extended source servers.

§

List all tags for your Elastic Disaster Recovery resources.

§
retryDataReplication(params: RetryDataReplicationRequest, opts?: client.RequestOptions): Promise<SourceServer>
[src]

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.

§

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.

§

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.

§

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.

§

Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.

§
stopFailback(params: StopFailbackRequest, opts?: client.RequestOptions): Promise<void>
[src]

Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.

§

Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

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.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.

§
updateFailbackReplicationConfiguration(params: UpdateFailbackReplicationConfigurationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Allows you to update the failback replication configuration of a Recovery Instance by ID.

§
updateLaunchConfiguration(params: UpdateLaunchConfigurationRequest, opts?: client.RequestOptions): Promise<LaunchConfiguration>
[src]

Updates a LaunchConfiguration by Source Server ID.

§
updateReplicationConfiguration(params: UpdateReplicationConfigurationRequest, opts?: client.RequestOptions): Promise<ReplicationConfiguration>
[src]

Allows you to update a ReplicationConfiguration by Source Server ID.

§

Updates a ReplicationConfigurationTemplate by ID.

§Static Properties