code: public void marshall(SendCommandRequest sendCommandRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (sendCommandRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(sendCommandRequest.getInstanceIds(), INSTANCEIDS_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getTargets(), TARGETS_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getDocumentName(), DOCUMENTNAME_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getDocumentVersion(), DOCUMENTVERSION_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getDocumentHash(), DOCUMENTHASH_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getDocumentHashType(), DOCUMENTHASHTYPE_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getTimeoutSeconds(), TIMEOUTSECONDS_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getComment(), COMMENT_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getParameters(), PARAMETERS_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getOutputS3Region(), OUTPUTS3REGION_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getOutputS3BucketName(), OUTPUTS3BUCKETNAME_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getOutputS3KeyPrefix(), OUTPUTS3KEYPREFIX_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getMaxConcurrency(), MAXCONCURRENCY_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getMaxErrors(), MAXERRORS_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getServiceRoleArn(), SERVICEROLEARN_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getNotificationConfig(), NOTIFICATIONCONFIG_BINDING);
              protocolMarshaller.marshall(sendCommandRequest.getCloudWatchOutputConfig(), CLOUDWATCHOUTPUTCONFIG_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.