Sets the priorities of the specified rules.
You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.
Use a bare-bones client and the command you need to make an API call.
import { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import // const { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import const client = new ElasticLoadBalancingV2Client(config); const command = new SetRulePrioritiesCommand(input); const response = await client.send(command);
SetRulePrioritiesCommandInput for command's input shape.
input
SetRulePrioritiesCommandOutput for command's response shape.
response
config for ElasticLoadBalancingV2Client's config shape.
config
Sets the priorities of the specified rules.
You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.
Use a bare-bones client and the command you need to make an API call.
import { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import // const { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import const client = new ElasticLoadBalancingV2Client(config); const command = new SetRulePrioritiesCommand(input); const response = await client.send(command);
SetRulePrioritiesCommandInput for command's
input
shape.SetRulePrioritiesCommandOutput for command's
response
shape.config for ElasticLoadBalancingV2Client's
config
shape.