import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListSearchJobsInput, ListSearchJobsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListSearchJobsCommand}. */ export interface ListSearchJobsCommandInput extends ListSearchJobsInput { } /** * @public * * The output of {@link ListSearchJobsCommand}. */ export interface ListSearchJobsCommandOutput extends ListSearchJobsOutput, __MetadataBearer { } declare const ListSearchJobsCommand_base: { new (input: ListSearchJobsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListSearchJobsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This operation returns a list of search jobs belonging to an account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupSearchClient, ListSearchJobsCommand } from "@aws-sdk/client-backupsearch"; // ES Modules import * // const { BackupSearchClient, ListSearchJobsCommand } = require("@aws-sdk/client-backupsearch"); // CommonJS import * // import type { BackupSearchClientConfig } from "@aws-sdk/client-backupsearch"; * const config = {}; // type is BackupSearchClientConfig * const client = new BackupSearchClient(config); * const input = { // ListSearchJobsInput * ByStatus: "RUNNING" || "COMPLETED" || "STOPPING" || "STOPPED" || "FAILED", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListSearchJobsCommand(input); * const response = await client.send(command); * // { // ListSearchJobsOutput * // SearchJobs: [ // SearchJobs // required * // { // SearchJobSummary * // SearchJobIdentifier: "STRING_VALUE", * // SearchJobArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Status: "RUNNING" || "COMPLETED" || "STOPPING" || "STOPPED" || "FAILED", * // CreationTime: new Date("TIMESTAMP"), * // CompletionTime: new Date("TIMESTAMP"), * // SearchScopeSummary: { // SearchScopeSummary * // TotalRecoveryPointsToScanCount: Number("int"), * // TotalItemsToScanCount: Number("long"), * // }, * // StatusMessage: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListSearchJobsCommandInput - {@link ListSearchJobsCommandInput} * @returns {@link ListSearchJobsCommandOutput} * @see {@link ListSearchJobsCommandInput} for command's `input` shape. * @see {@link ListSearchJobsCommandOutput} for command's `response` shape. * @see {@link BackupSearchClientResolvedConfig | config} for BackupSearchClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

An internal server error occurred. Retry your request.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by a service.

* * @throws {@link BackupSearchServiceException} *

Base exception class for all service exceptions from BackupSearch service.

* * * @public */ export declare class ListSearchJobsCommand extends ListSearchJobsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListSearchJobsInput; output: ListSearchJobsOutput; }; sdk: { input: ListSearchJobsCommandInput; output: ListSearchJobsCommandOutput; }; }; }