code: public void marshall(Event event, ProtocolMarshaller protocolMarshaller) {
  
          if (event == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(event.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(event.getService(), SERVICE_BINDING);
              protocolMarshaller.marshall(event.getEventTypeCode(), EVENTTYPECODE_BINDING);
              protocolMarshaller.marshall(event.getEventTypeCategory(), EVENTTYPECATEGORY_BINDING);
              protocolMarshaller.marshall(event.getRegion(), REGION_BINDING);
              protocolMarshaller.marshall(event.getAvailabilityZone(), AVAILABILITYZONE_BINDING);
              protocolMarshaller.marshall(event.getStartTime(), STARTTIME_BINDING);
              protocolMarshaller.marshall(event.getEndTime(), ENDTIME_BINDING);
              protocolMarshaller.marshall(event.getLastUpdatedTime(), LASTUPDATEDTIME_BINDING);
              protocolMarshaller.marshall(event.getStatusCode(), STATUSCODE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.