The DeleteObjectRequest contains the parameters used for the DeleteObject operation.
Required Parameters: BucketName, Key
The MfaCodes property is required if the bucket containing this object has been configured with the EnableMfaDelete property. For more information, please see: EnableMfaDelete.
Namespace: Amazon.S3.ModelRequired Parameters: BucketName, Key
The MfaCodes property is required if the bucket containing this object has been configured with the EnableMfaDelete property. For more information, please see: EnableMfaDelete.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| DeleteObjectRequest()()()() | Initializes a new instance of the DeleteObjectRequest class | |
| AddHeader(String, String) |
Adds the header to the collection of headers for the request.
(Inherited from S3Request.) | |
| AddHeaders(NameValueCollection) |
Adds all of the key/value pairs from collection into our request header.
(Inherited from S3Request.) | |
| BucketName |
Gets and sets the BucketName property.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InputStream |
Gets and sets the InputStream property.
(Inherited from S3Request.) | |
| Key |
Gets and sets the Key property.
| |
| MfaCodes |
Gets and Sets the MfaCodes property.
The MfaCodes Tuple associates the Serial Number
and the current Token/Code displayed on the
Multi-Factor Authentication device associated with
your AWS Account. This is a required property for this
request if: 1. EnableMfaDelete was configured on the bucket containing this object's version. 2. You are deleting an object's version | |
| ToString()()()() | (Inherited from S3Request.) | |
| VersionId |
Gets and sets the VersionId property.
| |
| WithBucketName(String) |
Sets the BucketName property for this request.
This is the S3 Bucket that contains the S3 Object
you want to delete.
| |
| WithInputStream(Stream) |
Sets the InputStream property.
(Inherited from S3Request.) | |
| WithKey(String) |
Sets the Key property for this request.
This is the Key for the S3 Object you want to delete.
| |
| WithMfaCodes(String, String) |
Sets the MfaCodes property.
The MfaCodes Tuple associates the Serial Number
and the current Token/Code displayed on the
Multi-Factor Authentication device associated with
your AWS Account. This is a required property for this
request if: 1. EnableMfaDelete was configured on the bucket containing this object's version. 2. You are deleting an object's version | |
| WithVersionId(String) |
Sets the VersionId property for this request.
This is the VersionId for the S3 Object you want to Delete.
|