AWS SDK Version 2 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.

.NET Framework 4.5
 
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.dll
Version: (assembly version)

Syntax

C#
public void DeleteImageArtifacts(
         IAmazonS3 s3Client,
         String bucketName,
         String keyPrefix,
         CleanupProgressCallback progressCallback
)

Parameters

s3Client
Type: Amazon.S3.IAmazonS3

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.

bucketName
Type: System.String

The name of the bucket containing the artifacts

keyPrefix
Type: System.String

The common key prefix of the artifacts

progressCallback
Type: Amazon.EC2.Import.CleanupProgressCallback

Optional progress callback

Version Information

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