code: 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;
      }
docs: 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