Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.
Use a bare-bones client and the command you need to make an API call.
import { ElasticLoadBalancingV2Client, DescribeRulesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import // const { ElasticLoadBalancingV2Client, DescribeRulesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import const client = new ElasticLoadBalancingV2Client(config); const command = new DescribeRulesCommand(input); const response = await client.send(command);
DescribeRulesCommandInput for command's input shape.
input
DescribeRulesCommandOutput for command's response shape.
response
config for ElasticLoadBalancingV2Client's config shape.
config
Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.
Use a bare-bones client and the command you need to make an API call.
import { ElasticLoadBalancingV2Client, DescribeRulesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import // const { ElasticLoadBalancingV2Client, DescribeRulesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import const client = new ElasticLoadBalancingV2Client(config); const command = new DescribeRulesCommand(input); const response = await client.send(command);
DescribeRulesCommandInput for command's
input
shape.DescribeRulesCommandOutput for command's
response
shape.config for ElasticLoadBalancingV2Client's
config
shape.