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 { ListFleetsInput, ListFleetsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListFleetsCommand}. */ export interface ListFleetsCommandInput extends ListFleetsInput { } /** * @public * * The output of {@link ListFleetsCommand}. */ export interface ListFleetsCommandOutput extends ListFleetsOutput, __MetadataBearer { } declare const ListFleetsCommand_base: { new (input: ListFleetsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListFleetsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeBuildClient, ListFleetsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import * // const { CodeBuildClient, ListFleetsCommand } = 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 = { // ListFleetsInput * nextToken: "STRING_VALUE", * maxResults: Number("int"), * sortOrder: "ASCENDING" || "DESCENDING", * sortBy: "NAME" || "CREATED_TIME" || "LAST_MODIFIED_TIME", * }; * const command = new ListFleetsCommand(input); * const response = await client.send(command); * // { // ListFleetsOutput * // nextToken: "STRING_VALUE", * // fleets: [ // FleetArns * // "STRING_VALUE", * // ], * // }; * * ``` * * @param ListFleetsCommandInput - {@link ListFleetsCommandInput} * @returns {@link ListFleetsCommandOutput} * @see {@link ListFleetsCommandInput} for command's `input` shape. * @see {@link ListFleetsCommandOutput} 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 ListFleetsCommand extends ListFleetsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListFleetsInput; output: ListFleetsOutput; }; sdk: { input: ListFleetsCommandInput; output: ListFleetsCommandOutput; }; }; }