import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartCodeReviewJobInput, StartCodeReviewJobOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartCodeReviewJobCommand}. */ export interface StartCodeReviewJobCommandInput extends StartCodeReviewJobInput { } /** * @public * * The output of {@link StartCodeReviewJobCommand}. */ export interface StartCodeReviewJobCommandOutput extends StartCodeReviewJobOutput, __MetadataBearer { } declare const StartCodeReviewJobCommand_base: { new (input: StartCodeReviewJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartCodeReviewJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Starts a new code review job for a code review configuration. The job executes the security-focused code analysis defined in the code review.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SecurityAgentClient, StartCodeReviewJobCommand } from "@aws-sdk/client-securityagent"; // ES Modules import * // const { SecurityAgentClient, StartCodeReviewJobCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent"; * const config = {}; // type is SecurityAgentClientConfig * const client = new SecurityAgentClient(config); * const input = { // StartCodeReviewJobInput * agentSpaceId: "STRING_VALUE", // required * codeReviewId: "STRING_VALUE", // required * diffSource: { // DiffSource Union: only one key present * s3Uri: "STRING_VALUE", * }, * }; * const command = new StartCodeReviewJobCommand(input); * const response = await client.send(command); * // { // StartCodeReviewJobOutput * // title: "STRING_VALUE", * // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // codeReviewId: "STRING_VALUE", // required * // codeReviewJobId: "STRING_VALUE", // required * // agentSpaceId: "STRING_VALUE", * // }; * * ``` * * @param StartCodeReviewJobCommandInput - {@link StartCodeReviewJobCommandInput} * @returns {@link StartCodeReviewJobCommandOutput} * @see {@link StartCodeReviewJobCommandInput} for command's `input` shape. * @see {@link StartCodeReviewJobCommandOutput} for command's `response` shape. * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape. * * @throws {@link SecurityAgentServiceException} *

Base exception class for all service exceptions from SecurityAgent service.

* * * @public */ export declare class StartCodeReviewJobCommand extends StartCodeReviewJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartCodeReviewJobInput; output: StartCodeReviewJobOutput; }; sdk: { input: StartCodeReviewJobCommandInput; output: StartCodeReviewJobCommandOutput; }; }; }