/** * Get Service Status * Gets the status of the service. * Status is one of GREEN, RED representing: * GREEN: The service section is operating normally. * RED: The service section disruption. * * @param mixed $request array of parameters for FBAInventoryServiceMWS_Model_GetServiceStatus request or FBAInventoryServiceMWS_Model_GetServiceStatus object itself * @see FBAInventoryServiceMWS_Model_GetServiceStatusRequest * @return FBAInventoryServiceMWS_Model_GetServiceStatusResponse * * @throws FBAInventoryServiceMWS_Exception */ public function getServiceStatus($request) { if (!$request instanceof FBAInventoryServiceMWS_Model_GetServiceStatusRequest) { $request = new FBAInventoryServiceMWS_Model_GetServiceStatusRequest($request); } $parameters = $request->toQueryParameterArray(); $parameters['Action'] = 'GetServiceStatus'; $httpResponse = $this->_invoke($parameters); $response = FBAInventoryServiceMWS_Model_GetServiceStatusResponse::fromXML($httpResponse['ResponseBody']); $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']); return $response; }
/** * Get Service Status * Gets the status of the service. * Status is one of GREEN, RED representing: * GREEN: The service section is operating normally. * RED: The service section disruption. * * @param mixed $request array of parameters for FBAInventoryServiceMWS_Model_GetServiceStatus request or FBAInventoryServiceMWS_Model_GetServiceStatus object itself * @see FBAInventoryServiceMWS_Model_GetServiceStatus * @return FBAInventoryServiceMWS_Model_GetServiceStatusResponse * * @throws FBAInventoryServiceMWS_Exception */ public function getServiceStatus($request) { return FBAInventoryServiceMWS_Model_GetServiceStatusResponse::fromXML($this->_invoke('GetServiceStatus')); }
/** * Get Service Status * Gets the status of the service. * Status is one of GREEN, RED representing: * GREEN: This API section of the service is operating normally. * RED: The service is disrupted. * * @param mixed $request array of parameters for FBAInventoryServiceMWS_Model_GetServiceStatusRequest request * or FBAInventoryServiceMWS_Model_GetServiceStatusRequest object itself * @see FBAInventoryServiceMWS_Model_GetServiceStatus * @return FBAInventoryServiceMWS_Model_GetServiceStatusResponse FBAInventoryServiceMWS_Model_GetServiceStatusResponse * * @throws FBAInventoryServiceMWS_Exception */ public function getServiceStatus($request) { if (!$request instanceof FBAInventoryServiceMWS_Model_GetServiceStatusRequest) { $request = new FBAInventoryServiceMWS_Model_GetServiceStatusRequest($request); } return FBAInventoryServiceMWS_Model_GetServiceStatusResponse::fromXML($this->_invoke($this->_convertGetServiceStatus($request))); }
/** * Get Service Status * Gets the status of the service. * Status is one of GREEN, RED representing: * GREEN: The service section is operating normally. * RED: The service section disruption. * * @param mixed $request array of parameters for FBAInventoryServiceMWS_Model_GetServiceStatus request or FBAInventoryServiceMWS_Model_GetServiceStatus object itself * @see FBAInventoryServiceMWS_Model_GetServiceStatus * @return FBAInventoryServiceMWS_Model_GetServiceStatusResponse * * @throws FBAInventoryServiceMWS_Exception */ public function getServiceStatus($request) { require_once dirname(__FILE__) . '/Model/GetServiceStatusResponse.php'; return FBAInventoryServiceMWS_Model_GetServiceStatusResponse::fromXML($this->_invoke('GetServiceStatus')); }