Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetObjectLockConfigurationCommand

Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see Locking Objects.

example

Use a bare-bones client and the command you need to make an API call.

import { S3Client, GetObjectLockConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
// const { S3Client, GetObjectLockConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
const client = new S3Client(config);
const command = new GetObjectLockConfigurationCommand(input);
const response = await client.send(command);
see

GetObjectLockConfigurationCommandInput for command's input shape.

see

GetObjectLockConfigurationCommandOutput for command's response shape.

see

config for S3Client's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetObjectLockConfigurationCommandInput

Readonly middlewareStack