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 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.

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


public void DeleteImageArtifacts(
         ICoreAmazonS3 s3Client,
         String bucketName,
         String keyPrefix,
         CleanupProgressCallback progressCallback
Type: Amazon.Runtime.SharedInterfaces.ICoreAmazonS3

An Amazon S3 client for the operation to use. This should have been constructed using credentials that have access to the bucket containing the image file artifacts and be scoped to the region containing the bucket.

Type: System.String

The name of the bucket containing the artifacts

Type: System.String

The common key prefix of the artifacts

Type: Amazon.EC2.Import.CleanupProgressCallback

Optional progress callback

Version Information

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