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

Syntax

C#
public void DeleteImageArtifacts(
         AWSCredentials awsCredentials,
         RegionEndpoint region,
         String bucketName,
         String keyPrefix,
         CleanupProgressCallback progressCallback
)
Parameters
awsCredentials
Type: Amazon.Runtime.AWSCredentials

Credentials to use to instantiate the Amazon EC2 and Amazon S3 clients needed to complete the operation.

region
Type: Amazon.RegionEndpoint

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

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

Remarks

An Amazon S3 client will be constructed using the specified region and credentials.

Version Information

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