import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListCustomModelDeploymentsRequest, ListCustomModelDeploymentsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListCustomModelDeploymentsCommand}. */ export interface ListCustomModelDeploymentsCommandInput extends ListCustomModelDeploymentsRequest { } /** * @public * * The output of {@link ListCustomModelDeploymentsCommand}. */ export interface ListCustomModelDeploymentsCommandOutput extends ListCustomModelDeploymentsResponse, __MetadataBearer { } declare const ListCustomModelDeploymentsCommand_base: { new (input: ListCustomModelDeploymentsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListCustomModelDeploymentsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists custom model deployments in your account. You can filter the results by creation time, name, status, and associated model. Use this operation to manage and monitor your custom model deployments.

We recommend using pagination to ensure that the operation returns quickly and successfully.

The following actions are related to the ListCustomModelDeployments operation:

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BedrockClient, ListCustomModelDeploymentsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import * // const { BedrockClient, ListCustomModelDeploymentsCommand } = 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 = { // ListCustomModelDeploymentsRequest * createdBefore: new Date("TIMESTAMP"), * createdAfter: new Date("TIMESTAMP"), * nameContains: "STRING_VALUE", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * sortBy: "CreationTime", * sortOrder: "Ascending" || "Descending", * statusEquals: "Creating" || "Active" || "Failed", * modelArnEquals: "STRING_VALUE", * }; * const command = new ListCustomModelDeploymentsCommand(input); * const response = await client.send(command); * // { // ListCustomModelDeploymentsResponse * // nextToken: "STRING_VALUE", * // modelDeploymentSummaries: [ // CustomModelDeploymentSummaryList * // { // CustomModelDeploymentSummary * // customModelDeploymentArn: "STRING_VALUE", // required * // customModelDeploymentName: "STRING_VALUE", // required * // modelArn: "STRING_VALUE", // required * // createdAt: new Date("TIMESTAMP"), // required * // status: "Creating" || "Active" || "Failed", // required * // lastUpdatedAt: new Date("TIMESTAMP"), * // failureMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListCustomModelDeploymentsCommandInput - {@link ListCustomModelDeploymentsCommandInput} * @returns {@link ListCustomModelDeploymentsCommandOutput} * @see {@link ListCustomModelDeploymentsCommandInput} for command's `input` shape. * @see {@link ListCustomModelDeploymentsCommandOutput} 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 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 ListCustomModelDeploymentsCommand extends ListCustomModelDeploymentsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListCustomModelDeploymentsRequest; output: ListCustomModelDeploymentsResponse; }; sdk: { input: ListCustomModelDeploymentsCommandInput; output: ListCustomModelDeploymentsCommandOutput; }; }; }