The DeleteObjectsRequest contains the parameters used for the DeleteObjects operation.
Required Parameters: BucketName, Keys
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, Keys
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 | |
|---|---|---|
| DeleteObjectsRequest()()()() | Initializes a new instance of the DeleteObjectsRequest 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.) | |
| AddKey(String) |
Add a key to be deleted.
| |
| AddKey(KeyVersion) |
Add a KeyVersion object representing the S3 object
to be deleted.
| |
| AddKey(String, String) |
Add a key and a version to be deleted.
| |
| AddKeys(array<KeyVersion>[]()[][]) |
Add a number of KeyVersion objects representing the S3 objects
to be deleted.
| |
| 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.) | |
| Keys |
List of KeyVersion objects representing
the S3 objects that should be deleted.
| |
| 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: Permanently deleting a versioned object and versioning is configured with MFA Delete enabled. | |
| Quiet |
Gets and Sets the property that governs whether
the response includes successful deletes as well as errors
following the DeleteObjects call against S3.
By default this property is false and successful deletes
are returned in the response.
| |
| ToString()()()() | (Inherited from S3Request.) | |
| WithBucketName(String) |
Sets the BucketName property for this request.
This is the S3 Bucket that contains the S3 Objects
you want to delete.
| |
| WithInputStream(Stream) |
Sets the InputStream property.
(Inherited from S3Request.) | |
| WithKeys(array<KeyVersion>[]()[][]) |
Adds the elements from the array to the collection of KeyVersions
for this request.
| |
| 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: Permanently deleting a versioned object and versioning is configured with MFA Delete enabled. | |
| WithQuiet(Boolean) |
Sets the Quiet property. If this property is set,
the response includes successful deletes as well as errors
following the DeleteObjects call against S3.
|