import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateNotebookInstanceLifecycleConfigInput, UpdateNotebookInstanceLifecycleConfigOutput } from "../models/models_5"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateNotebookInstanceLifecycleConfigCommand}. */ export interface UpdateNotebookInstanceLifecycleConfigCommandInput extends UpdateNotebookInstanceLifecycleConfigInput { } /** * @public * * The output of {@link UpdateNotebookInstanceLifecycleConfigCommand}. */ export interface UpdateNotebookInstanceLifecycleConfigCommandOutput extends UpdateNotebookInstanceLifecycleConfigOutput, __MetadataBearer { } declare const UpdateNotebookInstanceLifecycleConfigCommand_base: { new (input: UpdateNotebookInstanceLifecycleConfigCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateNotebookInstanceLifecycleConfigCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig API.

Updates to lifecycle configurations affect all notebook instances using that configuration upon their next start. Lifecycle configuration scripts execute with root access and the notebook instance's IAM execution role privileges. Grant this permission only to trusted principals. See Customize a Notebook Instance Using a Lifecycle Configuration Script for security best practices.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, UpdateNotebookInstanceLifecycleConfigCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, UpdateNotebookInstanceLifecycleConfigCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker"; * const config = {}; // type is SageMakerClientConfig * const client = new SageMakerClient(config); * const input = { // UpdateNotebookInstanceLifecycleConfigInput * NotebookInstanceLifecycleConfigName: "STRING_VALUE", // required * OnCreate: [ // NotebookInstanceLifecycleConfigList * { // NotebookInstanceLifecycleHook * Content: "STRING_VALUE", * }, * ], * OnStart: [ * { * Content: "STRING_VALUE", * }, * ], * }; * const command = new UpdateNotebookInstanceLifecycleConfigCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateNotebookInstanceLifecycleConfigCommandInput - {@link UpdateNotebookInstanceLifecycleConfigCommandInput} * @returns {@link UpdateNotebookInstanceLifecycleConfigCommandOutput} * @see {@link UpdateNotebookInstanceLifecycleConfigCommandInput} for command's `input` shape. * @see {@link UpdateNotebookInstanceLifecycleConfigCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ResourceLimitExceeded} (client fault) *

You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.

* * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class UpdateNotebookInstanceLifecycleConfigCommand extends UpdateNotebookInstanceLifecycleConfigCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateNotebookInstanceLifecycleConfigInput; output: {}; }; sdk: { input: UpdateNotebookInstanceLifecycleConfigCommandInput; output: UpdateNotebookInstanceLifecycleConfigCommandOutput; }; }; }