Protected
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:
GetBucketLogging
CreateBucket
PutBucketLogging
Use a bare-bones client and the command you need to make an API call.
import { S3Client, GetBucketLoggingCommand } from "@aws-sdk/client-s3"; // ES Modules import// const { S3Client, GetBucketLoggingCommand } = require("@aws-sdk/client-s3"); // CommonJS importconst client = new S3Client(config);const command = new GetBucketLoggingCommand(input);const response = await client.send(command);
input
response
config
Readonly
Static
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
:CreateBucket
PutBucketLogging
Example
Use a bare-bones client and the command you need to make an API call.
See
input
shape.response
shape.config
shape.