AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The StartOnDemandReplicationRun API is used to start a ReplicationRun on demand (in addition to those that are scheduled based on your frequency). This ReplicationRun will start immediately. StartOnDemandReplicationRun is subject to limits on how many on demand ReplicationRuns you may call per 24-hour period.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to StartOnDemandReplicationRunAsync.

Namespace: Amazon.ServerMigrationService
Assembly: AWSSDK.ServerMigrationService.dll
Version: 3.x.y.z


public abstract StartOnDemandReplicationRunResponse StartOnDemandReplicationRun(
         StartOnDemandReplicationRunRequest request
Type: Amazon.ServerMigrationService.Model.StartOnDemandReplicationRunRequest

Container for the necessary parameters to execute the StartOnDemandReplicationRun service method.

Return Value
The response from the StartOnDemandReplicationRun service method, as returned by ServerMigrationService.


InvalidParameterException A parameter specified in the request is not valid, is unsupported, or cannot be used.
MissingRequiredParameterException The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request.
OperationNotPermittedException The specified operation is not allowed. This error can occur for a number of reasons; for example, you might be trying to start a Replication Run before seed Replication Run.
ReplicationRunLimitExceededException This user has exceeded the maximum allowed Replication Run limit.
UnauthorizedOperationException This user does not have permissions to perform this operation.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also