import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient"; import type { ListPartnerEventSourcesRequest, ListPartnerEventSourcesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListPartnerEventSourcesCommand}. */ export interface ListPartnerEventSourcesCommandInput extends ListPartnerEventSourcesRequest { } /** * @public * * The output of {@link ListPartnerEventSourcesCommand}. */ export interface ListPartnerEventSourcesCommandOutput extends ListPartnerEventSourcesResponse, __MetadataBearer { } declare const ListPartnerEventSourcesCommand_base: { new (input: ListPartnerEventSourcesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListPartnerEventSourcesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

An SaaS partner can use this operation to list all the partner event source names that * they have created. This operation is not used by Amazon Web Services customers.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EventBridgeClient, ListPartnerEventSourcesCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import * // const { EventBridgeClient, ListPartnerEventSourcesCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import * // import type { EventBridgeClientConfig } from "@aws-sdk/client-eventbridge"; * const config = {}; // type is EventBridgeClientConfig * const client = new EventBridgeClient(config); * const input = { // ListPartnerEventSourcesRequest * NamePrefix: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; * const command = new ListPartnerEventSourcesCommand(input); * const response = await client.send(command); * // { // ListPartnerEventSourcesResponse * // PartnerEventSources: [ // PartnerEventSourceList * // { // PartnerEventSource * // Arn: "STRING_VALUE", * // Name: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListPartnerEventSourcesCommandInput - {@link ListPartnerEventSourcesCommandInput} * @returns {@link ListPartnerEventSourcesCommandOutput} * @see {@link ListPartnerEventSourcesCommandInput} for command's `input` shape. * @see {@link ListPartnerEventSourcesCommandOutput} for command's `response` shape. * @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape. * * @throws {@link InternalException} (server fault) *

This exception occurs due to unexpected causes.

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

The operation you are attempting is not available in this region.

* * @throws {@link EventBridgeServiceException} *

Base exception class for all service exceptions from EventBridge service.

* * * @public */ export declare class ListPartnerEventSourcesCommand extends ListPartnerEventSourcesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListPartnerEventSourcesRequest; output: ListPartnerEventSourcesResponse; }; sdk: { input: ListPartnerEventSourcesCommandInput; output: ListPartnerEventSourcesCommandOutput; }; }; }