aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/AmazonSageMakerClient.java
@Override
    public CreateNotebookInstanceLifecycleConfigResult createNotebookInstanceLifecycleConfig(CreateNotebookInstanceLifecycleConfigRequest request) {
        request = beforeClientExecution(request);
        return executeCreateNotebookInstanceLifecycleConfig(request);
    }
/**
     * <p>
     * Creates a lifecycle configuration that you can associate with a notebook instance. A <i>lifecycle
     * configuration</i> is a collection of shell scripts that run when you create or start a notebook instance.
     * </p>
     * <p>
     * Each lifecycle configuration script has a limit of 16384 characters.
     * </p>
     * <p>
     * The value of the <code>$PATH</code> environment variable that is available to both scripts is
     * <code>/sbin:bin:/usr/sbin:/usr/bin</code>.
     * </p>
     * <p>
     * View CloudWatch Logs for notebook instance lifecycle configurations in log group
     * <code>/aws/sagemaker/NotebookInstances</code> in log stream
     * <code>[notebook-instance-name]/[LifecycleConfigHook]</code>.
     * </p>
     * <p>
     * Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes,
     * it fails and the notebook instance is not created or started.
     * </p>
     * <p>
     * For information about notebook instance lifestyle configurations, see <a
     * href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Step 2.1: (Optional)
     * Customize a Notebook Instance</a>.
     * </p>
     * 
     * @param createNotebookInstanceLifecycleConfigRequest
     * @return Result of the CreateNotebookInstanceLifecycleConfig operation returned by the service.
     * @throws ResourceLimitExceededException
     *         You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs
     *         created.
     * @sample AmazonSageMaker.CreateNotebookInstanceLifecycleConfig
     * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig"
     *      target="_top">AWS API Documentation</a>
     */

Creates a lifecycle configuration that you can associate with a notebook instance. A lifecycle
configuration is a collection of shell scripts that run when you create or start a notebook instance.


Each lifecycle configuration script has a limit of 16384 characters.

@param createNotebookInstanceLifecycleConfigRequest
@return Result of the CreateNotebookInstanceLifecycleConfig operation returned by the service.
@throws ResourceLimitExceededException
You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs
created.
Creates a lifecycle configuration that you can associate with a notebook instance . A lifecycle configuration is a collection of shell scripts that run when you create or start a notebook instance . Each lifecycle configuration script has a limit of 16384 characters . @param createNotebookInstanceLifecycleConfigRequest @return Result of the CreateNotebookInstanceLifecycleConfig operation returned by the service . @throws ResourceLimitExceededException You have exceeded an Amazon SageMaker resource limit . For example you might have too many training jobs created .
@Override
    public CreateNotebookInstanceLifecycleConfigResult createNotebookInstanceLifecycleConfig(CreateNotebookInstanceLifecycleConfigRequest request) {
        request = beforeClientExecution(request);
        return executeCreateNotebookInstanceLifecycleConfig(request);
    }
@ Override public CreateNotebookInstanceLifecycleConfigResult createNotebookInstanceLifecycleConfig ( CreateNotebookInstanceLifecycleConfigRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateNotebookInstanceLifecycleConfig ( request ) ; }
<p>
 Creates a lifecycle configuration that you can associate with a notebook instance.
<p > Creates a lifecycle configuration that you can associate with a notebook instance .