import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListBatchLoadTasksRequest, ListBatchLoadTasksResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListBatchLoadTasksCommand}. */ export interface ListBatchLoadTasksCommandInput extends ListBatchLoadTasksRequest { } /** * @public * * The output of {@link ListBatchLoadTasksCommand}. */ export interface ListBatchLoadTasksCommandOutput extends ListBatchLoadTasksResponse, __MetadataBearer { } declare const ListBatchLoadTasksCommand_base: { new (input: ListBatchLoadTasksCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListBatchLoadTasksCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Provides a list of batch load tasks, along with the name, status, when the task is * resumable until, and other details. See code * sample for details.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TimestreamWriteClient, ListBatchLoadTasksCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import * // const { TimestreamWriteClient, ListBatchLoadTasksCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import * // import type { TimestreamWriteClientConfig } from "@aws-sdk/client-timestream-write"; * const config = {}; // type is TimestreamWriteClientConfig * const client = new TimestreamWriteClient(config); * const input = { // ListBatchLoadTasksRequest * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * TaskStatus: "CREATED" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED" || "PROGRESS_STOPPED" || "PENDING_RESUME", * }; * const command = new ListBatchLoadTasksCommand(input); * const response = await client.send(command); * // { // ListBatchLoadTasksResponse * // NextToken: "STRING_VALUE", * // BatchLoadTasks: [ // BatchLoadTaskList * // { // BatchLoadTask * // TaskId: "STRING_VALUE", * // TaskStatus: "CREATED" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED" || "PROGRESS_STOPPED" || "PENDING_RESUME", * // DatabaseName: "STRING_VALUE", * // TableName: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // LastUpdatedTime: new Date("TIMESTAMP"), * // ResumableUntil: new Date("TIMESTAMP"), * // }, * // ], * // }; * * ``` * * @param ListBatchLoadTasksCommandInput - {@link ListBatchLoadTasksCommandInput} * @returns {@link ListBatchLoadTasksCommandOutput} * @see {@link ListBatchLoadTasksCommandInput} for command's `input` shape. * @see {@link ListBatchLoadTasksCommandOutput} for command's `response` shape. * @see {@link TimestreamWriteClientResolvedConfig | config} for TimestreamWriteClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You are not authorized to perform this action.

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

* Timestream was unable to fully process this request because of an internal server * error.

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

The requested endpoint was not valid.

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

Too many requests were made by a user and they exceeded the service quotas. The request * was throttled.

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

An invalid or malformed request.

* * @throws {@link TimestreamWriteServiceException} *

Base exception class for all service exceptions from TimestreamWrite service.

* * * @public */ export declare class ListBatchLoadTasksCommand extends ListBatchLoadTasksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListBatchLoadTasksRequest; output: ListBatchLoadTasksResponse; }; sdk: { input: ListBatchLoadTasksCommandInput; output: ListBatchLoadTasksCommandOutput; }; }; }