Amazon.ServerMigrationService.AmazonServerMigrationServiceClient.DeleteReplicationJob C# (CSharp) Method

DeleteReplicationJob() public method

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.
/// A parameter specified in the request is not valid, is unsupported, or cannot be used. /// /// The request is missing a required parameter. Ensure that you have supplied all the /// required parameters for the request. /// /// 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. /// /// The specified Replication Job cannot be found. /// /// This user does not have permissions to perform this operation. ///
public DeleteReplicationJob ( DeleteReplicationJobRequest request ) : DeleteReplicationJobResponse
request Amazon.ServerMigrationService.Model.DeleteReplicationJobRequest Container for the necessary parameters to execute the DeleteReplicationJob service method.
return DeleteReplicationJobResponse
        public DeleteReplicationJobResponse DeleteReplicationJob(DeleteReplicationJobRequest request)
        {
            var marshaller = new DeleteReplicationJobRequestMarshaller();
            var unmarshaller = DeleteReplicationJobResponseUnmarshaller.Instance;

            return Invoke<DeleteReplicationJobRequest,DeleteReplicationJobResponse>(request, marshaller, unmarshaller);
        }