Learn R Programming

paws.storage (version 0.4.0)

s3_delete_public_access_block: Removes the PublicAccessBlock configuration for an Amazon S3 bucket

Description

Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock permission. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

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

Usage

s3_delete_public_access_block(Bucket, ExpectedBucketOwner = NULL)

Arguments

Bucket

[required] The Amazon S3 bucket whose PublicAccessBlock configuration you want to delete.

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).