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.

Deletes the specified replication job.

After you delete a replication job, there are no further replication runs. Amazon Web Services deletes the contents of the Amazon S3 bucket used to store Server Migration Service artifacts. The AMIs created by the replication runs are not deleted.

Note:

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

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

Syntax

C#
public abstract DeleteReplicationJobResponse DeleteReplicationJob(
         DeleteReplicationJobRequest request
)

Parameters

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.

Exceptions

ExceptionCondition
InvalidParameterException A specified parameter is not valid.
MissingRequiredParameterException A required parameter is missing.
OperationNotPermittedException This operation is not allowed.
ReplicationJobNotFoundException The specified replication job does not exist.
UnauthorizedOperationException You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

Version Information

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

See Also