import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListJobsRequest, ListJobsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListJobsCommand}. */ export interface ListJobsCommandInput extends ListJobsRequest { } /** * @public * * The output of {@link ListJobsCommand}. */ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer { } declare const ListJobsCommand_base: { new (input: ListJobsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListJobsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns an array of JobListEntry objects of the specified length. Each * JobListEntry object contains a job's state, a job's ID, and a value that * indicates whether the job is a job part, in the case of export jobs. Calling this API action * in one of the US regions will return jobs from the list of all jobs associated with this * account in all US regions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SnowballClient, ListJobsCommand } from "@aws-sdk/client-snowball"; // ES Modules import * // const { SnowballClient, ListJobsCommand } = require("@aws-sdk/client-snowball"); // CommonJS import * // import type { SnowballClientConfig } from "@aws-sdk/client-snowball"; * const config = {}; // type is SnowballClientConfig * const client = new SnowballClient(config); * const input = { // ListJobsRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListJobsCommand(input); * const response = await client.send(command); * // { // ListJobsResult * // JobListEntries: [ // JobListEntryList * // { // JobListEntry * // JobId: "STRING_VALUE", * // JobState: "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending", * // IsMaster: true || false, * // JobType: "IMPORT" || "EXPORT" || "LOCAL_USE", * // SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C", * // CreationDate: new Date("TIMESTAMP"), * // Description: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListJobsCommandInput - {@link ListJobsCommandInput} * @returns {@link ListJobsCommandOutput} * @see {@link ListJobsCommandInput} for command's `input` shape. * @see {@link ListJobsCommandOutput} for command's `response` shape. * @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape. * * @throws {@link InvalidNextTokenException} (client fault) *

The NextToken string was altered unexpectedly, and the operation has * stopped. Run the operation without changing the NextToken string, and try * again.

* * @throws {@link SnowballServiceException} *

Base exception class for all service exceptions from Snowball service.

* * * @public */ export declare class ListJobsCommand extends ListJobsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListJobsRequest; output: ListJobsResult; }; sdk: { input: ListJobsCommandInput; output: ListJobsCommandOutput; }; }; }