doc-exports/docs/obs/umn/obs_03_0051.html
Hasko, Vladimir 342f52c5ae recreating obs_umn_0414 PR due to bug in gitea
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2023-05-03 14:54:25 +00:00

16 KiB

Actions

Actions are related to resources. When the resource is the current bucket, actions configured in the bucket policy must be bucket related actions. When objects are specified as resources, actions configured in the bucket policy must be object related actions.

Actions can be specified in either of the following ways:

  • Include: The policy takes effect on specified actions.
  • Exclude: The policy takes effect on all actions except the specified ones.

Actions Related to Buckets

Table 1 Actions related to buckets

Type

Value

Description

General

*

The value supports a wildcard character (*) that indicates all operations can be performed.

Get*

The value supports a wildcard character (*) that indicates all GET operations can be performed.

Put*

The value supports a wildcard character (*) that indicates all PUT operations can be performed.

List*

The value supports a wildcard character (*) that indicates all LIST operations can be performed.

Bucket

DeleteBucket

Deletes the bucket.

ListBucket

Lists objects in the bucket, and gets the bucket metadata.

ListBucketVersions

Lists object versions in the bucket.

ListBucketMultipartUploads

Lists multipart upload tasks.

GetBucketAcl

Obtains the ACL information of the bucket.

PutBucketAcl

Configures the ACL for the bucket.

GetBucketCORS

Obtains the CORS configuration of the bucket.

PutBucketCORS

Configures CORS for the bucket.

GetBucketVersioning

Obtains the versioning information of a bucket.

PutBucketVersioning

Configures versioning for a bucket.

GetBucketLocation

Obtains the bucket location.

GetBucketLogging

Obtains the bucket logging information.

PutBucketLogging

Configures logging for a bucket.

GetBucketWebsite

Obtains the static website configuration information about the bucket.

PutBucketWebsite

Configures the static website hosting for the bucket.

DeleteBucketWebsite

Cancels the static website hosting configuration of the bucket.

GetLifecycleConfiguration

Obtains the lifecycle rules of the bucket.

PutLifecycleConfiguration

Configures a lifecycle rule for the bucket.

Actions Related to Objects

Table 2 Actions related to objects

Type

Value

Description

General

*

The value supports a wildcard character (*) that indicates all operations can be performed.

Get*

The value supports a wildcard character (*) that indicates all GET operations can be performed.

Put*

The value supports a wildcard character (*) that indicates all PUT operations can be performed.

List*

The value supports a wildcard character (*) that indicates all LIST operations can be performed.

Object

GetObject

Obtains an object and its metadata.

GetObjectVersion

Obtains the object of a specified version and its metadata.

PutObject

Performs PUT upload, POST upload, multipart upload, initialization of uploaded parts, and merging of parts.

GetObjectAcl

Obtains the object ACL information.

GetObjectVersionAcl

Obtains the ACL information of a specified object version.

PutObjectAcl

Configures the ACL for an object.

PutObjectVersionAcl

Configures the ACL for a specified object version.

DeleteObject

Deletes an object.

DeleteObjectVersion

Deletes a specified object version.

ListMultipartUploadParts

Lists uploaded parts.

AbortMultipartUpload

Cancels a multipart upload task.