Learn R Programming

paws.storage (version 0.4.0)

s3_delete_bucket_website: This action removes the website configuration for a bucket

Description

This action removes the website configuration for a bucket. Amazon S3 returns a 200 OK response upon successfully deleting a website configuration on the specified bucket. You will get a 200 OK response if the website configuration you are trying to delete does not exist on the bucket. Amazon S3 returns a 404 response if the bucket specified in the request does not exist.

See https://www.paws-r-sdk.com/docs/s3_delete_bucket_website/ for full documentation.

Usage

s3_delete_bucket_website(Bucket, ExpectedBucketOwner = NULL)

Arguments

Bucket

[required] The bucket name for which you want to remove the website configuration.

ExpectedBucketOwner

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden (access denied).