Creates a rule for the specified listener.
Each rule can have one action and one condition. Rules are evaluated in priority order, from the lowest value to the highest value. When the condition for a rule is met, the specified action is taken. If no conditions are met, the default action for the default rule is taken. For more information, see Listener Rules in the Application Load Balancers Guide.
To view your current rules, use DescribeRules. To update a rule, use ModifyRule. To set the priorities of your rules, use SetRulePriorities. To delete a rule, use DeleteRule.
/// The requested configuration is not valid.
///
/// The specified listener does not exist.
///
/// The specified priority is in use.
///
/// You've reached the limit on the number of load balancers per target group.
///
/// The specified target group does not exist.
///
/// You've reached the limit on the number of times a target can be registered with a
/// load balancer.
///
/// You've reached the limit on the number of rules per load balancer.
///
/// You've reached the limit on the number of target groups for your AWS account.
///