code: public void marshall(CreateServiceRequest createServiceRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createServiceRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createServiceRequest.getCluster(), CLUSTER_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getServiceName(), SERVICENAME_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getTaskDefinition(), TASKDEFINITION_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getLoadBalancers(), LOADBALANCERS_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getServiceRegistries(), SERVICEREGISTRIES_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getDesiredCount(), DESIREDCOUNT_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getClientToken(), CLIENTTOKEN_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getLaunchType(), LAUNCHTYPE_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getPlatformVersion(), PLATFORMVERSION_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getRole(), ROLE_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getDeploymentConfiguration(), DEPLOYMENTCONFIGURATION_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getPlacementConstraints(), PLACEMENTCONSTRAINTS_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getPlacementStrategy(), PLACEMENTSTRATEGY_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getNetworkConfiguration(), NETWORKCONFIGURATION_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getHealthCheckGracePeriodSeconds(), HEALTHCHECKGRACEPERIODSECONDS_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getSchedulingStrategy(), SCHEDULINGSTRATEGY_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getDeploymentController(), DEPLOYMENTCONTROLLER_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getTags(), TAGS_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getEnableECSManagedTags(), ENABLEECSMANAGEDTAGS_BINDING);
              protocolMarshaller.marshall(createServiceRequest.getPropagateTags(), PROPAGATETAGS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.