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 DeleteReplicationJob API is used to delete a ReplicationJob, resulting in no further ReplicationRuns. This will delete the contents of the S3 bucket used to store SMS artifacts, but will not delete any AMIs created by the SMS service.


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

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


public abstract DeleteReplicationJobResponse DeleteReplicationJob(
         DeleteReplicationJobRequest request
Type: Amazon.ServerMigrationService.Model.DeleteReplicationJobRequest

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

Return Value
The response from the DeleteReplicationJob 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.
ReplicationJobNotFoundException The specified Replication Job cannot be found.
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