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

Retrieves the identifiers of your build batches in the current region.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeBuildClient, ListBuildBatchesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import * // const { CodeBuildClient, ListBuildBatchesCommand } = 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 = { // ListBuildBatchesInput * filter: { // BuildBatchFilter * status: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED", * }, * maxResults: Number("int"), * sortOrder: "ASCENDING" || "DESCENDING", * nextToken: "STRING_VALUE", * }; * const command = new ListBuildBatchesCommand(input); * const response = await client.send(command); * // { // ListBuildBatchesOutput * // ids: [ // BuildBatchIds * // "STRING_VALUE", * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListBuildBatchesCommandInput - {@link ListBuildBatchesCommandInput} * @returns {@link ListBuildBatchesCommandOutput} * @see {@link ListBuildBatchesCommandInput} for command's `input` shape. * @see {@link ListBuildBatchesCommandOutput} 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 ListBuildBatchesCommand extends ListBuildBatchesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListBuildBatchesInput; output: ListBuildBatchesOutput; }; sdk: { input: ListBuildBatchesCommandInput; output: ListBuildBatchesCommandOutput; }; }; }