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 image file artifacts associated with the specified conversion task. If the task is still active, ignoreActiveTask must be set true to enable artifact deletion, which will cause the task to fail. Use this option at your own risk.

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


public void DeleteImageArtifacts(
         RegionEndpoint region,
         String conversionTaskId,
         Boolean ignoreActiveTask,
         CleanupProgressCallback progressCallback
Type: Amazon.RegionEndpoint

The region containing the bucket where the image file artifacts were stored

Type: System.String

The ID of the conversion task that used the image file

Type: System.Boolean

If true the artifacts are deleted even if the conversion task is still in progress

Type: Amazon.EC2.Import.CleanupProgressCallback

Optional progress callback


Amazon EC2 and S3 clients will be constructed using the specified region and default credentials.

Version Information

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