import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListNotificationRulesCommand}. */ export interface ListNotificationRulesCommandInput extends ListNotificationRulesRequest { } /** * @public * * The output of {@link ListNotificationRulesCommand}. */ export interface ListNotificationRulesCommandOutput extends ListNotificationRulesResult, __MetadataBearer { } declare const ListNotificationRulesCommand_base: { new (input: ListNotificationRulesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListNotificationRulesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of the notification rules for an Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodestarNotificationsClient, ListNotificationRulesCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import * // const { CodestarNotificationsClient, ListNotificationRulesCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import * // import type { CodestarNotificationsClientConfig } from "@aws-sdk/client-codestar-notifications"; * const config = {}; // type is CodestarNotificationsClientConfig * const client = new CodestarNotificationsClient(config); * const input = { // ListNotificationRulesRequest * Filters: [ // ListNotificationRulesFilters * { // ListNotificationRulesFilter * Name: "EVENT_TYPE_ID" || "CREATED_BY" || "RESOURCE" || "TARGET_ADDRESS", // required * Value: "STRING_VALUE", // required * }, * ], * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListNotificationRulesCommand(input); * const response = await client.send(command); * // { // ListNotificationRulesResult * // NextToken: "STRING_VALUE", * // NotificationRules: [ // NotificationRuleBatch * // { // NotificationRuleSummary * // Id: "STRING_VALUE", * // Arn: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListNotificationRulesCommandInput - {@link ListNotificationRulesCommandInput} * @returns {@link ListNotificationRulesCommandOutput} * @see {@link ListNotificationRulesCommandInput} for command's `input` shape. * @see {@link ListNotificationRulesCommandOutput} for command's `response` shape. * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape. * * @throws {@link InvalidNextTokenException} (client fault) *

The value for the enumeration token used in the request to return the next batch of the results is not valid.

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

One or more parameter values are not valid.

* * @throws {@link CodestarNotificationsServiceException} *

Base exception class for all service exceptions from CodestarNotifications service.

* * * @public */ export declare class ListNotificationRulesCommand extends ListNotificationRulesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListNotificationRulesRequest; output: ListNotificationRulesResult; }; sdk: { input: ListNotificationRulesCommandInput; output: ListNotificationRulesCommandOutput; }; }; }