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 { BatchDeleteBuildsInput, BatchDeleteBuildsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchDeleteBuildsCommand}. */ export interface BatchDeleteBuildsCommandInput extends BatchDeleteBuildsInput { } /** * @public * * The output of {@link BatchDeleteBuildsCommand}. */ export interface BatchDeleteBuildsCommandOutput extends BatchDeleteBuildsOutput, __MetadataBearer { } declare const BatchDeleteBuildsCommand_base: { new (input: BatchDeleteBuildsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: BatchDeleteBuildsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes one or more builds.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeBuildClient, BatchDeleteBuildsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import * // const { CodeBuildClient, BatchDeleteBuildsCommand } = 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 = { // BatchDeleteBuildsInput * ids: [ // BuildIds // required * "STRING_VALUE", * ], * }; * const command = new BatchDeleteBuildsCommand(input); * const response = await client.send(command); * // { // BatchDeleteBuildsOutput * // buildsDeleted: [ // BuildIds * // "STRING_VALUE", * // ], * // buildsNotDeleted: [ // BuildsNotDeleted * // { // BuildNotDeleted * // id: "STRING_VALUE", * // statusCode: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchDeleteBuildsCommandInput - {@link BatchDeleteBuildsCommandInput} * @returns {@link BatchDeleteBuildsCommandOutput} * @see {@link BatchDeleteBuildsCommandInput} for command's `input` shape. * @see {@link BatchDeleteBuildsCommandOutput} 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 BatchDeleteBuildsCommand extends BatchDeleteBuildsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchDeleteBuildsInput; output: BatchDeleteBuildsOutput; }; sdk: { input: BatchDeleteBuildsCommandInput; output: BatchDeleteBuildsCommandOutput; }; }; }