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 { ListPartnerEventSourceAccountsRequest, ListPartnerEventSourceAccountsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListPartnerEventSourceAccountsCommand}. */ export interface ListPartnerEventSourceAccountsCommandInput extends ListPartnerEventSourceAccountsRequest { } /** * @public * * The output of {@link ListPartnerEventSourceAccountsCommand}. */ export interface ListPartnerEventSourceAccountsCommandOutput extends ListPartnerEventSourceAccountsResponse, __MetadataBearer { } declare const ListPartnerEventSourceAccountsCommand_base: { new (input: ListPartnerEventSourceAccountsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListPartnerEventSourceAccountsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

An SaaS partner can use this operation to display the Amazon Web Services account ID that a * particular partner event source name is associated with. 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, ListPartnerEventSourceAccountsCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import * // const { EventBridgeClient, ListPartnerEventSourceAccountsCommand } = 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 = { // ListPartnerEventSourceAccountsRequest * EventSourceName: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; * const command = new ListPartnerEventSourceAccountsCommand(input); * const response = await client.send(command); * // { // ListPartnerEventSourceAccountsResponse * // PartnerEventSourceAccounts: [ // PartnerEventSourceAccountList * // { // PartnerEventSourceAccount * // Account: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // ExpirationTime: new Date("TIMESTAMP"), * // State: "PENDING" || "ACTIVE" || "DELETED", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListPartnerEventSourceAccountsCommandInput - {@link ListPartnerEventSourceAccountsCommandInput} * @returns {@link ListPartnerEventSourceAccountsCommandOutput} * @see {@link ListPartnerEventSourceAccountsCommandInput} for command's `input` shape. * @see {@link ListPartnerEventSourceAccountsCommandOutput} 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 ResourceNotFoundException} (client fault) *

An entity that you specified does not exist.

* * @throws {@link EventBridgeServiceException} *

Base exception class for all service exceptions from EventBridge service.

* * * @public */ export declare class ListPartnerEventSourceAccountsCommand extends ListPartnerEventSourceAccountsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListPartnerEventSourceAccountsRequest; output: ListPartnerEventSourceAccountsResponse; }; sdk: { input: ListPartnerEventSourceAccountsCommandInput; output: ListPartnerEventSourceAccountsCommandOutput; }; }; }