import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListTaskExecutionsRequest, ListTaskExecutionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListTaskExecutionsCommand}. */ export interface ListTaskExecutionsCommandInput extends ListTaskExecutionsRequest { } /** * @public * * The output of {@link ListTaskExecutionsCommand}. */ export interface ListTaskExecutionsCommandOutput extends ListTaskExecutionsResponse, __MetadataBearer { } declare const ListTaskExecutionsCommand_base: { new (input: ListTaskExecutionsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListTaskExecutionsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of executions for an DataSync transfer task.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, ListTaskExecutionsCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, ListTaskExecutionsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import * // import type { DataSyncClientConfig } from "@aws-sdk/client-datasync"; * const config = {}; // type is DataSyncClientConfig * const client = new DataSyncClient(config); * const input = { // ListTaskExecutionsRequest * TaskArn: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListTaskExecutionsCommand(input); * const response = await client.send(command); * // { // ListTaskExecutionsResponse * // TaskExecutions: [ // TaskExecutionList * // { // TaskExecutionListEntry * // TaskExecutionArn: "STRING_VALUE", * // Status: "QUEUED" || "CANCELLING" || "LAUNCHING" || "PREPARING" || "TRANSFERRING" || "VERIFYING" || "SUCCESS" || "ERROR", * // TaskMode: "BASIC" || "ENHANCED", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListTaskExecutionsCommandInput - {@link ListTaskExecutionsCommandInput} * @returns {@link ListTaskExecutionsCommandOutput} * @see {@link ListTaskExecutionsCommandInput} for command's `input` shape. * @see {@link ListTaskExecutionsCommandOutput} for command's `response` shape. * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape. * * @throws {@link InternalException} (server fault) *

This exception is thrown when an error occurs in the DataSync * service.

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

This exception is thrown when the client submits a malformed request.

* * @throws {@link DataSyncServiceException} *

Base exception class for all service exceptions from DataSync service.

* * * @public */ export declare class ListTaskExecutionsCommand extends ListTaskExecutionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListTaskExecutionsRequest; output: ListTaskExecutionsResponse; }; sdk: { input: ListTaskExecutionsCommandInput; output: ListTaskExecutionsCommandOutput; }; }; }