• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Node.js SDK)
  4. Predefined Constants

Predefined Constants

OBS Node.js SDK provides a group of predefined constants that can be directly used.

Module

Access Method

Type

Actual Value

obs.js

ObsClient.enums.AclPrivate

String

private

obs.js

ObsClient.enums.AclPublicRead

String

public-read

obs.js

ObsClient.enums.AclPublicReadWrite

String

public-read-write

obs.js

ObsClient.enums.AclAuthenticatedRead

String

authenticated-read

obs.js

ObsClient.enums.AclBucketOwnerRead

String

bucket-owner-read

obs.js

ObsClient.enums.AclBucketOwnerFullControl

String

bucket-owner-full-control

obs.js

ObsClient.enums.AclLogDeliveryWrite

String

log-delivery-write

obs.js

ObsClient.enums.StorageClassStandard

String

STANDARD

obs.js

ObsClient.enums.StorageClassWarm

String

STANDARD_IA

obs.js

ObsClient.enums.StorageClassCold

String

GLACIER

obs.js

ObsClient.enums.PermissionRead

String

READ

obs.js

ObsClient.enums.PermissionWrite

String

WRITE

obs.js

ObsClient.enums.PermissionReadAcp

String

READ_ACP

obs.js

ObsClient.enums.PermissionWriteAcp

String

WRITE_ACP

obs.js

ObsClient.enums.PermissionFullControl

String

FULL_CONTROL

obs.js

ObsClient.enums.GroupAllUsers

String

http://acs.amazonaws.com/groups/global/AllUsers

obs.js

ObsClient.enums.GroupAuthenticatedUsers

String

http://acs.amazonaws.com/groups/global/AuthenticatedUsers

obs.js

ObsClient.enums.GroupLogDelivery

String

http://acs.amazonaws.com/groups/s3/LogDelivery

obs.js

ObsClient.enums.RestoreTierExpedited

String

Expedited

obs.js

ObsClient.enums.RestoreTierStandard

String

Standard

obs.js

ObsClient.enums.RestoreTierBulk

String

Bulk

obs.js

ObsClient.enums.GranteeGroup

String

Group

obs.js

ObsClient.enums.GranteeUser

String

CanonicalUser

obs.js

ObsClient.enums.CopyMetadata

String

COPY

obs.js

ObsClient.enums.ReplaceMetadata

String

REPLACE