code: public void marshall(ScalingPolicy scalingPolicy, ProtocolMarshaller protocolMarshaller) {
  
          if (scalingPolicy == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(scalingPolicy.getFleetId(), FLEETID_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getName(), NAME_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getScalingAdjustment(), SCALINGADJUSTMENT_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getScalingAdjustmentType(), SCALINGADJUSTMENTTYPE_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getComparisonOperator(), COMPARISONOPERATOR_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getThreshold(), THRESHOLD_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getEvaluationPeriods(), EVALUATIONPERIODS_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getMetricName(), METRICNAME_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getPolicyType(), POLICYTYPE_BINDING);
              protocolMarshaller.marshall(scalingPolicy.getTargetConfiguration(), TARGETCONFIGURATION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.