Module Values.ModifyRuleInputSource

Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged. To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

Sourcetype nonrec t = {
  1. ruleArn : RuleArn.t;
    (*

    The Amazon Resource Name (ARN) of the rule.

    *)
  2. conditions : RuleConditionList.t option;
    (*

    The conditions.

    *)
  3. actions : Actions.t option;
    (*

    The actions.

    *)
  4. transforms : RuleTransformList.t option;
    (*

    The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform. If you specify Transforms, you can't specify ResetTransforms.

    *)
  5. resetTransforms : ResetTransforms.t option;
    (*

    Indicates whether to remove all transforms from the rule. If you specify ResetTransforms, you can't specify Transforms.

    *)
}
Sourceval context_ : string
Sourceval make : ?conditions:??? -> ?actions:??? -> ?transforms:??? -> ?resetTransforms:??? -> ruleArn:RuleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of ResetTransforms.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 ]
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