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

Lists the rules for the specified target. You can see which of the rules in Amazon * EventBridge can invoke a specific target in your account.

*

The maximum number of results per page for requests is 100.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EventBridgeClient, ListRuleNamesByTargetCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import * // const { EventBridgeClient, ListRuleNamesByTargetCommand } = 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 = { // ListRuleNamesByTargetRequest * TargetArn: "STRING_VALUE", // required * EventBusName: "STRING_VALUE", * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; * const command = new ListRuleNamesByTargetCommand(input); * const response = await client.send(command); * // { // ListRuleNamesByTargetResponse * // RuleNames: [ // RuleNameList * // "STRING_VALUE", * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListRuleNamesByTargetCommandInput - {@link ListRuleNamesByTargetCommandInput} * @returns {@link ListRuleNamesByTargetCommandOutput} * @see {@link ListRuleNamesByTargetCommandInput} for command's `input` shape. * @see {@link ListRuleNamesByTargetCommandOutput} 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 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 ListRuleNamesByTargetCommand extends ListRuleNamesByTargetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRuleNamesByTargetRequest; output: ListRuleNamesByTargetResponse; }; sdk: { input: ListRuleNamesByTargetCommandInput; output: ListRuleNamesByTargetCommandOutput; }; }; }