code: public void marshall(CreateDeploymentRequest createDeploymentRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createDeploymentRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createDeploymentRequest.getRestApiId(), RESTAPIID_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getStageName(), STAGENAME_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getStageDescription(), STAGEDESCRIPTION_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getCacheClusterEnabled(), CACHECLUSTERENABLED_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getCacheClusterSize(), CACHECLUSTERSIZE_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getVariables(), VARIABLES_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getCanarySettings(), CANARYSETTINGS_BINDING);
              protocolMarshaller.marshall(createDeploymentRequest.getTracingEnabled(), TRACINGENABLED_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.