You are here

protected static property S3Client::$commandAliases in AmazonS3 7.2

This set of commandAliases is a protected static with no getter on the S3Client class.

Type: array

File

src/S3Client.php, line 32
A wrapper around S3Client::factory() using aws_key / aws_secret variables.

Class

S3Client
A wrapper around S3Client::factory() using aws_key / aws_secret variables.

Namespace

Drupal\amazons3

Code

protected static $commandAliases = array(
  // REST API Docs Aliases
  'GetService' => 'ListBuckets',
  'GetBucket' => 'ListObjects',
  'PutBucket' => 'CreateBucket',
  // SDK 1.x Aliases
  'GetBucketHeaders' => 'HeadBucket',
  'GetObjectHeaders' => 'HeadObject',
  'SetBucketAcl' => 'PutBucketAcl',
  'CreateObject' => 'PutObject',
  'DeleteObjects' => 'DeleteMultipleObjects',
  'PutObjectCopy' => 'CopyObject',
  'SetObjectAcl' => 'PutObjectAcl',
  'GetLogs' => 'GetBucketLogging',
  'GetVersioningStatus' => 'GetBucketVersioning',
  'SetBucketPolicy' => 'PutBucketPolicy',
  'CreateBucketNotification' => 'PutBucketNotification',
  'GetBucketNotifications' => 'GetBucketNotification',
  'CopyPart' => 'UploadPartCopy',
  'CreateWebsiteConfig' => 'PutBucketWebsite',
  'GetWebsiteConfig' => 'GetBucketWebsite',
  'DeleteWebsiteConfig' => 'DeleteBucketWebsite',
  'CreateObjectExpirationConfig' => 'PutBucketLifecycle',
  'GetObjectExpirationConfig' => 'GetBucketLifecycle',
  'DeleteObjectExpirationConfig' => 'DeleteBucketLifecycle',
);