Modifies the name and description of a migration source.


You can call this operation regardless of the status of the migration source.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifySourceServerAttribute

The operation that you want to perform. Set the value to ModifySourceServerAttribute.

SourceId String Yes s-bp17m1vi6x20c6g6****

The ID of the migration source.

Name String No testSourceServerName

The name of the migration source. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).

Description String No This is a source server.

The description of the migration source. The description can be up to 256 characters in length and cannot start with http:// or https://.

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.


Sample request

&Description=This is a source server.
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"

Error codes

HTTP status code Error code Error message Description
400 SourceServerState.Invalid The specified source server status is invalid. The error message returned because the migration source is in an invalid state and the operation is not supported.
400 SourceServerName.Duplicate The specified source server name already exists. Please modify the source server name. The error message returned because the specified migration source name already exists. Specify another name.
500 InternalError An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. The error message returned because an internal error has occurred. Try again later. If the error persists, submit a ticket.

For a list of error codes, visit the API Error Center.