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

Mgn

import { Mgn } from "https://aws-api.deno.dev/v0.3/services/mgn.ts?docs=full";
class Mgn {
constructor(apiFactory: client.ApiFactory);
async changeServerLifeCycleState(params: ChangeServerLifeCycleStateRequest, opts?: client.RequestOptions): Promise<SourceServer>;
async createReplicationConfigurationTemplate(params: CreateReplicationConfigurationTemplateRequest, opts?: client.RequestOptions): Promise<ReplicationConfigurationTemplate>;
async deleteJob(params: DeleteJobRequest, opts?: client.RequestOptions): Promise<void>;
async deleteReplicationConfigurationTemplate(params: DeleteReplicationConfigurationTemplateRequest, opts?: client.RequestOptions): Promise<void>;
async deleteSourceServer(params: DeleteSourceServerRequest, opts?: client.RequestOptions): Promise<void>;
async deleteVcenterClient(params: DeleteVcenterClientRequest, opts?: client.RequestOptions): Promise<void>;
async describeJobLogItems(params: DescribeJobLogItemsRequest, opts?: client.RequestOptions): Promise<DescribeJobLogItemsResponse>;
async describeJobs(params: DescribeJobsRequest, opts?: client.RequestOptions): Promise<DescribeJobsResponse>;
async describeSourceServers(params: DescribeSourceServersRequest, opts?: client.RequestOptions): Promise<DescribeSourceServersResponse>;
async describeVcenterClients(params?: DescribeVcenterClientsRequest, opts?: client.RequestOptions): Promise<DescribeVcenterClientsResponse>;
async disconnectFromService(params: DisconnectFromServiceRequest, opts?: client.RequestOptions): Promise<SourceServer>;
async finalizeCutover(params: FinalizeCutoverRequest, opts?: client.RequestOptions): Promise<SourceServer>;
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 listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async markAsArchived(params: MarkAsArchivedRequest, opts?: client.RequestOptions): Promise<SourceServer>;
async retryDataReplication(params: RetryDataReplicationRequest, opts?: client.RequestOptions): Promise<SourceServer>;
async startCutover(params: StartCutoverRequest, opts?: client.RequestOptions): Promise<StartCutoverResponse>;
async startReplication(params: StartReplicationRequest, opts?: client.RequestOptions): Promise<SourceServer>;
async startTest(params: StartTestRequest, opts?: client.RequestOptions): Promise<StartTestResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async terminateTargetInstances(params: TerminateTargetInstancesRequest, opts?: client.RequestOptions): Promise<TerminateTargetInstancesResponse>;
async untagResource(params: UntagResourceRequest, 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>;
async updateSourceServerReplicationType(params: UpdateSourceServerReplicationTypeRequest, opts?: client.RequestOptions): Promise<SourceServer>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

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

§Methods

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

Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)

§

Creates a new ReplicationConfigurationTemplate.

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

Deletes a single Job by ID.

§
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.

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

Deletes a single vCenter client by ID.

§

Retrieves detailed Job log with paging.

§

Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normaly created by the StartTest, StartCutover, and TerminateTargetInstances 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 ReplicationConfigurationTemplates, filtered by Source Server IDs.

§

Retrieves all SourceServers or multiple SourceServers by ID.

§

Lists all vCenter clients.

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

Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communciating with the Application Migration Service 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.lagDurationwill be nullified.

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

Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.

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

Lists all LaunchConfigurations available, filtered by Source Server IDs.

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

Lists all ReplicationConfigurations, filtered by Source Server ID.

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

Initialize Application Migration Service.

§

List all tags for your Application Migration Service resources.

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

Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle.state which equals DISCONNECTED or CUTOVER.

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

Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.

§

Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.

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

Starts replication on source server by ID.

§

Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.

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

Adds or overwrites only the specified tags for the specified Application Migration Service 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.

§

Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.

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

Deletes the specified set of tags from the specified set of Application Migration Service resources.

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

Updates multiple LaunchConfigurations by Source Server ID.

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

Allows you to update multiple ReplicationConfigurations by Source Server ID.

§

Updates multiple ReplicationConfigurationTemplates by ID.

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

Updates source server Replication Type by ID.

§Static Properties