import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AppRunnerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppRunnerClient"; import type { ListOperationsRequest, ListOperationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @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(): { [x: string]: unknown; }; }; /** *

Return a list of operations that occurred on an App Runner service.

*

The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the * last started operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppRunnerClient, ListOperationsCommand } from "@aws-sdk/client-apprunner"; // ES Modules import * // const { AppRunnerClient, ListOperationsCommand } = require("@aws-sdk/client-apprunner"); // CommonJS import * // import type { AppRunnerClientConfig } from "@aws-sdk/client-apprunner"; * const config = {}; // type is AppRunnerClientConfig * const client = new AppRunnerClient(config); * const input = { // ListOperationsRequest * ServiceArn: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListOperationsCommand(input); * const response = await client.send(command); * // { // ListOperationsResponse * // OperationSummaryList: [ // OperationSummaryList * // { // OperationSummary * // Id: "STRING_VALUE", * // Type: "START_DEPLOYMENT" || "CREATE_SERVICE" || "PAUSE_SERVICE" || "RESUME_SERVICE" || "DELETE_SERVICE" || "UPDATE_SERVICE", * // Status: "PENDING" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_FAILED" || "ROLLBACK_SUCCEEDED", * // TargetArn: "STRING_VALUE", * // StartedAt: new Date("TIMESTAMP"), * // EndedAt: new Date("TIMESTAMP"), * // UpdatedAt: new Date("TIMESTAMP"), * // }, * // ], * // 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 AppRunnerClientResolvedConfig | config} for AppRunnerClient's `config` shape. * * @throws {@link InternalServiceErrorException} (server fault) *

An unexpected service exception occurred.

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

One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.

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

A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services account.

* * @throws {@link AppRunnerServiceException} *

Base exception class for all service exceptions from AppRunner service.

* * * @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; }; }; }