setAccessKey($config->ak); $client->setSecretKey($config->sk); $body = [ 'StartTime' => $config->startTime, 'EndTime' => $config->endTime, 'Domain' => $config->exampleDomain, 'Metric' => "bandwidth", 'Interval' => '5min', 'Protocol' => 'http', 'IpVersion' => 'ipv4' ]; $response = $client->describeCdnDataDetail($body); var_dump($response);