code: public void marshall(AssessmentRunAgent assessmentRunAgent, ProtocolMarshaller protocolMarshaller) {
  
          if (assessmentRunAgent == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(assessmentRunAgent.getAgentId(), AGENTID_BINDING);
              protocolMarshaller.marshall(assessmentRunAgent.getAssessmentRunArn(), ASSESSMENTRUNARN_BINDING);
              protocolMarshaller.marshall(assessmentRunAgent.getAgentHealth(), AGENTHEALTH_BINDING);
              protocolMarshaller.marshall(assessmentRunAgent.getAgentHealthCode(), AGENTHEALTHCODE_BINDING);
              protocolMarshaller.marshall(assessmentRunAgent.getAgentHealthDetails(), AGENTHEALTHDETAILS_BINDING);
              protocolMarshaller.marshall(assessmentRunAgent.getAutoScalingGroup(), AUTOSCALINGGROUP_BINDING);
              protocolMarshaller.marshall(assessmentRunAgent.getTelemetryMetadata(), TELEMETRYMETADATA_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.