import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListCapacityTasksInput, ListCapacityTasksOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListCapacityTasksCommand}. */ export interface ListCapacityTasksCommandInput extends ListCapacityTasksInput { } /** * @public * * The output of {@link ListCapacityTasksCommand}. */ export interface ListCapacityTasksCommandOutput extends ListCapacityTasksOutput, __MetadataBearer { } declare const ListCapacityTasksCommand_base: { new (input: ListCapacityTasksCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListCapacityTasksCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the capacity tasks for your Amazon Web Services account.

*

Use filters to return specific results. If you specify multiple filters, the results include only the resources that match * all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OutpostsClient, ListCapacityTasksCommand } from "@aws-sdk/client-outposts"; // ES Modules import * // const { OutpostsClient, ListCapacityTasksCommand } = require("@aws-sdk/client-outposts"); // CommonJS import * // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts"; * const config = {}; // type is OutpostsClientConfig * const client = new OutpostsClient(config); * const input = { // ListCapacityTasksInput * OutpostIdentifierFilter: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * CapacityTaskStatusFilter: [ // CapacityTaskStatusList * "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "WAITING_FOR_EVACUATION" || "CANCELLATION_IN_PROGRESS" || "CANCELLED", * ], * }; * const command = new ListCapacityTasksCommand(input); * const response = await client.send(command); * // { // ListCapacityTasksOutput * // CapacityTasks: [ // CapacityTaskList * // { // CapacityTaskSummary * // CapacityTaskId: "STRING_VALUE", * // OutpostId: "STRING_VALUE", * // OrderId: "STRING_VALUE", * // AssetId: "STRING_VALUE", * // CapacityTaskStatus: "REQUESTED" || "IN_PROGRESS" || "FAILED" || "COMPLETED" || "WAITING_FOR_EVACUATION" || "CANCELLATION_IN_PROGRESS" || "CANCELLED", * // CreationDate: new Date("TIMESTAMP"), * // CompletionDate: new Date("TIMESTAMP"), * // LastModifiedDate: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListCapacityTasksCommandInput - {@link ListCapacityTasksCommandInput} * @returns {@link ListCapacityTasksCommandOutput} * @see {@link ListCapacityTasksCommandInput} for command's `input` shape. * @see {@link ListCapacityTasksCommandOutput} for command's `response` shape. * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have permission to perform this operation.

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

An internal error has occurred.

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

The specified request is not valid.

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

A parameter is not valid.

* * @throws {@link OutpostsServiceException} *

Base exception class for all service exceptions from Outposts service.

* * * @public */ export declare class ListCapacityTasksCommand extends ListCapacityTasksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListCapacityTasksInput; output: ListCapacityTasksOutput; }; sdk: { input: ListCapacityTasksCommandInput; output: ListCapacityTasksCommandOutput; }; }; }