Esempio n. 1
0
 /**
  * Get Report 
  * The GetReport operation returns the contents of a report. Reports can potentially be
  * very large (>100MB) which is why we only return one report at a time, and in a
  * streaming fashion.
  *   
  * @see http://docs.amazonwebservices.com/${docPath}GetReport.html      
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReport request or MarketplaceWebService_Model_GetReport object itself
  * @see MarketplaceWebService_Model_GetReport
  * @return MarketplaceWebService_Model_GetReportResponse MarketplaceWebService_Model_GetReportResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReport($request)
 {
     //// require_once ('MarketplaceWebService/Model/GetReportResponse.php');
     return MarketplaceWebService_Model_GetReportResponse::fromXML($this->invoke('GetReport'));
 }
 /**
  * Get Report
  * The GetReport operation returns the contents of a report. Reports can potentially be
  * very large (>100MB) which is why we only return one report at a time, and in a
  * streaming fashion.
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReport.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportRequest request
  * or MarketplaceWebService_Model_GetReportRequest object itself
  * @see MarketplaceWebService_Model_GetReport
  * @return MarketplaceWebService_Model_GetReportResponse MarketplaceWebService_Model_GetReportResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReport($request)
 {
     if (!$request instanceof MarketplaceWebService_Model_GetReportRequest) {
         require_once dirname(__FILE__) . '/Model/GetReportRequest.php';
         $request = new MarketplaceWebService_Model_GetReportRequest($request);
     }
     require_once dirname(__FILE__) . '/Model/GetReportResponse.php';
     $httpResponse = $this->invoke($this->convertGetReport($request), $request->getReport());
     $response = MarketplaceWebService_Model_GetReportResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
Esempio n. 3
0
 /**
  * Get Report
  * The GetReport operation returns the contents of a report. Reports can potentially be
  * very large (>100MB) which is why we only return one report at a time, and in a
  * streaming fashion.
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReport.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportRequest request
  * or MarketplaceWebService_Model_GetReportRequest object itself
  * @see MarketplaceWebService_Model_GetReport
  * @return MarketplaceWebService_Model_GetReportResponse MarketplaceWebService_Model_GetReportResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReport($request)
 {
     if (!$request instanceof MarketplaceWebService_Model_GetReportRequest) {
         $request = new MarketplaceWebService_Model_GetReportRequest($request);
     }
     $httpResponse = $this->invoke($this->convertGetReport($request), $request->getReport());
     $response = MarketplaceWebService_Model_GetReportResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
Esempio n. 4
0
 /**
  * Get Report
  * The GetReport operation returns the contents of a report. Reports can potentially be
  * very large (>100MB) which is why we only return one report at a time, and in a
  * streaming fashion.
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReport.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportRequest request
  * or MarketplaceWebService_Model_GetReportRequest object itself
  * @see MarketplaceWebService_Model_GetReport
  * @return MarketplaceWebService_Model_GetReportResponse MarketplaceWebService_Model_GetReportResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReport($request)
 {
     if (!$request instanceof MarketplaceWebService_Model_GetReportRequest) {
         //require_once ('MarketplaceWebService/Model/GetReportRequest.php');
         $request = new MarketplaceWebService_Model_GetReportRequest($request);
     }
     //require_once ('MarketplaceWebService/Model/GetReportResponse.php');
     return MarketplaceWebService_Model_GetReportResponse::fromXML($this->invoke($this->convertGetReport($request), $request->getReport()));
 }
Esempio n. 5
0
 /**
  * Get Report
  * The GetReport operation returns the contents of a report. Reports can potentially be
  * very large (>100MB) which is why we only return one report at a time, and in a
  * streaming fashion.
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReport.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReport request or MarketplaceWebService_Model_GetReport object itself
  * @see MarketplaceWebService_Model_GetReport
  * @return MarketplaceWebService_Model_GetReportResponse MarketplaceWebService_Model_GetReportResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReport($request)
 {
     return MarketplaceWebService_Model_GetReportResponse::fromXML($this->invoke('GetReport'));
 }
Esempio n. 6
0
 /**
  * Get Report
  * The GetReport operation returns the contents of a report. Reports can potentially be
  * very large (>100MB) which is why we only return one report at a time, and in a
  * streaming fashion.
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReport.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReport request or MarketplaceWebService_Model_GetReport object itself
  * @see MarketplaceWebService_Model_GetReport
  * @return MarketplaceWebService_Model_GetReportResponse MarketplaceWebService_Model_GetReportResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReport($request)
 {
     require_once dirname(__FILE__) . '/Model/GetReportResponse.php';
     return MarketplaceWebService_Model_GetReportResponse::fromXML($this->invoke('GetReport'));
 }
Esempio n. 7
0
 /**
  * Get Report
  * The GetReport operation returns the contents of a report. Reports can potentially be
  * very large (>100MB) which is why we only return one report at a time, and in a
  * streaming fashion.
  *
  * @see http://docs.amazonwebservices.com/${docPath}GetReport.html
  * @param mixed $request array of parameters for MarketplaceWebService_Model_GetReportRequest request
  * or MarketplaceWebService_Model_GetReportRequest object itself
  * @see MarketplaceWebService_Model_GetReport
  * @return MarketplaceWebService_Model_GetReportResponse MarketplaceWebService_Model_GetReportResponse
  *
  * @throws MarketplaceWebService_Exception
  */
 public function getReport($request)
 {
     if (!$request instanceof MarketplaceWebService_Model_GetReportRequest) {
         $request = new MarketplaceWebService_Model_GetReportRequest($request);
     }
     return MarketplaceWebService_Model_GetReportResponse::fromXML($this->invoke($this->convertGetReport($request), $request->getReport()));
 }