Class AmazonS3
Amazon S3 component that backs up file data.
- S3
-
AmazonS3
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/net/amazon_s3/amazon_s3.php
Methods summary
public
|
#
__construct( string $access_key, string $secret_key, boolean $use_ssl = true, string $region = null )
Constructs a new AmazonS3 component, setting the credentials |
public
string
|
|
public static
array
|
|
public
boolean
|
#
upload( string $file, string $bucket, string $remote_file_name = null )
Uploads a file to Amazon S3 |
Methods inherited from S3
__getSignature(),
__getTime(),
copyObject(),
createDistribution(),
deleteBucket(),
deleteDistribution(),
deleteObject(),
disableBucketLogging(),
freeSigningKey(),
getAccessControlPolicy(),
getAuthenticatedURL(),
getBucket(),
getBucketLocation(),
getBucketLogging(),
getDistribution(),
getDistributionInvalidationList(),
getHttpUploadPostParams(),
getObject(),
getObjectInfo(),
getSignedCannedURL(),
getSignedPolicyURL(),
hasAuth(),
inputFile(),
inputResource(),
invalidateDistribution(),
listBuckets(),
listDistributions(),
listOriginAccessIdentities(),
putBucket(),
putObject(),
putObjectFile(),
putObjectString(),
setAccessControlPolicy(),
setAuth(),
setBucketLogging(),
setBucketRedirect(),
setEndpoint(),
setExceptions(),
setProxy(),
setSSL(),
setSSLAuth(),
setSigningKey(),
setTimeCorrectionOffset(),
updateDistribution()
Magic methods summary
Constants summary
Constants inherited from S3
ACL_AUTHENTICATED_READ,
ACL_PRIVATE,
ACL_PUBLIC_READ,
ACL_PUBLIC_READ_WRITE,
SSE_AES256,
SSE_NONE,
STORAGE_CLASS_RRS,
STORAGE_CLASS_STANDARD
Properties summary
Properties inherited from S3
$endpoint,
$proxy,
$sslCACert,
$sslCert,
$sslKey,
$useExceptions,
$useSSL,
$useSSLValidation