import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StopPentestJobInput, StopPentestJobOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StopPentestJobCommand}. */ export interface StopPentestJobCommandInput extends StopPentestJobInput { } /** * @public * * The output of {@link StopPentestJobCommand}. */ export interface StopPentestJobCommandOutput extends StopPentestJobOutput, __MetadataBearer { } declare const StopPentestJobCommand_base: { new (input: StopPentestJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: StopPentestJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Stops a running pentest job. The job transitions to a stopping state and then to stopped after cleanup completes.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SecurityAgentClient, StopPentestJobCommand } from "@aws-sdk/client-securityagent"; // ES Modules import * // const { SecurityAgentClient, StopPentestJobCommand } = 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 = { // StopPentestJobInput * agentSpaceId: "STRING_VALUE", // required * pentestJobId: "STRING_VALUE", // required * }; * const command = new StopPentestJobCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StopPentestJobCommandInput - {@link StopPentestJobCommandInput} * @returns {@link StopPentestJobCommandOutput} * @see {@link StopPentestJobCommandInput} for command's `input` shape. * @see {@link StopPentestJobCommandOutput} 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 StopPentestJobCommand extends StopPentestJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopPentestJobInput; output: {}; }; sdk: { input: StopPentestJobCommandInput; output: StopPentestJobCommandOutput; }; }; }