import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListOperationsRequest, ListOperationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListOperationsCommand}. */ export interface ListOperationsCommandInput extends ListOperationsRequest { } /** * @public * * The output of {@link ListOperationsCommand}. */ export interface ListOperationsCommandOutput extends ListOperationsResponse, __MetadataBearer { } declare const ListOperationsCommand_base: { new (input: ListOperationsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListOperationsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists operations that match the criteria that you specify.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ServiceDiscoveryClient, ListOperationsCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import * // const { ServiceDiscoveryClient, ListOperationsCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import * // import type { ServiceDiscoveryClientConfig } from "@aws-sdk/client-servicediscovery"; * const config = {}; // type is ServiceDiscoveryClientConfig * const client = new ServiceDiscoveryClient(config); * const input = { // ListOperationsRequest * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * Filters: [ // OperationFilters * { // OperationFilter * Name: "NAMESPACE_ID" || "SERVICE_ID" || "STATUS" || "TYPE" || "UPDATE_DATE", // required * Values: [ // FilterValues // required * "STRING_VALUE", * ], * Condition: "EQ" || "IN" || "BETWEEN" || "BEGINS_WITH", * }, * ], * }; * const command = new ListOperationsCommand(input); * const response = await client.send(command); * // { // ListOperationsResponse * // Operations: [ // OperationSummaryList * // { // OperationSummary * // Id: "STRING_VALUE", * // Status: "SUBMITTED" || "PENDING" || "SUCCESS" || "FAIL", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListOperationsCommandInput - {@link ListOperationsCommandInput} * @returns {@link ListOperationsCommandOutput} * @see {@link ListOperationsCommandInput} for command's `input` shape. * @see {@link ListOperationsCommandOutput} for command's `response` shape. * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape. * * @throws {@link InvalidInput} (client fault) *

One or more specified values aren't valid. For example, a required value might be missing, a * numeric value might be outside the allowed range, or a string value might exceed length * constraints.

* * @throws {@link ServiceDiscoveryServiceException} *

Base exception class for all service exceptions from ServiceDiscovery service.

* * * @example ListOperations Example * ```javascript * // This example gets the operations that have a STATUS of either PENDING or SUCCESS. * const input = { * Filters: [ * { * Condition: "IN", * Name: "STATUS", * Values: [ * "PENDING", * "SUCCESS" * ] * } * ] * }; * const command = new ListOperationsCommand(input); * const response = await client.send(command); * /* response is * { * Operations: [ * { * Id: "76yy8ovhpdz0plmjzbsnqgnrqvpv2qdt-kexample", * Status: "SUCCESS" * }, * { * Id: "prysnyzpji3u2ciy45nke83x2zanl7yk-dexample", * Status: "SUCCESS" * }, * { * Id: "ko4ekftir7kzlbechsh7xvcdgcpk66gh-7example", * Status: "PENDING" * } * ] * } * *\/ * ``` * * @public */ export declare class ListOperationsCommand extends ListOperationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListOperationsRequest; output: ListOperationsResponse; }; sdk: { input: ListOperationsCommandInput; output: ListOperationsCommandOutput; }; }; }