#[non_exhaustive]
pub enum ModifyRuleErrorKind {
IncompatibleProtocolsException(IncompatibleProtocolsException),
InvalidLoadBalancerActionException(InvalidLoadBalancerActionException),
OperationNotPermittedException(OperationNotPermittedException),
RuleNotFoundException(RuleNotFoundException),
TargetGroupAssociationLimitException(TargetGroupAssociationLimitException),
TargetGroupNotFoundException(TargetGroupNotFoundException),
TooManyActionsException(TooManyActionsException),
TooManyRegistrationsForTargetIdException(TooManyRegistrationsForTargetIdException),
TooManyTargetsException(TooManyTargetsException),
TooManyUniqueTargetGroupsPerLoadBalancerException(TooManyUniqueTargetGroupsPerLoadBalancerException),
UnsupportedProtocolException(UnsupportedProtocolException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the ModifyRule
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
IncompatibleProtocolsException(IncompatibleProtocolsException)
The specified configuration is not valid with this protocol.
InvalidLoadBalancerActionException(InvalidLoadBalancerActionException)
The requested action is not valid.
OperationNotPermittedException(OperationNotPermittedException)
This operation is not allowed.
RuleNotFoundException(RuleNotFoundException)
The specified rule does not exist.
TargetGroupAssociationLimitException(TargetGroupAssociationLimitException)
You've reached the limit on the number of load balancers per target group.
TargetGroupNotFoundException(TargetGroupNotFoundException)
The specified target group does not exist.
TooManyActionsException(TooManyActionsException)
You've reached the limit on the number of actions per rule.
TooManyRegistrationsForTargetIdException(TooManyRegistrationsForTargetIdException)
You've reached the limit on the number of times a target can be registered with a load balancer.
TooManyTargetsException(TooManyTargetsException)
You've reached the limit on the number of targets.
TooManyUniqueTargetGroupsPerLoadBalancerException(TooManyUniqueTargetGroupsPerLoadBalancerException)
You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.
UnsupportedProtocolException(UnsupportedProtocolException)
The specified protocol is not supported.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.