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.

Collection of helper methods for removing VM image file artifacts from Amazon S3 after an instance or volume conversion has been performed.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Import.ImportCleanup

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

Syntax

C#
public abstract class ImportCleanup

The ImportCleanup type exposes the following members

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method Static Method DeleteImageArtifacts(AWSCredentials, RegionEndpoint, string, bool, CleanupProgressCallback)

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.

Public Method Static Method DeleteImageArtifacts(RegionEndpoint, string, bool, CleanupProgressCallback)

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.

Public Method Static Method DeleteImageArtifacts(IAmazonEC2, ICoreAmazonS3, string, bool, CleanupProgressCallback)

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.

Public Method Static Method DeleteImageArtifacts(AWSCredentials, RegionEndpoint, string, CleanupProgressCallback)

Deletes the artifacts associated with an import task using a presigned url to address the manifest for the import. No check is performed to determine whether the associated conversion task is in progress.

Public Method Static Method DeleteImageArtifacts(RegionEndpoint, string, CleanupProgressCallback)

Deletes the artifacts associated with an import task using a presigned url to address the manifest for the import. No check is performed to determine whether the associated conversion task is in progress.

Public Method Static Method DeleteImageArtifacts(ICoreAmazonS3, string, CleanupProgressCallback)

Deletes the artifacts associated with an import task using a presigned url to address the manifest for the import. No check is performed to determine whether the associated conversion task is in progress.

Public Method Static Method DeleteImageArtifacts(AWSCredentials, RegionEndpoint, string, string, CleanupProgressCallback)

Deletes the artifacts associated with an import task using the bucket name and key prefix to the artifacts in Amazon S3. No check is performed to determine whether the associated conversion task is in progress.

Public Method Static Method DeleteImageArtifacts(RegionEndpoint, string, string, CleanupProgressCallback)

Deletes the artifacts associated with an import task using the bucket name and key prefix to the artifacts in Amazon S3. No check is performed to determine whether the associated conversion task is in progress.

Public Method Static Method DeleteImageArtifacts(ICoreAmazonS3, string, string, CleanupProgressCallback)

Deletes the artifacts associated with an import task using the bucket name and key prefix to the artifacts in Amazon S3. No check is performed to determine whether the associated conversion task is in progress.

Version Information

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