import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CodeBuildClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeBuildClient"; import type { ListProjectsInput, ListProjectsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListProjectsCommand}. */ export interface ListProjectsCommandInput extends ListProjectsInput { } /** * @public * * The output of {@link ListProjectsCommand}. */ export interface ListProjectsCommandOutput extends ListProjectsOutput, __MetadataBearer { } declare const ListProjectsCommand_base: { new (input: ListProjectsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListProjectsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets a list of build project names, with each build project name representing a single * build project.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeBuildClient, ListProjectsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import * // const { CodeBuildClient, ListProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import * // import type { CodeBuildClientConfig } from "@aws-sdk/client-codebuild"; * const config = {}; // type is CodeBuildClientConfig * const client = new CodeBuildClient(config); * const input = { // ListProjectsInput * sortBy: "NAME" || "CREATED_TIME" || "LAST_MODIFIED_TIME", * sortOrder: "ASCENDING" || "DESCENDING", * nextToken: "STRING_VALUE", * }; * const command = new ListProjectsCommand(input); * const response = await client.send(command); * // { // ListProjectsOutput * // nextToken: "STRING_VALUE", * // projects: [ // ProjectNames * // "STRING_VALUE", * // ], * // }; * * ``` * * @param ListProjectsCommandInput - {@link ListProjectsCommandInput} * @returns {@link ListProjectsCommandOutput} * @see {@link ListProjectsCommandInput} for command's `input` shape. * @see {@link ListProjectsCommandOutput} for command's `response` shape. * @see {@link CodeBuildClientResolvedConfig | config} for CodeBuildClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

The input value that was provided is not valid.

* * @throws {@link CodeBuildServiceException} *

Base exception class for all service exceptions from CodeBuild service.

* * * @public */ export declare class ListProjectsCommand extends ListProjectsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListProjectsInput; output: ListProjectsOutput; }; sdk: { input: ListProjectsCommandInput; output: ListProjectsCommandOutput; }; }; }