Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PutBucketOwnershipControlsRequest

import type { PutBucketOwnershipControlsRequest } from "https://aws-api.deno.dev/v0.4/services/s3.ts?docs=full";
interface PutBucketOwnershipControlsRequest {
Bucket: string;
ContentMD5?: string | null;
ExpectedBucketOwner?: string | null;
OwnershipControls: OwnershipControls;
}

§Properties

§
Bucket: string
[src]

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

§
ContentMD5?: string | null
[src]

The MD5 hash of the OwnershipControls request body.

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

§
ExpectedBucketOwner?: string | null
[src]

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden (access denied).

§
OwnershipControls: OwnershipControls
[src]

The OwnershipControls (BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) that you want to apply to this Amazon S3 bucket.