Свойство | Тип | Описание | |
---|---|---|---|
$queriesQuantity | integer | The quantity of the processed queries to the AWS API |
Свойство | Тип | Описание | |
---|---|---|---|
$container |
Метод | Описание | |
---|---|---|
__construct ( string $accessKeyId, string $secretAccessKey, string $region = null, string $certificate = null, string $privateKey = null ) | Constructor | |
__get ( string $name ) : mixed | null | Magic getter | |
describeRegions ( ) : Scalr\Service\Aws\Ec2\DataType\RegionInfoList | DescribeRegions action | |
getAccessKeyId ( ) : string | Gets Access Key Id | |
getAccountNumber ( ) : string | Retrieves AWS Account Number | |
getAvailableRegions ( boolean $ignoreCache = false ) : array | Gets available regions | |
getAvailableServiceInterfaces ( ) : array | Gets implemented web service interfaces | |
getCertificate ( ) : string | Get x.509 certificate | |
getCloudLocations ( ) : array | Gets defined AWS cloud locations | |
getCloudLocationsZoneIds ( ) : array | Gets defined AWS cloud locations hosted zone ids | |
getContainer ( ) : |
Gets container | |
getDebug ( ) : boolean | Gets debug flag value | |
getEntityManager ( ) : Scalr\Service\Aws\EntityManager | Gets an AWS Entity Manager | |
getEnvironment ( ) : Scalr_Environment | Gets an Scalr Environment object which is associated with the AWS client instance | |
getEventObserver ( ) : Scalr\Service\Aws\Plugin\EventObserver | Gets an AWS client event observer | |
getMd5Base64Digest ( string $string ) : string | Calculates an MD5.Base64digest for the given string. | |
getMd5Base64DigestFile ( string $file ) : string | Calculates an MD5.Base64digest for the given file. | |
getPresignedUrl ( string $service, string $action, string $destRegion, string $objectId ) | Gets presigned url signed with aws4 version signing algorithm | |
getPrivateKey ( ) : string | Get private key | |
getProxy ( ) : array | boolean | Gets proxy configuration | |
getReflectionClass ( ) : ReflectionClass | Gets reflection class of Aws | |
getRegion ( ) : string | Gets region | |
getSecretAccessKey ( ) : string | Gets Secret Access Key | |
getUserArn ( ) : string | Retrieves AWS user arn | |
getUsername ( ) : string | Retrieves AWS username | |
isValidRegion ( string $region ) : boolean | Checks whether provided region is valid. | |
resetDebug ( ) : |
Resets debug | |
setDebug ( boolean $debug = true ) : |
Sets debug flag | |
setEnvironment ( Scalr_Environment $environment = null ) : |
Sets an Scalr environment object which is associated with the AWS client instance | |
setEventObserver ( Scalr\Service\Aws\Plugin\EventObserver $eventObserver = null ) : |
Sets an AWS client event observer object associated with this instance | |
setProxy ( string $host, integer $port = 3128, string $user = null, string $pass = null, integer $type, integer $authType = 1 ) | Set proxy configuration to connect to AWS services | |
validateCertificateAndPrivateKey ( ) : boolean | Validates certificate and privatekey making AWS SOAP request |
public __construct ( string $accessKeyId, string $secretAccessKey, string $region = null, string $certificate = null, string $privateKey = null ) | ||
$accessKeyId | string | AWS access key id |
$secretAccessKey | string | AWS secret access key |
$region | string | optional An AWS region. (Aws::REGION_US_EAST_1) |
$certificate | string | optional AWS x.509 certificate (It's used only for Soap API) |
$privateKey | string | optional Private Key (It's used only for Soap API) |
public describeRegions ( ) : Scalr\Service\Aws\Ec2\DataType\RegionInfoList | ||
Результат | Scalr\Service\Aws\Ec2\DataType\RegionInfoList | Returns the list of the RegionInfoData objects on success |
public getAccessKeyId ( ) : string | ||
Результат | string | Returns Access Key Id |
public getAccountNumber ( ) : string | ||
Результат | string | Returns AWS Account number for current user |
public getAvailableRegions ( boolean $ignoreCache = false ) : array | ||
$ignoreCache | boolean | optional If true it will ignore cache |
Результат | array | Returns list of available regions |
public getAvailableServiceInterfaces ( ) : array | ||
Результат | array | Returns Returns the list of available (implemented) web service interfaces |
public getCertificate ( ) : string | ||
Результат | string | Returns x.509 certificate |
public static getCloudLocations ( ) : array | ||
Результат | array |
public static getCloudLocationsZoneIds ( ) : array | ||
Результат | array |
public getContainer ( ) : |
||
Результат |
public getEntityManager ( ) : Scalr\Service\Aws\EntityManager | ||
Результат | Scalr\Service\Aws\EntityManager | Returns an AWS Entity Manager object. |
public getEnvironment ( ) : Scalr_Environment | ||
Результат | Scalr_Environment | Returns Scalr Environment object |
public getEventObserver ( ) : Scalr\Service\Aws\Plugin\EventObserver | ||
Результат | Scalr\Service\Aws\Plugin\EventObserver | Returns AWS client event observer |
public static getMd5Base64Digest ( string $string ) : string | ||
$string | string | A string which should digest be calculated for. |
Результат | string | Returns MD5 Base64 digest |
public static getMd5Base64DigestFile ( string $file ) : string | ||
$file | string | A file path which should digest be calculated for. |
Результат | string | Returns MD5 Base64 digest |
public getPrivateKey ( ) : string | ||
Результат | string | Returns private key from certificate |
public static getReflectionClass ( ) : ReflectionClass | ||
Результат | ReflectionClass | Returns reflection class of Aws |
public getSecretAccessKey ( ) : string | ||
Результат | string | Returns Secret Access Key |
public getUserArn ( ) : string | ||
Результат | string | Returns AWS user arn |
public getUsername ( ) : string | ||
Результат | string | Returns AWS username |
public isValidRegion ( string $region ) : boolean | ||
$region | string | AWS region (Aws::REGION_US_EAST_1) |
Результат | boolean | Returns boolean true if region is valid or false otherwise. |
public setEnvironment ( Scalr_Environment $environment = null ) : |
||
$environment | Scalr_Environment | An environment object |
Результат |
public setEventObserver ( Scalr\Service\Aws\Plugin\EventObserver $eventObserver = null ) : |
||
$eventObserver | Scalr\Service\Aws\Plugin\EventObserver | The event observer |
Результат |
public setProxy ( string $host, integer $port = 3128, string $user = null, string $pass = null, integer $type, integer $authType = 1 ) | ||
$host | string | |
$port | integer | |
$user | string | |
$pass | string | |
$type | integer | Allowed values 4 - SOCKS4, 5 - SOCKS5, 0 - HTTP |
$authType | integer | Allowed authtypes: 1 - Basic, Digest - 2, GSSNeg - 4, NTLM - 8, any - -1 |
public validateCertificateAndPrivateKey ( ) : boolean | ||
Результат | boolean | Returns true on success or throws an exception |
protected Container,Scalr\DependencyInjection $container | ||
Результат |
public int $queriesQuantity | ||
Результат | integer |