code: public void marshall(CreateDeploymentRequest createDeploymentRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createDeploymentRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createDeploymentRequest.getApplicationName(), APPLICATIONNAME_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getDeploymentGroupName(), DEPLOYMENTGROUPNAME_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getRevision(), REVISION_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getDeploymentConfigName(), DEPLOYMENTCONFIGNAME_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getIgnoreApplicationStopFailures(), IGNOREAPPLICATIONSTOPFAILURES_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getTargetInstances(), TARGETINSTANCES_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getAutoRollbackConfiguration(), AUTOROLLBACKCONFIGURATION_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getUpdateOutdatedInstancesOnly(), UPDATEOUTDATEDINSTANCESONLY_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getFileExistsBehavior(), FILEEXISTSBEHAVIOR_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.