Module Values.CreateRuleOutputSource

Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer. Each rule consists of a priority, one or more actions, one or more conditions, and up to two optional transforms. Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more information, see Listener rules in the Application Load Balancers Guide.

Sourcetype createRuleResult = {
  1. rules : Rules.t option;
    (*

    Information about the rule.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. createRuleResult : createRuleResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `IncompatibleProtocolsException of IncompatibleProtocolsException.t
  2. | `InvalidConfigurationRequestException of InvalidConfigurationRequestException.t
  3. | `InvalidLoadBalancerActionException of InvalidLoadBalancerActionException.t
  4. | `ListenerNotFoundException of ListenerNotFoundException.t
  5. | `PriorityInUseException of PriorityInUseException.t
  6. | `TargetGroupAssociationLimitException of TargetGroupAssociationLimitException.t
  7. | `TargetGroupNotFoundException of TargetGroupNotFoundException.t
  8. | `TooManyActionsException of TooManyActionsException.t
  9. | `TooManyRegistrationsForTargetIdException of TooManyRegistrationsForTargetIdException.t
  10. | `TooManyRulesException of TooManyRulesException.t
  11. | `TooManyTagsException of TooManyTagsException.t
  12. | `TooManyTargetGroupsException of TooManyTargetGroupsException.t
  13. | `TooManyTargetsException of TooManyTargetsException.t
  14. | `TooManyUniqueTargetGroupsPerLoadBalancerException of TooManyUniqueTargetGroupsPerLoadBalancerException.t
  15. | `UnsupportedProtocolException of UnsupportedProtocolException.t
  16. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?rules:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `IncompatibleProtocolsException of unit | `InvalidConfigurationRequestException of unit | `InvalidLoadBalancerActionException of unit | `ListenerNotFoundException of unit | `PriorityInUseException of unit | `TargetGroupAssociationLimitException of unit | `TargetGroupNotFoundException of unit | `TooManyActionsException of unit | `TooManyRegistrationsForTargetIdException of unit | `TooManyRulesException of unit | `TooManyTagsException of unit | `TooManyTargetGroupsException of unit | `TooManyTargetsException of unit | `TooManyUniqueTargetGroupsPerLoadBalancerException of unit | `Unknown_operation_error of string * string option | `UnsupportedProtocolException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `IncompatibleProtocolsException of unit | `InvalidConfigurationRequestException of unit | `InvalidLoadBalancerActionException of unit | `ListenerNotFoundException of unit | `PriorityInUseException of unit | `TargetGroupAssociationLimitException of unit | `TargetGroupNotFoundException of unit | `TooManyActionsException of unit | `TooManyRegistrationsForTargetIdException of unit | `TooManyRulesException of unit | `TooManyTagsException of unit | `TooManyTargetGroupsException of unit | `TooManyTargetsException of unit | `TooManyUniqueTargetGroupsPerLoadBalancerException of unit | `Unknown_operation_error of string * string option | `UnsupportedProtocolException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of IsDefault.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of ActionOrder.t | `List of [> `String of StringValue.t ] list | `String of ConditionFieldName.t | `Structure of (string * [> `Boolean of AuthenticateOidcActionUseExistingClientSecret.t | `Enum of string | `List of [> `String of StringValue.t | `Structure of (string * [> `Enum of string | `Integer of TargetGroupWeight.t | `List of [> `String of JwtValidationActionAdditionalClaimValue.t ] list | `String of StringValue.t ]) list ] list | `Long of AuthenticateOidcActionSessionTimeout.t | `Map of ([> `String of AuthenticateOidcActionAuthenticationRequestParamName.t ] * [> `String of AuthenticateOidcActionAuthenticationRequestParamValue.t ]) list | `String of HttpHeaderConditionName.t | `Structure of (string * [> `Boolean of TargetGroupStickinessEnabled.t | `Integer of TargetGroupStickinessDurationSeconds.t ]) list ]) list ]) list ] list | `String of RuleArn.t ]) list ] list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t