Skip to main content
Module

x/capi/deps/s3.ts>PutObjectOptions

[WIP] A framework for crafting interactions with Substrate chains
Latest
interface PutObjectOptions
Re-export
import { type PutObjectOptions } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/s3.ts";

Properties

optional
acl:
| "private"
| "public-read"
| "public-read-write"
| "authenticated-read"
| "aws-exec-read"
| "bucket-owner-read"
| "bucket-owner-full-control"
optional
cacheControl: string

Can be used to specify caching behavior along the request/reply chain.

optional
contentDisposition: string

Specifies presentational information for the object.

optional
contentEncoding: string

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type field.

optional
contentLanguage: string

The language the content is in.

optional
contentType: string

A standard MIME type describing the format of the object data.

optional
expires: Date

The date and time at which the object is no longer cacheable.

optional
grantFullControl: string

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

optional
grantRead: string

Allows grantee to read the object data and its metadata.

optional
grantReadAcp: string

Allows grantee to write the ACL for the applicable object.

optional
grantWriteAcp: string

Allows grantee to write the ACL for the applicable object.

optional
legalHold: boolean

Specifies whether a legal hold will be applied to this object.

optional
lockMode: LockMode

The Object Lock mode that you want to apply to this object.

optional
lockRetainUntil: Date

The date and time when you want this object's Object Lock to expire.

optional
storageClass: StorageClass

If you don't specify, S3 Standard is the default storage class. Amazon S3 supports other storage classes.

optional
tags: { [key: string]: string; }
optional
websiteRedirectLocation: string

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

optional
meta: Record<string, string>

User-defined object metadata passed as a number of key-value pairs that are converted into x-amz-meta- prefixed key headers.