v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1497574737.9 KB

Returns the logging status of a bucket and the permissions users have to view and modify that status. To use GET, you must be the bucket owner.

The following operations are related to GetBucketLogging:

get/{Bucket}#logging

Path parameters

Bucketstring required

The bucket name for which to get the logging information.

Query parameters

loggingtrue required

Headers

x-amz-expected-bucket-ownerstring

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 <code>403 Forbidden</code> (access denied).

Response

Success