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.

Cancels an export task in progress that is exporting a snapshot or cluster to Amazon S3. Any data that has already been written to the S3 bucket isn't removed.

Note:

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

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

Syntax

C#
public abstract CancelExportTaskResponse CancelExportTask(
         CancelExportTaskRequest request
)

Parameters

request
Type: Amazon.RDS.Model.CancelExportTaskRequest

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

Return Value


The response from the CancelExportTask service method, as returned by RDS.

Exceptions

ExceptionCondition
ExportTaskNotFoundException The export task doesn't exist.
InvalidExportTaskStateException You can't cancel an export task that has completed.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also