Learn R Programming

paws.storage (version 0.1.9)

s3_delete_bucket: Deletes the bucket

Description

Deletes the bucket. All objects (including all object versions and delete markers) in the bucket must be deleted before the bucket itself can be deleted.

Usage

s3_delete_bucket(Bucket)

Arguments

Bucket

[required] Specifies the bucket being deleted.

Request syntax

svc$delete_bucket(
  Bucket = "string"
)

Details

Related Resources

Examples

Run this code
# NOT RUN {
# The following example deletes the specified bucket.
svc$delete_bucket(
  Bucket = "forrandall2"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab