Файл: sngine-v2.8/Script/includes/libs/AWS/Aws/ClientSideMonitoring/MonitoringMiddlewareInterface.php
Строк: 45
<?php
namespace AwsClientSideMonitoring;
use AwsCommandInterface;
use AwsExceptionAwsException;
use AwsResultInterface;
use GuzzleHttpPsr7Request;
use PsrHttpMessageRequestInterface;
/**
* @internal
*/
interface MonitoringMiddlewareInterface
{
/**
* Data for event properties to be sent to the monitoring agent.
*
* @param RequestInterface $request
* @return array
*/
public static function getRequestData(RequestInterface $request);
/**
* Data for event properties to be sent to the monitoring agent.
*
* @param ResultInterface|AwsException|Exception $klass
* @return array
*/
public static function getResponseData($klass);
public function __invoke(CommandInterface $cmd, RequestInterface $request);
}