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

Gets information about the command executions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeBuildClient, BatchGetCommandExecutionsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import * // const { CodeBuildClient, BatchGetCommandExecutionsCommand } = 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 = { // BatchGetCommandExecutionsInput * sandboxId: "STRING_VALUE", // required * commandExecutionIds: [ // CommandExecutionIds // required * "STRING_VALUE", * ], * }; * const command = new BatchGetCommandExecutionsCommand(input); * const response = await client.send(command); * // { // BatchGetCommandExecutionsOutput * // commandExecutions: [ // CommandExecutions * // { // CommandExecution * // id: "STRING_VALUE", * // sandboxId: "STRING_VALUE", * // submitTime: new Date("TIMESTAMP"), * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // status: "STRING_VALUE", * // command: "STRING_VALUE", * // type: "SHELL", * // exitCode: "STRING_VALUE", * // standardOutputContent: "STRING_VALUE", * // standardErrContent: "STRING_VALUE", * // logs: { // LogsLocation * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // deepLink: "STRING_VALUE", * // s3DeepLink: "STRING_VALUE", * // cloudWatchLogsArn: "STRING_VALUE", * // s3LogsArn: "STRING_VALUE", * // cloudWatchLogs: { // CloudWatchLogsConfig * // status: "ENABLED" || "DISABLED", // required * // groupName: "STRING_VALUE", * // streamName: "STRING_VALUE", * // }, * // s3Logs: { // S3LogsConfig * // status: "ENABLED" || "DISABLED", // required * // location: "STRING_VALUE", * // encryptionDisabled: true || false, * // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL", * // }, * // }, * // sandboxArn: "STRING_VALUE", * // }, * // ], * // commandExecutionsNotFound: [ // CommandExecutionIds * // "STRING_VALUE", * // ], * // }; * * ``` * * @param BatchGetCommandExecutionsCommandInput - {@link BatchGetCommandExecutionsCommandInput} * @returns {@link BatchGetCommandExecutionsCommandOutput} * @see {@link BatchGetCommandExecutionsCommandInput} for command's `input` shape. * @see {@link BatchGetCommandExecutionsCommandOutput} 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 BatchGetCommandExecutionsCommand extends BatchGetCommandExecutionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchGetCommandExecutionsInput; output: BatchGetCommandExecutionsOutput; }; sdk: { input: BatchGetCommandExecutionsCommandInput; output: BatchGetCommandExecutionsCommandOutput; }; }; }