Jump to Content

Class DeleteBucketOwnershipControlsCommandProtected

Removes OwnershipControls for an Amazon S3 bucket. To use this operation, you must have the s3:PutBucketOwnershipControls permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.

For information about Amazon S3 Object Ownership, see Using Object Ownership.

The following operations are related to DeleteBucketOwnershipControls:

Example

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

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

Param

DeleteBucketOwnershipControlsCommandInput

Returns

DeleteBucketOwnershipControlsCommandOutput

See

Hierarchy

Constructors

Properties

Methods