Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetBucketLoggingCommand

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:

example

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);
see

GetBucketLoggingCommandInput for command's input shape.

see

GetBucketLoggingCommandOutput for command's response shape.

see

config for S3Client's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetBucketLoggingCommandInput

Readonly middlewareStack