Returns information about a specified notification rule.
Use a bare-bones client and the command you need to make an API call.
import { CodestarNotificationsClient, DescribeNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import // const { CodestarNotificationsClient, DescribeNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import const client = new CodestarNotificationsClient(config); const command = new DescribeNotificationRuleCommand(input); const response = await client.send(command);
DescribeNotificationRuleCommandInput for command's input shape.
input
DescribeNotificationRuleCommandOutput for command's response shape.
response
config for CodestarNotificationsClient's config shape.
config
Returns information about a specified notification rule.
Use a bare-bones client and the command you need to make an API call.
import { CodestarNotificationsClient, DescribeNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import // const { CodestarNotificationsClient, DescribeNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import const client = new CodestarNotificationsClient(config); const command = new DescribeNotificationRuleCommand(input); const response = await client.send(command);
DescribeNotificationRuleCommandInput for command's
input
shape.DescribeNotificationRuleCommandOutput for command's
response
shape.config for CodestarNotificationsClient's
config
shape.