Getter method to get the response messages generated by our class.
public getResponseMessage ( ) : mixed | ||
return | mixed |
$key = ""; // String representing the existing CloudFront object to invalidate $cf = new CloudFront($keyId, $secretKey, $distributionId); $cf->invalidate($key); ?> <html> <head> <style> textarea { width: 100%; height: 600px; font: 12px/16px consolas; } </style> </head> <body> Key: <?php echo $key; ?> <br/> <hr/> CF call:<br/> <!--Passing "true" to enable debugging for the purpose of this example. This will render the XML response.--> <textarea><?php echo $cf->getResponseMessage(); ?> </textarea> </body> </html>