import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListTasksInput, ListTasksOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListTasksCommand}. */ export interface ListTasksCommandInput extends ListTasksInput { } /** * @public * * The output of {@link ListTasksCommand}. */ export interface ListTasksCommandOutput extends ListTasksOutput, __MetadataBearer { } declare const ListTasksCommand_base: { new (input: ListTasksCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListTasksCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of tasks that can be filtered by state.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SnowDeviceManagementClient, ListTasksCommand } from "@aws-sdk/client-snow-device-management"; // ES Modules import * // const { SnowDeviceManagementClient, ListTasksCommand } = require("@aws-sdk/client-snow-device-management"); // CommonJS import * // import type { SnowDeviceManagementClientConfig } from "@aws-sdk/client-snow-device-management"; * const config = {}; // type is SnowDeviceManagementClientConfig * const client = new SnowDeviceManagementClient(config); * const input = { // ListTasksInput * state: "STRING_VALUE", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListTasksCommand(input); * const response = await client.send(command); * // { // ListTasksOutput * // tasks: [ // TaskSummaryList * // { // TaskSummary * // taskId: "STRING_VALUE", // required * // taskArn: "STRING_VALUE", * // state: "STRING_VALUE", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListTasksCommandInput - {@link ListTasksCommandInput} * @returns {@link ListTasksCommandOutput} * @see {@link ListTasksCommandInput} for command's `input` shape. * @see {@link ListTasksCommandOutput} for command's `response` shape. * @see {@link SnowDeviceManagementClientResolvedConfig | config} for SnowDeviceManagementClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action.

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

An unexpected error occurred while processing the 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 an Amazon Web Services service.

* * @throws {@link SnowDeviceManagementServiceException} *

Base exception class for all service exceptions from SnowDeviceManagement service.

* * * @public */ export declare class ListTasksCommand extends ListTasksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListTasksInput; output: ListTasksOutput; }; sdk: { input: ListTasksCommandInput; output: ListTasksCommandOutput; }; }; }