Свойство | Тип | Описание | |
---|---|---|---|
$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 ( ) : |
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 ( |
Sets aws instance | |
setCertificate ( string $certificate ) : |
Sets x.509 certificate | |
setPrivateKey ( string $pk ) : |
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 ) |
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 |
public __doRequest ( $request, $location, $action, $version, $one_way = null ) |
protected _addRefInternal ( $sinfoNode, $node, $algorithm, $arTransforms = null, $options = null ) |
protected _canonicalizeData ( $node, $canonicalmethod, $arXPath = null, $prefixList = null ) |
protected static _get509XCert ( $cert, $isPEMFormat = true ) |
protected _incrementQueriesQuantity ( ) |
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. |
protected static _staticGet509XCerts ( $certs, $isPEMFormat = true ) |
public getApiVersion ( ) : string | ||
Результат | string | Returns API Version Date in YYYY-MM-DD format |
public getAws ( ) : |
||
Результат | Returns an AWS intance |
public getCertificate ( ) : string | ||
Результат | string | Returns x.509 certificate |
protected getExpirationTime ( ) : string | ||
Результат | string | Returns expiration time form Expires option that's used in AWS api requests. |
public getPrivateKey ( ) : string | ||
Результат | string | Returns private key that associated with x.509 certificate |
public setApiVersion ( string $apiVersion ) | ||
$apiVersion | string | YYYY-MM-DD representation of AWS API version |
public setAws ( |
||
$aws | AWS intance | |
Результат |
public setCertificate ( string $certificate ) : |
||
$certificate | string | x.509 certificate |
Результат |
public setPrivateKey ( string $pk ) : |
||
$pk | string | private key that associated with x.509 certificate |
Результат |
protected string $awsAccessKeyId | ||
Результат | string |
protected string $secretAccessKey | ||
Результат | string |