PHP Класс Scalr\Service\Aws\Client\SoapClient

С версии: 27.02.2013
Автор: Vitaliy Demidov ([email protected])
Наследование: extends SoapClient, implements Scalr\Service\Aws\Client\ClientInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$apiVersion string AWS API Version
$awsAccessKeyId string AWS Access Key Id
$canonicalMethod
$certificate string x.509 certificate
$privateKey string private key
$secretAccessKey string Secret Access Key
$sigNode
$url string Base url for API requests
$wsdl string WSDL local path or uri

Открытые методы

Метод Описание
__call ( $function_name, $arguments )
__construct ( string $awsAccessKeyId, string $secretAccessKey, string $apiVersion, string $url, string $wsdl ) Constructor
__doRequest ( $request, $location, $action, $version, $one_way = null )
call ( $action, $options, $path = '/' )
getApiVersion ( ) : string Gets API Version date
getAws ( ) : Aws Gets AWS instance
getCertificate ( ) : string Gets x.509 certificate
getPrivateKey ( ) : string Gets private key that associated with x.509 certificate
getQueriesQuantity ( )
getServiceName ( )
getType ( )
getUrl ( ) : string Gets base url for API requests
setApiVersion ( string $apiVersion ) Sets Api Version
setAws ( Aws $aws = null ) : SoapClient Sets aws instance
setCertificate ( string $certificate ) : SoapClient Sets x.509 certificate
setPrivateKey ( string $pk ) : SoapClient Sets private key that associated with x.509 certificate
setServiceName ( $service )
setUrl ( string $url ) Sets query url

Защищенные методы

Метод Описание
_addRefInternal ( $sinfoNode, $node, $algorithm, $arTransforms = null, $options = null )
_calculateDigest ( $digestAlgorithm, $data )
_canonicalizeData ( $node, $canonicalmethod, $arXPath = null, $prefixList = null )
_createNewSignNode ( $name, $value = NULL )
_generateGuid ( $prefix = 'pfx' )
_get509XCert ( $cert, $isPEMFormat = true )
_incrementQueriesQuantity ( ) Increments the quantity of the processed queries during current client instance
_insertSignature ( $node, $beforeNode = NULL ) This function inserts the signature element.
_locateSignature ( $objDoc )
_processTransforms ( $refNode, $objData )
_staticGet509XCerts ( $certs, $isPEMFormat = true )
getExpirationTime ( ) : string Gets expiration time for Expires option.
getRequestObjectByArray ( $options )

Описание методов

__call() публичный Метод

См. также: SoapClient::__call()
public __call ( $function_name, $arguments )

__construct() публичный Метод

Constructor
public __construct ( string $awsAccessKeyId, string $secretAccessKey, string $apiVersion, string $url, string $wsdl )
$awsAccessKeyId string AWS Access Key Id
$secretAccessKey string AWS Secret Access Key
$apiVersion string YYYY-MM-DD representation of AWS API version
$url string host name for the all api requests
$wsdl string WSDL local path or url

__doRequest() публичный Метод

См. также: SoapClient::__doRequest()
public __doRequest ( $request, $location, $action, $version, $one_way = null )

_addRefInternal() защищенный Метод

protected _addRefInternal ( $sinfoNode, $node, $algorithm, $arTransforms = null, $options = null )

_calculateDigest() защищенный Метод

protected _calculateDigest ( $digestAlgorithm, $data )

_canonicalizeData() защищенный Метод

protected _canonicalizeData ( $node, $canonicalmethod, $arXPath = null, $prefixList = null )

_createNewSignNode() защищенный Метод

protected _createNewSignNode ( $name, $value = NULL )

_generateGuid() защищенный статический Метод

protected static _generateGuid ( $prefix = 'pfx' )

_get509XCert() защищенный статический Метод

protected static _get509XCert ( $cert, $isPEMFormat = true )

_incrementQueriesQuantity() защищенный Метод

Increments the quantity of the processed queries during current client instance

_insertSignature() защищенный Метод

The signature element will be appended to the element, unless $beforeNode is specified. If $beforeNode is specified, the signature element will be inserted as the last element before $beforeNode.
protected _insertSignature ( $node, $beforeNode = NULL )
$node The node the signature element should be inserted into.
$beforeNode The node the signature element should be located before.

_locateSignature() защищенный Метод

protected _locateSignature ( $objDoc )

_processTransforms() защищенный Метод

protected _processTransforms ( $refNode, $objData )

_staticGet509XCerts() защищенный статический Метод

protected static _staticGet509XCerts ( $certs, $isPEMFormat = true )

call() публичный Метод

public call ( $action, $options, $path = '/' )

getApiVersion() публичный Метод

Gets API Version date
public getApiVersion ( ) : string
Результат string Returns API Version Date in YYYY-MM-DD format

getAws() публичный Метод

Gets AWS instance
public getAws ( ) : Aws
Результат Scalr\Service\Aws Returns an AWS intance

getCertificate() публичный Метод

Gets x.509 certificate
public getCertificate ( ) : string
Результат string Returns x.509 certificate

getExpirationTime() защищенный Метод

Gets expiration time for Expires option.
protected getExpirationTime ( ) : string
Результат string Returns expiration time form Expires option that's used in AWS api requests.

getPrivateKey() публичный Метод

Gets private key that associated with x.509 certificate
public getPrivateKey ( ) : string
Результат string Returns private key that associated with x.509 certificate

getQueriesQuantity() публичный Метод

public getQueriesQuantity ( )

getRequestObjectByArray() защищенный Метод

protected getRequestObjectByArray ( $options )

getServiceName() публичный Метод

См. также: Scalr\Service\Aws\Client\ClientInterface::getServiceName()
public getServiceName ( )

getType() публичный Метод

public getType ( )

getUrl() публичный Метод

Gets base url for API requests
public getUrl ( ) : string
Результат string Returns base url for API requests

setApiVersion() публичный Метод

Sets Api Version
public setApiVersion ( string $apiVersion )
$apiVersion string YYYY-MM-DD representation of AWS API version

setAws() публичный Метод

Sets aws instance
public setAws ( Aws $aws = null ) : SoapClient
$aws Scalr\Service\Aws AWS intance
Результат SoapClient

setCertificate() публичный Метод

Sets x.509 certificate
public setCertificate ( string $certificate ) : SoapClient
$certificate string x.509 certificate
Результат SoapClient

setPrivateKey() публичный Метод

Sets private key that associated with x.509 certificate
public setPrivateKey ( string $pk ) : SoapClient
$pk string private key that associated with x.509 certificate
Результат SoapClient

setServiceName() публичный Метод

См. также: Scalr\Service\Aws\Client\ClientInterface::setServiceName()
public setServiceName ( $service )

setUrl() публичный Метод

Sets query url
public setUrl ( string $url )
$url string Base url for API requests

Описание свойств

$apiVersion защищенное свойство

AWS API Version
protected string $apiVersion
Результат string

$awsAccessKeyId защищенное свойство

AWS Access Key Id
protected string $awsAccessKeyId
Результат string

$canonicalMethod защищенное свойство

protected $canonicalMethod

$certificate защищенное свойство

x.509 certificate
protected string $certificate
Результат string

$privateKey защищенное свойство

private key
protected string $privateKey
Результат string

$secretAccessKey защищенное свойство

Secret Access Key
protected string $secretAccessKey
Результат string

$sigNode защищенное свойство

protected $sigNode

$url защищенное свойство

Base url for API requests
protected string $url
Результат string

$wsdl защищенное свойство

WSDL local path or uri
protected string $wsdl
Результат string