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

PutBucketAclRequest

import type { PutBucketAclRequest } from "https://aws-api.deno.dev/v0.4/services/s3.ts?docs=full";
interface PutBucketAclRequest {
AccessControlPolicy?: AccessControlPolicy | null;
ACL?: BucketCannedACL | null;
Bucket: string;
ChecksumAlgorithm?: ChecksumAlgorithm | null;
ContentMD5?: string | null;
ExpectedBucketOwner?: string | null;
GrantFullControl?: string | null;
GrantRead?: string | null;
GrantReadACP?: string | null;
GrantWrite?: string | null;
GrantWriteACP?: string | null;
}

§Properties

§
AccessControlPolicy?: AccessControlPolicy | null
[src]

Contains the elements that set the ACL permissions for an object per grantee.

§

The canned ACL to apply to the bucket.

§
Bucket: string
[src]

The bucket to which to apply the ACL.

§
ChecksumAlgorithm?: ChecksumAlgorithm | null
[src]

Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any additional functionality if not using the SDK. When sending this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see Checking object integrity in the Amazon S3 User Guide.

If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter.

§
ContentMD5?: string | null
[src]

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to RFC 1864.

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

§
GrantFullControl?: string | null
[src]

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

§
GrantRead?: string | null
[src]

Allows grantee to list the objects in the bucket.

§
GrantReadACP?: string | null
[src]

Allows grantee to read the bucket ACL.

§
GrantWrite?: string | null
[src]

Allows grantee to create new objects in the bucket.

For the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.

§
GrantWriteACP?: string | null
[src]

Allows grantee to write the ACL for the applicable bucket.