import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CreateHubContentReferenceRequest, CreateHubContentReferenceResponse } from "../models/models_1"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateHubContentReferenceCommand}. */ export interface CreateHubContentReferenceCommandInput extends CreateHubContentReferenceRequest { } /** * @public * * The output of {@link CreateHubContentReferenceCommand}. */ export interface CreateHubContentReferenceCommandOutput extends CreateHubContentReferenceResponse, __MetadataBearer { } declare const CreateHubContentReferenceCommand_base: { new (input: CreateHubContentReferenceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateHubContentReferenceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Create a hub content reference in order to add a model in the JumpStart public hub to a private hub.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, CreateHubContentReferenceCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, CreateHubContentReferenceCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // CreateHubContentReferenceRequest * HubName: "STRING_VALUE", // required * SageMakerPublicHubContentArn: "STRING_VALUE", // required * HubContentName: "STRING_VALUE", * MinVersion: "STRING_VALUE", * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateHubContentReferenceCommand(input); * const response = await client.send(command); * // { // CreateHubContentReferenceResponse * // HubArn: "STRING_VALUE", // required * // HubContentArn: "STRING_VALUE", // required * // }; * * ``` * * @param CreateHubContentReferenceCommandInput - {@link CreateHubContentReferenceCommandInput} * @returns {@link CreateHubContentReferenceCommandOutput} * @see {@link CreateHubContentReferenceCommandInput} for command's `input` shape. * @see {@link CreateHubContentReferenceCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ResourceInUse} (client fault) *

Resource being accessed is in use.

* * @throws {@link ResourceLimitExceeded} (client fault) *

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

* * @throws {@link ResourceNotFound} (client fault) *

Resource being access is not found.

* * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class CreateHubContentReferenceCommand extends CreateHubContentReferenceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateHubContentReferenceRequest; output: CreateHubContentReferenceResponse; }; sdk: { input: CreateHubContentReferenceCommandInput; output: CreateHubContentReferenceCommandOutput; }; }; }