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 import const client = new S3Client(config); const command = new GetBucketLoggingCommand(input); const response = await client.send(command);
GetBucketLoggingCommandInput for command's input shape.
input
GetBucketLoggingCommandOutput for command's response shape.
response
config for S3Client's config shape.
config
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
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 import const client = new S3Client(config); const command = new GetBucketLoggingCommand(input); const response = await client.send(command);
GetBucketLoggingCommandInput for command's
input
shape.GetBucketLoggingCommandOutput for command's
response
shape.config for S3Client's
config
shape.