aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/AmazonSageMakerClient.java
@Override
    public CreateModelPackageResult createModelPackage(CreateModelPackageRequest request) {
        request = beforeClientExecution(request);
        return executeCreateModelPackage(request);
    }
/**
     * <p>
     * Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace. Buyers can
     * subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.
     * </p>
     * <p>
     * To create a model package by specifying a Docker container that contains your inference code and the Amazon S3
     * location of your model artifacts, provide values for <code>InferenceSpecification</code>. To create a model from
     * an algorithm resource that you created or subscribed to in AWS Marketplace, provide a value for
     * <code>SourceAlgorithmSpecification</code>.
     * </p>
     * 
     * @param createModelPackageRequest
     * @return Result of the CreateModelPackage operation returned by the service.
     * @sample AmazonSageMaker.CreateModelPackage
     * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage" target="_top">AWS
     *      API Documentation</a>
     */

Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace. Buyers can
subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.


To create a model package by specifying a Docker container that contains your inference code and the Amazon S3
location of your model artifacts, provide values for InferenceSpecification. To create a model from
an algorithm resource that you created or subscribed to in AWS Marketplace, provide a value for
SourceAlgorithmSpecification.

@param createModelPackageRequest
@return Result of the CreateModelPackage operation returned by the service.
Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace . Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker . To create a model package by specifying a Docker container that contains your inference code and the Amazon S3 location of your model artifacts provide values for InferenceSpecification . To create a model from an algorithm resource that you created or subscribed to in AWS Marketplace provide a value for SourceAlgorithmSpecification . @param createModelPackageRequest @return Result of the CreateModelPackage operation returned by the service .
@Override
    public CreateModelPackageResult createModelPackage(CreateModelPackageRequest request) {
        request = beforeClientExecution(request);
        return executeCreateModelPackage(request);
    }
@ Override public CreateModelPackageResult createModelPackage ( CreateModelPackageRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateModelPackage ( request ) ; }
<p>
 Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace.
<p > Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace .