The parameters to request removal of the website configuration for a bucket.
| C# |
public class DeleteBucketWebsiteRequest : S3Request
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DeleteBucketWebsiteRequest()()()() | Initializes a new instance of the DeleteBucketWebsiteRequest class | |
| AddHeader(String, String) |
Adds the header to the collection of headers for the request.
(Inherited from S3Request.) | |
| AddHeaders(NameValueCollection) |
Adds all of the specified key/value pairs into the request headers collection.
(Inherited from S3Request.) | |
| BucketName |
The name of the bucket on which website configuration is to be removed.
| |
| 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 |
Input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.) | |
| ReadWriteTimeout |
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.) | |
| Timeout |
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.) | |
| ToString()()()() | (Inherited from S3Request.) | |
| WithBucketName(String) | Obsolete.
Sets the name of the bucket on which website configuration is to be removed.
| |
| WithInputStream(Stream) | Obsolete.
Sets an input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.) | |
| WithReadWriteTimeout(Int32) | Obsolete.
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.) | |
| WithTimeout(Int32) | Obsolete.
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.) |
This operation requires the S3:DeleteBucketWebsite permission. By default, only the bucket owner
can delete the website configuration attached to a bucket. However, bucket owners can grant other
users permission to delete the website configuration by writing a bucket policy granting them the
S3:DeleteBucketWebsite permission.
For more information about hosting websites, go to http://docs.amazonwebservices.com/AmazonS3/latest/dev/WebsiteHosting.html
in the Amazon S3 Developer Guide.