Menu
AWS Server Migration Service
Server Migration (API Version 2016-10-24)

GetReplicationRuns

Request Syntax

{
   "maxResults": number,
   "nextToken": "string",
   "replicationJobId": "string"
}

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

maxResults

Type: Integer

Required: No

nextToken

Type: String

Required: No

replicationJobId

Type: String

Required: Yes

Response Syntax

{
   "nextToken": "string",
   "replicationJob": { 
      "description": "string",
      "frequency": number,
      "latestAmiId": "string",
      "licenseType": "string",
      "nextReplicationRunStartTime": number,
      "replicationJobId": "string",
      "replicationRunList": [ 
         { 
            "amiId": "string",
            "completedTime": number,
            "description": "string",
            "replicationRunId": "string",
            "scheduledStartTime": number,
            "state": "string",
            "statusMessage": "string",
            "type": "string"
         }
      ],
      "roleName": "string",
      "seedReplicationTime": number,
      "serverId": "string",
      "serverType": "string",
      "state": "string",
      "statusMessage": "string",
      "vmServer": { 
         "vmManagerName": "string",
         "vmManagerType": "string",
         "vmName": "string",
         "vmPath": "string",
         "vmServerAddress": { 
            "vmId": "string",
            "vmManagerId": "string"
         }
      }
   },
   "replicationRunList": [ 
      { 
         "amiId": "string",
         "completedTime": number,
         "description": "string",
         "replicationRunId": "string",
         "scheduledStartTime": number,
         "state": "string",
         "statusMessage": "string",
         "type": "string"
      }
   ]
}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

nextToken

Type: String

replicationJob

Type: ReplicationJob object

replicationRunList

Type: Array of ReplicationRun objects

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidParameterException

HTTP Status Code: 400

MissingRequiredParameterException

HTTP Status Code: 400

UnauthorizedOperationException

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: