Module Values.CreateRuleResponseSource

Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.

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

    The Amazon Resource Name (ARN) of the rule.

    *)
  2. id : RuleId.t option;
    (*

    The ID of the rule.

    *)
  3. name : RuleName.t option;
    (*

    The name of the rule.

    *)
  4. match_ : RuleMatch.t option;
    (*

    The rule match. The RuleMatch must be an HttpMatch. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.

    *)
  5. priority : RulePriority.t option;
    (*

    The priority assigned to the rule. The lower the priority number the higher the priority.

    *)
  6. action : RuleAction.t option;
    (*

    The rule action.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?arn:??? -> ?id:??? -> ?name:??? -> ?match_:??? -> ?priority:??? -> ?action:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of RulePriority.t | `String of RuleArn.t | `Structure of (string * [> `Structure of (string * [> `Integer of HttpStatusCode.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of TargetGroupWeight.t | `String of HeaderMatchName.t | `Structure of (string * [> `String of HeaderMatchExact.t ]) list ]) list ] list | `String of HttpMethod.t | `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `String of PathMatchExact.t ]) list ]) 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