Aliyun_Sls_Client class is the main class in the SDK. It can be used to communicate with SLS server to put/get data.
author | sls_dev |
---|---|
package | SLS_PHP_SDK |
__construct(string $endpoint, string $accessKeyId, string $accessKey)
string
aliyun accessKeyId
string
aliyun accessKey
getHistograms(\Aliyun_Sls_Models_GetHistogramsRequest $request) : \Aliyun_Sls_Models_GetHistogramsResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_GetHistogramsRequest
the GetHistograms request parameters class.
\Aliyun_Sls_Exception |
---|
\Aliyun_Sls_Models_GetHistogramsResponse
getLogs(\Aliyun_Sls_Models_GetLogsRequest $request) : \Aliyun_Sls_Models_GetLogsResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_GetLogsRequest
the GetLogs request parameters class.
\Aliyun_Sls_Exception |
---|
\Aliyun_Sls_Models_GetLogsResponse
listLogstores(\Aliyun_Sls_Models_ListLogstoresRequest $request) : \Aliyun_Sls_Models_ListLogstoresResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_ListLogstoresRequest
the ListLogstores request parameters class.
\Aliyun_Sls_Exception |
---|
\Aliyun_Sls_Models_ListLogstoresResponse
listTopics(\Aliyun_Sls_Models_ListTopicsRequest $request) : \Aliyun_Sls_Models_ListTopicsResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_ListTopicsRequest
the ListTopics request parameters class.
\Aliyun_Sls_Exception |
---|
\Aliyun_Sls_Models_ListTopicsResponse
putLogs(\Aliyun_Sls_Models_PutLogsRequest $request) : \Aliyun_Sls_Models_PutLogsResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_PutLogsRequest
the PutLogs request parameters class
\Aliyun_Sls_Exception |
---|
\Aliyun_Sls_Models_PutLogsResponse
getGMT() : string
string
getHttpResponse($method, $url, $body, $headers) : array
array
loadJson($json, $requestId) : string
Unsuccessful decode will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Exception |
---|
string
send($method, $project, $body, $resource, $params, $headers) : array
\Aliyun_Sls_Exception |
---|
array
sendRequest($method, $url, $body, $headers) : array
\Aliyun_Sls_Exception |
---|
array
setEndpoint($endpoint)
$accessKey : string
$accessKeyId : string
$endpoint : string
$isRowIp : string
$port : integer
$slsHost : string
$source : string