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)
stringaliyun accessKeyId
stringaliyun accessKey
getHistograms(\Aliyun_Sls_Models_GetHistogramsRequest $request) : \Aliyun_Sls_Models_GetHistogramsResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_GetHistogramsRequestthe GetHistograms request parameters class.
\Aliyun_Sls_Exception |
|---|
\Aliyun_Sls_Models_GetHistogramsResponsegetLogs(\Aliyun_Sls_Models_GetLogsRequest $request) : \Aliyun_Sls_Models_GetLogsResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_GetLogsRequestthe GetLogs request parameters class.
\Aliyun_Sls_Exception |
|---|
\Aliyun_Sls_Models_GetLogsResponselistLogstores(\Aliyun_Sls_Models_ListLogstoresRequest $request) : \Aliyun_Sls_Models_ListLogstoresResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_ListLogstoresRequestthe ListLogstores request parameters class.
\Aliyun_Sls_Exception |
|---|
\Aliyun_Sls_Models_ListLogstoresResponselistTopics(\Aliyun_Sls_Models_ListTopicsRequest $request) : \Aliyun_Sls_Models_ListTopicsResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_ListTopicsRequestthe ListTopics request parameters class.
\Aliyun_Sls_Exception |
|---|
\Aliyun_Sls_Models_ListTopicsResponseputLogs(\Aliyun_Sls_Models_PutLogsRequest $request) : \Aliyun_Sls_Models_PutLogsResponse
Unsuccessful opertaion will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Models_PutLogsRequestthe PutLogs request parameters class
\Aliyun_Sls_Exception |
|---|
\Aliyun_Sls_Models_PutLogsResponsegetGMT() : string
stringgetHttpResponse($method, $url, $body, $headers) : array
arrayloadJson($json, $requestId) : string
Unsuccessful decode will cause an Aliyun_Sls_Exception.
\Aliyun_Sls_Exception |
|---|
stringsend($method, $project, $body, $resource, $params, $headers) : array
\Aliyun_Sls_Exception |
|---|
arraysendRequest($method, $url, $body, $headers) : array
\Aliyun_Sls_Exception |
|---|
arraysetEndpoint($endpoint)
$accessKey : string
$accessKeyId : string
$endpoint : string
$isRowIp : string
$port : integer
$slsHost : string
$source : string