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

CreateReplicationJob

Request Syntax

{
   "description": "string",
   "frequency": number,
   "licenseType": "string",
   "roleName": "string",
   "seedReplicationTime": number,
   "serverId": "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.

description

Type: String

Required: No

frequency

Type: Integer

Required: Yes

licenseType

Type: String

Valid Values: AWS | BYOL

Required: No

roleName

Type: String

Required: No

seedReplicationTime

Type: Timestamp

Required: Yes

serverId

Type: String

Required: Yes

Response Syntax

{
   "replicationJobId": "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.

replicationJobId

Type: String

Errors

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

InternalError

HTTP Status Code: 500

InvalidParameterException

HTTP Status Code: 400

MissingRequiredParameterException

HTTP Status Code: 400

NoConnectorsAvailableException

HTTP Status Code: 400

OperationNotPermittedException

HTTP Status Code: 400

ReplicationJobAlreadyExistsException

HTTP Status Code: 400

ServerCannotBeReplicatedException

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: