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
§
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.