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

Starts a command execution.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodeBuildClient, StartCommandExecutionCommand } from "@aws-sdk/client-codebuild"; // ES Modules import * // const { CodeBuildClient, StartCommandExecutionCommand } = 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 = { // StartCommandExecutionInput * sandboxId: "STRING_VALUE", // required * command: "STRING_VALUE", // required * type: "SHELL", * }; * const command = new StartCommandExecutionCommand(input); * const response = await client.send(command); * // { // StartCommandExecutionOutput * // commandExecution: { // 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", * // }, * // }; * * ``` * * @param StartCommandExecutionCommandInput - {@link StartCommandExecutionCommandInput} * @returns {@link StartCommandExecutionCommandOutput} * @see {@link StartCommandExecutionCommandInput} for command's `input` shape. * @see {@link StartCommandExecutionCommandOutput} 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 ResourceNotFoundException} (client fault) *

The specified Amazon Web Services resource cannot be found.

* * @throws {@link CodeBuildServiceException} *

Base exception class for all service exceptions from CodeBuild service.

* * * @public */ export declare class StartCommandExecutionCommand extends StartCommandExecutionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartCommandExecutionInput; output: StartCommandExecutionOutput; }; sdk: { input: StartCommandExecutionCommandInput; output: StartCommandExecutionCommandOutput; }; }; }