Updated on 2022-02-10 GMT+08:00

Sub-resource Types

Type Definition

type SubResourceType string

Constants

Constant

Default Value

Applicable API

SubResourceStoragePolicy

storagePolicy

Sets or obtains bucket storage classes.

SubResourceQuota

quota

Sets or obtains bucket quotas.

SubResourceStorageInfo

storageinfo

Obtains bucket storage information.

SubResourceLocation

location

Obtains bucket locations.

SubResourceAcl

acl

Sets or obtains bucket ACLs or object ACLs.

SubResourcePolicy

policy

Sets, obtains, or deletes bucket policies.

SubResourceCors

cors

Sets, obtains, or deletes bucket CORS configurations.

SubResourceVersioning

versioning

Sets or obtains bucket version statuses.

SubResourceWebsite

website

Sets, obtains, or deletes bucket website configurations.

SubResourceLogging

logging

Sets or obtains bucket logging settings.

SubResourceLifecycle

lifecycle

Sets, obtains, or deletes lifecycle rules of buckets.

SubResourceNotification

notification

Sets or obtains the notification configuration of buckets.

SubResourceTagging

tagging

Sets, obtains, or deletes bucket tags.

SubResourceDelete

delete

Batch deletes objects.

SubResourceVersions

versions

Lists versioning objects in buckets.

SubResourceUploads

uploads

Lists or initializes multipart uploads in buckets.

SubResourceRestore

restore

Restores Archive objects.