import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StartPentestJobInput, StartPentestJobOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StartPentestJobCommand}. */ export interface StartPentestJobCommandInput extends StartPentestJobInput { } /** * @public * * The output of {@link StartPentestJobCommand}. */ export interface StartPentestJobCommandOutput extends StartPentestJobOutput, __MetadataBearer { } declare const StartPentestJobCommand_base: { new (input: StartPentestJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartPentestJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Starts a new pentest job for a pentest configuration. The job executes the security tests defined in the pentest.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SecurityAgentClient, StartPentestJobCommand } from "@aws-sdk/client-securityagent"; // ES Modules import * // const { SecurityAgentClient, StartPentestJobCommand } = 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 = { // StartPentestJobInput * agentSpaceId: "STRING_VALUE", // required * pentestId: "STRING_VALUE", // required * jobType: "FULL" || "REVALIDATION", * selectedFindingIds: [ // StringList * "STRING_VALUE", * ], * }; * const command = new StartPentestJobCommand(input); * const response = await client.send(command); * // { // StartPentestJobOutput * // title: "STRING_VALUE", * // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED", * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // pentestId: "STRING_VALUE", * // pentestJobId: "STRING_VALUE", * // agentSpaceId: "STRING_VALUE", * // }; * * ``` * * @param StartPentestJobCommandInput - {@link StartPentestJobCommandInput} * @returns {@link StartPentestJobCommandOutput} * @see {@link StartPentestJobCommandInput} for command's `input` shape. * @see {@link StartPentestJobCommandOutput} 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 StartPentestJobCommand extends StartPentestJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartPentestJobInput; output: StartPentestJobOutput; }; sdk: { input: StartPentestJobCommandInput; output: StartPentestJobCommandOutput; }; }; }