Debian Codegraph @

lib/3rdParty/composer/aws/aws-sdk-php/src/ClientSideMonitoring/MonitoringMiddlewareInterface.php

raw symbols SCIP
1 <?php
2
3 namespace Aws\ClientSideMonitoring;
4
5 use Aws\CommandInterface;
6 use Aws\Exception\AwsException;
7 use Aws\ResultInterface;
8 use GuzzleHttp\Psr7\Request;
9 use Psr\Http\Message\RequestInterface;
10
11 /**
12 * @internal
13 */
14 interface MonitoringMiddlewareInterface
15 {
16
17 /**
18 * Data for event properties to be sent to the monitoring agent.
19 *
20 * @param RequestInterface $request
21 * @return array
22 */
23 public static function getRequestData(RequestInterface $request);
24
25
26 /**
27 * Data for event properties to be sent to the monitoring agent.
28 *
29 * @param ResultInterface|AwsException|\Exception $klass
30 * @return array
31 */
32 public static function getResponseData($klass);
33
34 public function __invoke(CommandInterface $cmd, RequestInterface $request);
35 }