Learn R Programming

paws.storage (version 0.2.0)

s3_get_bucket_encryption: Returns the default encryption configuration for an Amazon S3 bucket

Description

Returns the default encryption configuration for an Amazon S3 bucket. If the bucket does not have a default encryption configuration, GetBucketEncryption returns ServerSideEncryptionConfigurationNotFoundError.

See https://paws-r.github.io/docs/s3/get_bucket_encryption.html for full documentation.

Usage

s3_get_bucket_encryption(Bucket, ExpectedBucketOwner = NULL)

Arguments

Bucket

[required] The name of the bucket from which the server-side encryption configuration is retrieved.

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