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 { ListConnectionsRequest, ListConnectionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListConnectionsCommand}. */ export interface ListConnectionsCommandInput extends ListConnectionsRequest { } /** * @public * * The output of {@link ListConnectionsCommand}. */ export interface ListConnectionsCommandOutput extends ListConnectionsResponse, __MetadataBearer { } declare const ListConnectionsCommand_base: { new (input: ListConnectionsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListConnectionsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns a list of App Runner connections that are associated with your Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppRunnerClient, ListConnectionsCommand } from "@aws-sdk/client-apprunner"; // ES Modules import * // const { AppRunnerClient, ListConnectionsCommand } = 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 = { // ListConnectionsRequest * ConnectionName: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListConnectionsCommand(input); * const response = await client.send(command); * // { // ListConnectionsResponse * // ConnectionSummaryList: [ // ConnectionSummaryList // required * // { // ConnectionSummary * // ConnectionName: "STRING_VALUE", * // ConnectionArn: "STRING_VALUE", * // ProviderType: "GITHUB" || "BITBUCKET", * // Status: "PENDING_HANDSHAKE" || "AVAILABLE" || "ERROR" || "DELETED", * // CreatedAt: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListConnectionsCommandInput - {@link ListConnectionsCommandInput} * @returns {@link ListConnectionsCommandOutput} * @see {@link ListConnectionsCommandInput} for command's `input` shape. * @see {@link ListConnectionsCommandOutput} 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 AppRunnerServiceException} *

Base exception class for all service exceptions from AppRunner service.

* * * @public */ export declare class ListConnectionsCommand extends ListConnectionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListConnectionsRequest; output: ListConnectionsResponse; }; sdk: { input: ListConnectionsCommandInput; output: ListConnectionsCommandOutput; }; }; }