Learn R Programming

paws.storage (version 0.1.7)

s3_delete_bucket_cors: Deletes the cors configuration information set for the bucket

Description

Deletes the cors configuration information set for the bucket.

Usage

s3_delete_bucket_cors(Bucket)

Arguments

Bucket

[required] Specifies the bucket whose cors configuration is being deleted.

Request syntax

svc$delete_bucket_cors(
  Bucket = "string"
)

Details

To use this operation, you must have permission to perform the s3:PutBucketCORS action. The bucket owner has this permission by default and can grant this permission to others.

For information about cors, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Related Resources:

    • RESTOPTIONSobject

Examples

Run this code
# NOT RUN {
# The following example deletes CORS configuration on a bucket.
# }
# NOT RUN {
svc$delete_bucket_cors(
  Bucket = "examplebucket"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab