import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RegisterMarketplaceModelEndpointRequest, RegisterMarketplaceModelEndpointResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RegisterMarketplaceModelEndpointCommand}. */ export interface RegisterMarketplaceModelEndpointCommandInput extends RegisterMarketplaceModelEndpointRequest { } /** * @public * * The output of {@link RegisterMarketplaceModelEndpointCommand}. */ export interface RegisterMarketplaceModelEndpointCommandOutput extends RegisterMarketplaceModelEndpointResponse, __MetadataBearer { } declare const RegisterMarketplaceModelEndpointCommand_base: { new (input: RegisterMarketplaceModelEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (input: RegisterMarketplaceModelEndpointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Registers an existing Amazon SageMaker endpoint with Amazon Bedrock Marketplace, allowing it to be used with Amazon Bedrock APIs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BedrockClient, RegisterMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import * // const { BedrockClient, RegisterMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import * // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock"; * const config = {}; // type is BedrockClientConfig * const client = new BedrockClient(config); * const input = { // RegisterMarketplaceModelEndpointRequest * endpointIdentifier: "STRING_VALUE", // required * modelSourceIdentifier: "STRING_VALUE", // required * }; * const command = new RegisterMarketplaceModelEndpointCommand(input); * const response = await client.send(command); * // { // RegisterMarketplaceModelEndpointResponse * // marketplaceModelEndpoint: { // MarketplaceModelEndpoint * // endpointArn: "STRING_VALUE", // required * // modelSourceIdentifier: "STRING_VALUE", // required * // status: "REGISTERED" || "INCOMPATIBLE_ENDPOINT", * // statusMessage: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), // required * // updatedAt: new Date("TIMESTAMP"), // required * // endpointConfig: { // EndpointConfig Union: only one key present * // sageMaker: { // SageMakerEndpoint * // initialInstanceCount: Number("int"), // required * // instanceType: "STRING_VALUE", // required * // executionRole: "STRING_VALUE", // required * // kmsEncryptionKey: "STRING_VALUE", * // vpc: { // VpcConfig * // subnetIds: [ // SubnetIds // required * // "STRING_VALUE", * // ], * // securityGroupIds: [ // SecurityGroupIds // required * // "STRING_VALUE", * // ], * // }, * // }, * // }, * // endpointStatus: "STRING_VALUE", // required * // endpointStatusMessage: "STRING_VALUE", * // }, * // }; * * ``` * * @param RegisterMarketplaceModelEndpointCommandInput - {@link RegisterMarketplaceModelEndpointCommandInput} * @returns {@link RegisterMarketplaceModelEndpointCommandOutput} * @see {@link RegisterMarketplaceModelEndpointCommandInput} for command's `input` shape. * @see {@link RegisterMarketplaceModelEndpointCommandOutput} for command's `response` shape. * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The request is denied because of missing access permissions.

* * @throws {@link InternalServerException} (server fault) *

An internal server error occurred. Retry your request.

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

The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.

* * @throws {@link ServiceUnavailableException} (server fault) *

Returned if the service cannot complete the request.

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

The number of requests exceeds the limit. Resubmit your request later.

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

Input validation failed. Check your request parameters and retry the request.

* * @throws {@link BedrockServiceException} *

Base exception class for all service exceptions from Bedrock service.

* * * @public */ export declare class RegisterMarketplaceModelEndpointCommand extends RegisterMarketplaceModelEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RegisterMarketplaceModelEndpointRequest; output: RegisterMarketplaceModelEndpointResponse; }; sdk: { input: RegisterMarketplaceModelEndpointCommandInput; output: RegisterMarketplaceModelEndpointCommandOutput; }; }; }