import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateProvisionedModelThroughputRequest, CreateProvisionedModelThroughputResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateProvisionedModelThroughputCommand}. */ export interface CreateProvisionedModelThroughputCommandInput extends CreateProvisionedModelThroughputRequest { } /** * @public * * The output of {@link CreateProvisionedModelThroughputCommand}. */ export interface CreateProvisionedModelThroughputCommandOutput extends CreateProvisionedModelThroughputResponse, __MetadataBearer { } declare const CreateProvisionedModelThroughputCommand_base: { new (input: CreateProvisionedModelThroughputCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateProvisionedModelThroughputCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates dedicated throughput for a base or custom model with the model units and for the duration that you specify. For pricing details, see Amazon Bedrock Pricing. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BedrockClient, CreateProvisionedModelThroughputCommand } from "@aws-sdk/client-bedrock"; // ES Modules import * // const { BedrockClient, CreateProvisionedModelThroughputCommand } = 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 = { // CreateProvisionedModelThroughputRequest * clientRequestToken: "STRING_VALUE", * modelUnits: Number("int"), // required * provisionedModelName: "STRING_VALUE", // required * modelId: "STRING_VALUE", // required * commitmentDuration: "OneMonth" || "SixMonths", * tags: [ // TagList * { // Tag * key: "STRING_VALUE", // required * value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateProvisionedModelThroughputCommand(input); * const response = await client.send(command); * // { // CreateProvisionedModelThroughputResponse * // provisionedModelArn: "STRING_VALUE", // required * // }; * * ``` * * @param CreateProvisionedModelThroughputCommandInput - {@link CreateProvisionedModelThroughputCommandInput} * @returns {@link CreateProvisionedModelThroughputCommandOutput} * @see {@link CreateProvisionedModelThroughputCommandInput} for command's `input` shape. * @see {@link CreateProvisionedModelThroughputCommandOutput} 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 ServiceQuotaExceededException} (client fault) *

The number of requests exceeds the service quota. Resubmit your request later.

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

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

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

The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.

* * @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 CreateProvisionedModelThroughputCommand extends CreateProvisionedModelThroughputCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateProvisionedModelThroughputRequest; output: CreateProvisionedModelThroughputResponse; }; sdk: { input: CreateProvisionedModelThroughputCommandInput; output: CreateProvisionedModelThroughputCommandOutput; }; }; }