import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeNotificationRuleCommand}. */ export interface DescribeNotificationRuleCommandInput extends DescribeNotificationRuleRequest { } /** * @public * * The output of {@link DescribeNotificationRuleCommand}. */ export interface DescribeNotificationRuleCommandOutput extends DescribeNotificationRuleResult, __MetadataBearer { } declare const DescribeNotificationRuleCommand_base: { new (input: DescribeNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeNotificationRuleCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns information about a specified notification rule.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CodestarNotificationsClient, DescribeNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import * // const { CodestarNotificationsClient, DescribeNotificationRuleCommand } = 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 = { // DescribeNotificationRuleRequest * Arn: "STRING_VALUE", // required * }; * const command = new DescribeNotificationRuleCommand(input); * const response = await client.send(command); * // { // DescribeNotificationRuleResult * // Arn: "STRING_VALUE", // required * // Name: "STRING_VALUE", * // EventTypes: [ // EventTypeBatch * // { // EventTypeSummary * // EventTypeId: "STRING_VALUE", * // ServiceName: "STRING_VALUE", * // EventTypeName: "STRING_VALUE", * // ResourceType: "STRING_VALUE", * // }, * // ], * // Resource: "STRING_VALUE", * // Targets: [ // TargetsBatch * // { // TargetSummary * // TargetAddress: "STRING_VALUE", * // TargetType: "STRING_VALUE", * // TargetStatus: "PENDING" || "ACTIVE" || "UNREACHABLE" || "INACTIVE" || "DEACTIVATED", * // }, * // ], * // DetailType: "BASIC" || "FULL", * // CreatedBy: "STRING_VALUE", * // Status: "ENABLED" || "DISABLED", * // CreatedTimestamp: new Date("TIMESTAMP"), * // LastModifiedTimestamp: new Date("TIMESTAMP"), * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param DescribeNotificationRuleCommandInput - {@link DescribeNotificationRuleCommandInput} * @returns {@link DescribeNotificationRuleCommandOutput} * @see {@link DescribeNotificationRuleCommandInput} for command's `input` shape. * @see {@link DescribeNotificationRuleCommandOutput} for command's `response` shape. * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

CodeStar Notifications can't find a resource that matches the provided ARN.

* * @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 DescribeNotificationRuleCommand extends DescribeNotificationRuleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeNotificationRuleRequest; output: DescribeNotificationRuleResult; }; sdk: { input: DescribeNotificationRuleCommandInput; output: DescribeNotificationRuleCommandOutput; }; }; }