@akamai/openapi-ts
    Preparing search index...

    Type Alias PostObjectStorageBucketAccessData

    type PostObjectStorageBucketAccessData = {
        body?: {
            acl?:
                | "private"
                | "public-read"
                | "authenticated-read"
                | "public-read-write"
                | "custom";
            cors_enabled?: boolean;
        };
        path: { bucket: string; regionId: string };
        query?: never;
        url: "object-storage/buckets/{regionId}/{bucket}/access";
    }
    Index

    Properties

    Properties

    body?: {
        acl?:
            | "private"
            | "public-read"
            | "authenticated-read"
            | "public-read-write"
            | "custom";
        cors_enabled?: boolean;
    }

    Type Declaration

    • Optionalacl?:
          | "private"
          | "public-read"
          | "authenticated-read"
          | "public-read-write"
          | "custom"

      The S3 predefined collection of grantees and permissions set for the bucket, also referred to as a Canned ACL.

    • Optionalcors_enabled?: boolean

      If true, cross-origin resource sharing (CORS) is enabled for all origins in the bucket.

    path: { bucket: string; regionId: string }

    Type Declaration

    • bucket: string

      The bucket name.

    • regionId: string

      Identifies a region where this bucket lives.

      📘

      You can use a clusterId in place of regionId in requests for buckets that you created using the legacy version of the API. Run List clusters to see each cluster id.

    query?: never
    url: "object-storage/buckets/{regionId}/{bucket}/access"