import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeImportTasksRequest, DescribeImportTasksResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeImportTasksCommand}. */ export interface DescribeImportTasksCommandInput extends DescribeImportTasksRequest { } /** * @public * * The output of {@link DescribeImportTasksCommand}. */ export interface DescribeImportTasksCommandOutput extends DescribeImportTasksResponse, __MetadataBearer { } declare const DescribeImportTasksCommand_base: { new (input: DescribeImportTasksCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeImportTasksCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns an array of import tasks for your account, including status information, times, * IDs, the Amazon S3 Object URL for the import file, and more.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationDiscoveryServiceClient, DescribeImportTasksCommand } from "@aws-sdk/client-application-discovery-service"; // ES Modules import * // const { ApplicationDiscoveryServiceClient, DescribeImportTasksCommand } = require("@aws-sdk/client-application-discovery-service"); // CommonJS import * // import type { ApplicationDiscoveryServiceClientConfig } from "@aws-sdk/client-application-discovery-service"; * const config = {}; // type is ApplicationDiscoveryServiceClientConfig * const client = new ApplicationDiscoveryServiceClient(config); * const input = { // DescribeImportTasksRequest * filters: [ // DescribeImportTasksFilterList * { // ImportTaskFilter * name: "IMPORT_TASK_ID" || "STATUS" || "NAME" || "FILE_CLASSIFICATION", * values: [ // ImportTaskFilterValueList * "STRING_VALUE", * ], * }, * ], * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new DescribeImportTasksCommand(input); * const response = await client.send(command); * // { // DescribeImportTasksResponse * // nextToken: "STRING_VALUE", * // tasks: [ // ImportTaskList * // { // ImportTask * // importTaskId: "STRING_VALUE", * // clientRequestToken: "STRING_VALUE", * // name: "STRING_VALUE", * // importUrl: "STRING_VALUE", * // status: "IMPORT_IN_PROGRESS" || "IMPORT_COMPLETE" || "IMPORT_COMPLETE_WITH_ERRORS" || "IMPORT_FAILED" || "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED" || "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" || "IMPORT_FAILED_UNSUPPORTED_FILE_TYPE" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED" || "DELETE_FAILED_LIMIT_EXCEEDED" || "INTERNAL_ERROR", * // importRequestTime: new Date("TIMESTAMP"), * // importCompletionTime: new Date("TIMESTAMP"), * // importDeletedTime: new Date("TIMESTAMP"), * // fileClassification: "MODELIZEIT_EXPORT" || "RVTOOLS_EXPORT" || "VMWARE_NSX_EXPORT" || "IMPORT_TEMPLATE", * // serverImportSuccess: Number("int"), * // serverImportFailure: Number("int"), * // applicationImportSuccess: Number("int"), * // applicationImportFailure: Number("int"), * // errorsAndFailedEntriesZip: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeImportTasksCommandInput - {@link DescribeImportTasksCommandInput} * @returns {@link DescribeImportTasksCommandOutput} * @see {@link DescribeImportTasksCommandInput} for command's `input` shape. * @see {@link DescribeImportTasksCommandOutput} for command's `response` shape. * @see {@link ApplicationDiscoveryServiceClientResolvedConfig | config} for ApplicationDiscoveryServiceClient's `config` shape. * * @throws {@link AuthorizationErrorException} (client fault) *

The user does not have permission to perform the action. Check the IAM * policy associated with this user.

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

The home Region is not set. Set the home Region to continue.

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

One or more parameters are not valid. Verify the parameters and try again.

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

The value of one or more parameters are either invalid or out of range. Verify the * parameter values and try again.

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

The server experienced an internal error. Try again.

* * @throws {@link ApplicationDiscoveryServiceServiceException} *

Base exception class for all service exceptions from ApplicationDiscoveryService service.

* * * @public */ export declare class DescribeImportTasksCommand extends DescribeImportTasksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeImportTasksRequest; output: DescribeImportTasksResponse; }; sdk: { input: DescribeImportTasksCommandInput; output: DescribeImportTasksCommandOutput; }; }; }