import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListPentestsInput, ListPentestsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListPentestsCommand}. */ export interface ListPentestsCommandInput extends ListPentestsInput { } /** * @public * * The output of {@link ListPentestsCommand}. */ export interface ListPentestsCommandOutput extends ListPentestsOutput, __MetadataBearer { } declare const ListPentestsCommand_base: { new (input: ListPentestsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListPentestsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a paginated list of pentest summaries for the specified agent space.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SecurityAgentClient, ListPentestsCommand } from "@aws-sdk/client-securityagent"; // ES Modules import * // const { SecurityAgentClient, ListPentestsCommand } = 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 = { // ListPentestsInput * maxResults: Number("int"), * nextToken: "STRING_VALUE", * agentSpaceId: "STRING_VALUE", // required * }; * const command = new ListPentestsCommand(input); * const response = await client.send(command); * // { // ListPentestsOutput * // pentestSummaries: [ // PentestSummaryList * // { // PentestSummary * // pentestId: "STRING_VALUE", // required * // agentSpaceId: "STRING_VALUE", // required * // title: "STRING_VALUE", // required * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListPentestsCommandInput - {@link ListPentestsCommandInput} * @returns {@link ListPentestsCommandOutput} * @see {@link ListPentestsCommandInput} for command's `input` shape. * @see {@link ListPentestsCommandOutput} 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 ListPentestsCommand extends ListPentestsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListPentestsInput; output: ListPentestsOutput; }; sdk: { input: ListPentestsCommandInput; output: ListPentestsCommandOutput; }; }; }