setAccessKey($config->ak); $client->setSecretKey($config->sk); $body = [ 'Metric' => 'status_5xx', 'Item' => 'domain', ]; $response = $client->describeEdgeTopStatusCode($body); var_dump($response);