Module Smaws_Client_ElasticLoadBalancingv2.Types

type nonrec zone_name = string
type nonrec capacity_reservation_state_enum =
  1. | FAILED
  2. | REBALANCING
  3. | PENDING
  4. | PROVISIONED
type nonrec state_reason = string
type nonrec capacity_reservation_status = {
  1. reason : state_reason option;
    (*

    The reason code for the status.

    *)
  2. code : capacity_reservation_state_enum option;
    (*

    The status code.

    *)
}

The status of a capacity reservation.

type nonrec capacity_units_double = float
type nonrec zonal_capacity_reservation_state = {
  1. effective_capacity_units : capacity_units_double option;
    (*

    The number of effective capacity units.

    *)
  2. availability_zone : zone_name option;
    (*

    Information about the Availability Zone.

    *)
  3. state : capacity_reservation_status option;
    (*

    The state of the capacity reservation.

    *)
}

The capacity reservation status for each Availability Zone.

type nonrec zonal_capacity_reservation_states = zonal_capacity_reservation_state list
type nonrec vpc_id = string
type nonrec string_value = string
type nonrec rewrite_config = {
  1. replace : string_value;
    (*

    The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).

    *)
  2. regex : string_value;
    (*

    The regular expression to match in the input string. The maximum length of the string is 1,024 characters.

    *)
}

Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.

type nonrec rewrite_config_list = rewrite_config list
type nonrec url_rewrite_config = {
  1. rewrites : rewrite_config_list option;
    (*

    The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.

    *)
}

Information about a URL rewrite transform. This transform matches a pattern in the request URL and replaces it with the specified string.

type nonrec error_description = string
type nonrec unsupported_protocol_exception = {
  1. message : error_description option;
}

The specified protocol is not supported.

type nonrec trust_store_name = string
type nonrec trust_store_arn = string
type nonrec trust_store_status =
  1. | CREATING
  2. | ACTIVE
type nonrec number_of_ca_certificates = int
type nonrec total_revoked_entries = Smaws_Lib.CoreTypes.Int64.t
type nonrec trust_store = {
  1. total_revoked_entries : total_revoked_entries option;
    (*

    The number of revoked certificates in the trust store.

    *)
  2. number_of_ca_certificates : number_of_ca_certificates option;
    (*

    The number of ca certificates in the trust store.

    *)
  3. status : trust_store_status option;
    (*

    The current status of the trust store.

    *)
  4. trust_store_arn : trust_store_arn option;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
  5. name : trust_store_name option;
    (*

    The name of the trust store.

    *)
}

Information about a trust store.

type nonrec trust_stores = trust_store list
type nonrec revocation_id = Smaws_Lib.CoreTypes.Int64.t
type nonrec revocation_type =
  1. | CRL
type nonrec number_of_revoked_entries = Smaws_Lib.CoreTypes.Int64.t
type nonrec trust_store_revocation = {
  1. number_of_revoked_entries : number_of_revoked_entries option;
    (*

    The number of revoked certificates.

    *)
  2. revocation_type : revocation_type option;
    (*

    The type of revocation file.

    *)
  3. revocation_id : revocation_id option;
    (*

    The revocation ID of the revocation file.

    *)
  4. trust_store_arn : trust_store_arn option;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}

Information about a revocation file in use by a trust store.

type nonrec trust_store_revocations = trust_store_revocation list
type nonrec trust_store_not_ready_exception = {
  1. message : error_description option;
}

The specified trust store is not active.

type nonrec trust_store_not_found_exception = {
  1. message : error_description option;
}

The specified trust store does not exist.

type nonrec trust_store_names = trust_store_name list
type nonrec trust_store_in_use_exception = {
  1. message : error_description option;
}

The specified trust store is currently in use.

type nonrec trust_store_association_resource_arn = string
type nonrec trust_store_association = {
  1. resource_arn : trust_store_association_resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}

Information about the resources a trust store is associated with.

type nonrec trust_store_associations = trust_store_association list
type nonrec trust_store_association_status_enum =
  1. | REMOVED
  2. | ACTIVE
type nonrec trust_store_association_not_found_exception = {
  1. message : error_description option;
}

The specified association does not exist.

type nonrec trust_store_arns = trust_store_arn list
type nonrec transform_type_enum =
  1. | URL_REWRITE
  2. | HOST_HEADER_REWRITE
type nonrec too_many_unique_target_groups_per_load_balancer_exception = {
  1. message : error_description option;
}

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.

type nonrec too_many_trust_stores_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of trust stores for your Amazon Web Services account.

type nonrec too_many_trust_store_revocation_entries_exception = {
  1. message : error_description option;
}

The specified trust store has too many revocation entries.

type nonrec too_many_targets_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of targets.

type nonrec too_many_target_groups_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of target groups for your Amazon Web Services account.

type nonrec too_many_tags_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of tags for this resource.

type nonrec too_many_rules_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of rules per load balancer.

type nonrec too_many_registrations_for_target_id_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of times a target can be registered with a load balancer.

type nonrec too_many_load_balancers_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of load balancers for your Amazon Web Services account.

type nonrec too_many_listeners_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of listeners per load balancer.

type nonrec too_many_certificates_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of certificates per load balancer.

type nonrec too_many_actions_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of actions per rule.

type nonrec target_type_enum =
  1. | ALB
  2. | LAMBDA
  3. | IP
  4. | INSTANCE
type nonrec target_id = string
type nonrec target_health_state_enum =
  1. | UNAVAILABLE
  2. | DRAINING
  3. | UNUSED
  4. | UNHEALTHY_DRAINING
  5. | UNHEALTHY
  6. | HEALTHY
  7. | INITIAL
type nonrec target_health_reason_enum =
  1. | INTERNAL_ERROR
  2. | HEALTH_CHECK_DISABLED
  3. | IP_UNUSABLE
  4. | INVALID_STATE
  5. | DEREGISTRATION_IN_PROGRESS
  6. | NOT_IN_USE
  7. | NOT_REGISTERED
  8. | FAILED_HEALTH_CHECKS
  9. | TIMEOUT
  10. | RESPONSE_CODE_MISMATCH
  11. | INITIAL_HEALTH_CHECKING
  12. | REGISTRATION_IN_PROGRESS
type nonrec port = int
type nonrec quic_server_id = string
type nonrec target_description = {
  1. quic_server_id : quic_server_id option;
    (*

    The server ID for the targets. This value is required if the protocol is QUIC or TCP_QUIC and can't be used with other protocols.

    The ID consists of the 0x prefix followed by 16 hexadecimal characters. Any letters must be lowercase. The value must be unique at the listener level. You can't modify the server ID for a registered target. You must deregister the target and then provide a new server ID when you register the target again.

    *)
  2. availability_zone : zone_name option;
    (*

    An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer.

    For Application Load Balancer target groups, the specified Availability Zone value is only applicable when cross-zone load balancing is off. Otherwise the parameter is ignored and treated as all.

    This parameter is not supported if the target type of the target group is instance or alb.

    If the target type is ip and the IP address is in a subnet of the VPC for the target group, the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside the VPC, this parameter is required.

    For Application Load Balancer target groups with cross-zone load balancing off, if the target type is ip and the IP address is outside of the VPC for the target group, this should be an Availability Zone inside the VPC for the target group.

    If the target type is lambda, this parameter is optional and the only supported value is all.

    *)
  3. port : port option;
    (*

    The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. This parameter is not used if the target is a Lambda function.

    *)
  4. id : target_id;
    (*

    The ID of the target. If the target type of the target group is instance, specify an instance ID. If the target type is ip, specify an IP address. If the target type is lambda, specify the ARN of the Lambda function. If the target type is alb, specify the ARN of the Application Load Balancer target.

    *)
}

Information about a target.

type nonrec health_check_port = string
type nonrec description = string
type nonrec target_health = {
  1. description : description option;
    (*

    A description of the target health that provides additional details. If the state is healthy, a description is not provided.

    *)
  2. reason : target_health_reason_enum option;
    (*

    The reason code.

    If the target state is healthy, a reason code is not provided.

    If the target state is initial, the reason code can be one of the following values:

    • Elb.RegistrationInProgress - The target is in the process of being registered with the load balancer.
    • Elb.InitialHealthChecking - The load balancer is still sending the target the minimum number of health checks required to determine its health status.

    If the target state is unhealthy, the reason code can be one of the following values:

    • Target.ResponseCodeMismatch - The health checks did not return an expected HTTP code.
    • Target.Timeout - The health check requests timed out.
    • Target.FailedHealthChecks - The load balancer received an error while establishing a connection to the target or the target response was malformed.
    • Elb.InternalError - The health checks failed due to an internal error.

    If the target state is unused, the reason code can be one of the following values:

    • Target.NotRegistered - The target is not registered with the target group.
    • Target.NotInUse - The target group is not used by any load balancer or the target is in an Availability Zone that is not enabled for its load balancer.
    • Target.InvalidState - The target is in the stopped or terminated state.
    • Target.IpUnusable - The target IP address is reserved for use by a load balancer.

    If the target state is draining, the reason code can be the following value:

    • Target.DeregistrationInProgress - The target is in the process of being deregistered and the deregistration delay period has not expired.

    If the target state is unavailable, the reason code can be the following value:

    • Target.HealthCheckDisabled - Health checks are disabled for the target group.
    • Elb.InternalError - Target health is unavailable due to an internal error.
    *)
  3. state : target_health_state_enum option;
    (*

    The state of the target.

    *)
}

Information about the current health of a target.

type nonrec anomaly_result_enum =
  1. | NORMAL
  2. | ANOMALOUS
type nonrec mitigation_in_effect_enum =
  1. | NO
  2. | YES
type nonrec anomaly_detection = {
  1. mitigation_in_effect : mitigation_in_effect_enum option;
    (*

    Indicates whether anomaly mitigation is in progress.

    *)
  2. result_ : anomaly_result_enum option;
    (*

    The latest anomaly detection result.

    *)
}

Information about anomaly detection and mitigation.

type nonrec target_administrative_override_state_enum =
  1. | ZONAL_SHIFT_DELEGATED_TO_DNS
  2. | ZONAL_SHIFT_ACTIVE
  3. | NO_OVERRIDE
  4. | UNKNOWN
type nonrec target_administrative_override_reason_enum =
  1. | ZONAL_SHIFT_DELEGATED_TO_DNS
  2. | ZONAL_SHIFT_ENGAGED
  3. | NO_OVERRIDE_ENGAGED
  4. | INTERNAL_ERROR
type nonrec administrative_override = {
  1. description : description option;
    (*

    A description of the override state that provides additional details.

    *)
  2. reason : target_administrative_override_reason_enum option;
    (*

    The reason code for the state.

    *)
  3. state : target_administrative_override_state_enum option;
    (*

    The state of the override.

    *)
}

Information about the override status applied to a target.

type nonrec target_health_description = {
  1. administrative_override : administrative_override option;
    (*

    The administrative override information for the target.

    *)
  2. anomaly_detection : anomaly_detection option;
    (*

    The anomaly detection result for the target.

    If no anomalies were detected, the result is normal.

    If anomalies were detected, the result is anomalous.

    *)
  3. target_health : target_health option;
    (*

    The health information for the target.

    *)
  4. health_check_port : health_check_port option;
    (*

    The port to use to connect with the target.

    *)
  5. target : target_description option;
    (*

    The description of the target.

    *)
}

Information about the health of a target.

type nonrec target_health_descriptions = target_health_description list
type nonrec target_group_arn = string
type nonrec target_group_name = string
type nonrec protocol_enum =
  1. | TCP_QUIC
  2. | QUIC
  3. | GENEVE
  4. | TCP_UDP
  5. | UDP
  6. | TLS
  7. | TCP
  8. | HTTPS
  9. | HTTP
type nonrec health_check_enabled = bool
type nonrec health_check_interval_seconds = int
type nonrec health_check_timeout_seconds = int
type nonrec health_check_threshold_count = int
type nonrec path = string
type nonrec http_code = string
type nonrec grpc_code = string
type nonrec matcher = {
  1. grpc_code : grpc_code option;
    (*

    You can specify values between 0 and 99. You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5"). The default value is 12.

    *)
  2. http_code : http_code option;
    (*

    For Application Load Balancers, you can specify values between 200 and 499, with the default value being 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

    For Network Load Balancers, you can specify values between 200 and 599, with the default value being 200-399. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

    For Gateway Load Balancers, this must be "200–399".

    Note that when using shorthand syntax, some values such as commas need to be escaped.

    *)
}

The codes to use when checking for a successful response from a target. If the protocol version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

type nonrec load_balancer_arn = string
type nonrec load_balancer_arns = load_balancer_arn list
type nonrec protocol_version = string
type nonrec target_group_ip_address_type_enum =
  1. | IPV6
  2. | IPV4
type nonrec target_control_port = int
type nonrec target_group = {
  1. target_control_port : target_control_port option;
    (*

    The port on which the target control agent and application load balancer exchange management traffic for the target optimizer feature.

    *)
  2. ip_address_type : target_group_ip_address_type_enum option;
    (*

    The IP address type. The default value is ipv4.

    *)
  3. protocol_version : protocol_version option;
    (*

    [HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, HTTP1, and HTTP2.

    *)
  4. target_type : target_type_enum option;
    (*

    The type of target that you must specify when registering targets with this target group. The possible values are instance (register targets by instance ID), ip (register targets by IP address), lambda (register a single Lambda function as a target), or alb (register a single Application Load Balancer as a target).

    *)
  5. load_balancer_arns : load_balancer_arns option;
    (*

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target group. You can use each target group with only one load balancer.

    *)
  6. matcher : matcher option;
    (*

    The HTTP or gRPC codes to use when checking for a successful response from a target.

    *)
  7. health_check_path : path option;
    (*

    The destination for health checks on the targets.

    *)
  8. unhealthy_threshold_count : health_check_threshold_count option;
    (*

    The number of consecutive health check failures required before considering the target unhealthy.

    *)
  9. healthy_threshold_count : health_check_threshold_count option;
    (*

    The number of consecutive health checks successes required before considering an unhealthy target healthy.

    *)
  10. health_check_timeout_seconds : health_check_timeout_seconds option;
    (*

    The amount of time, in seconds, during which no response means a failed health check.

    *)
  11. health_check_interval_seconds : health_check_interval_seconds option;
    (*

    The approximate amount of time, in seconds, between health checks of an individual target.

    *)
  12. health_check_enabled : health_check_enabled option;
    (*

    Indicates whether health checks are enabled.

    *)
  13. health_check_port : health_check_port option;
    (*

    The port to use to connect with the target.

    *)
  14. health_check_protocol : protocol_enum option;
    (*

    The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

    *)
  15. vpc_id : vpc_id option;
    (*

    The ID of the VPC for the targets.

    *)
  16. port : port option;
    (*

    The port on which the targets are listening. This parameter is not used if the target is a Lambda function.

    *)
  17. protocol : protocol_enum option;
    (*

    The protocol to use for routing traffic to the targets.

    *)
  18. target_group_name : target_group_name option;
    (*

    The name of the target group.

    *)
  19. target_group_arn : target_group_arn option;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}

Information about a target group.

type nonrec target_groups = target_group list
type nonrec target_group_weight = int
type nonrec target_group_tuple = {
  1. weight : target_group_weight option;
    (*

    The weight. The range is 0 to 999.

    *)
  2. target_group_arn : target_group_arn option;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}

Information about how traffic will be distributed between multiple target groups in a forward rule.

type nonrec target_group_stickiness_enabled = bool
type nonrec target_group_stickiness_duration_seconds = int
type nonrec target_group_stickiness_config = {
  1. duration_seconds : target_group_stickiness_duration_seconds option;
    (*

    [Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.

    *)
  2. enabled : target_group_stickiness_enabled option;
    (*

    Indicates whether target group stickiness is enabled.

    *)
}

Information about the target group stickiness for a rule.

type nonrec target_group_not_found_exception = {
  1. message : error_description option;
}

The specified target group does not exist.

type nonrec target_group_names = target_group_name list
type nonrec target_group_list = target_group_tuple list
type nonrec target_group_attribute_key = string
type nonrec target_group_attribute_value = string
type nonrec target_group_attribute = {
  1. value : target_group_attribute_value option;
    (*

    The value of the attribute.

    *)
  2. key : target_group_attribute_key option;
    (*

    The name of the attribute.

    The following attributes are supported by all load balancers:

    • deregistration_delay.timeout_seconds - The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.
    • stickiness.enabled - Indicates whether target stickiness is enabled. The value is true or false. The default is false.
    • stickiness.type - Indicates the type of stickiness. The possible values are:

      • lb_cookie and app_cookie for Application Load Balancers.
      • source_ip for Network Load Balancers.
      • source_ip_dest_ip and source_ip_dest_ip_proto for Gateway Load Balancers.

    The following attributes are supported by Application Load Balancers and Network Load Balancers:

    • load_balancing.cross_zone.enabled - Indicates whether cross zone load balancing is enabled. The value is true, false or use_load_balancer_configuration. The default is use_load_balancer_configuration.
    • target_group_health.dns_failover.minimum_healthy_targets.count - The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off or an integer from 1 to the maximum number of targets. The default is 1.
    • target_group_health.dns_failover.minimum_healthy_targets.percentage - The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off or an integer from 1 to 100. The default is off.
    • target_group_health.unhealthy_state_routing.minimum_healthy_targets.count - The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are 1 to the maximum number of targets. The default is 1.
    • target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage - The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are off or an integer from 1 to 100. The default is off.

    The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:

    • load_balancing.algorithm.type - The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin, least_outstanding_requests, or weighted_random. The default is round_robin.
    • load_balancing.algorithm.anomaly_mitigation - Only available when load_balancing.algorithm.type is weighted_random. Indicates whether anomaly mitigation is enabled. The value is on or off. The default is off.
    • slow_start.duration_seconds - The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
    • stickiness.app_cookie.cookie_name - Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed: AWSALB, AWSALBAPP, and AWSALBTG; they're reserved for use by the load balancer.
    • stickiness.app_cookie.duration_seconds - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
    • stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).

    The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:

    • lambda.multi_value_headers.enabled - Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is true or false. The default is false. If the value is false and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.

    The following attributes are supported only by Network Load Balancers:

    • deregistration_delay.connection_termination.enabled - Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value is true or false. For new UDP/TCP_UDP target groups the default is true. Otherwise, the default is false.
    • preserve_client_ip.enabled - Indicates whether client IP preservation is enabled. The value is true or false. The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation can't be disabled for UDP and TCP_UDP target groups.
    • proxy_protocol_v2.enabled - Indicates whether Proxy Protocol version 2 is enabled. The value is true or false. The default is false.
    • target_health_state.unhealthy.connection_termination.enabled - Indicates whether the load balancer terminates connections to unhealthy targets. The value is true or false. The default is true. This attribute can't be enabled for UDP and TCP_UDP target groups.
    • target_health_state.unhealthy.draining_interval_seconds - The amount of time for Elastic Load Balancing to wait before changing the state of an unhealthy target from unhealthy.draining to unhealthy. The range is 0-360000 seconds. The default value is 0 seconds.

      Note: This attribute can only be configured when target_health_state.unhealthy.connection_termination.enabled is false.

    The following attributes are supported only by Gateway Load Balancers:

    • target_failover.on_deregistration - Indicates how the Gateway Load Balancer handles existing flows when a target is deregistered. The possible values are rebalance and no_rebalance. The default is no_rebalance. The two attributes (target_failover.on_deregistration and target_failover.on_unhealthy) can't be set independently. The value you set for both attributes must be the same.
    • target_failover.on_unhealthy - Indicates how the Gateway Load Balancer handles existing flows when a target is unhealthy. The possible values are rebalance and no_rebalance. The default is no_rebalance. The two attributes (target_failover.on_deregistration and target_failover.on_unhealthy) can't be set independently. The value you set for both attributes must be the same.
    *)
}

Information about a target group attribute.

type nonrec target_group_attributes = target_group_attribute list
type nonrec target_group_association_limit_exception = {
  1. message : error_description option;
}

You've reached the limit on the number of load balancers per target group.

type nonrec target_group_arns = target_group_arn list
type nonrec target_descriptions = target_description list
type nonrec tag_value = string
type nonrec tag_key = string
type nonrec tag = {
  1. value : tag_value option;
    (*

    The value of the tag.

    *)
  2. key : tag_key;
    (*

    The key of the tag.

    *)
}

Information about a tag.

type nonrec tag_list = tag list
type nonrec tag_keys = tag_key list
type nonrec resource_arn = string
type nonrec tag_description = {
  1. tags : tag_list option;
    (*

    Information about the tags.

    *)
  2. resource_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}

The tags associated with a resource.

type nonrec tag_descriptions = tag_description list
type nonrec subnet_id = string
type nonrec subnets = subnet_id list
type nonrec subnet_not_found_exception = {
  1. message : error_description option;
}

The specified subnet does not exist.

type nonrec allocation_id = string
type nonrec private_i_pv4_address = string
type nonrec i_pv6_address = string
type nonrec source_nat_ipv6_prefix = string
type nonrec subnet_mapping = {
  1. source_nat_ipv6_prefix : source_nat_ipv6_prefix option;
    (*

    [Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.

    *)
  2. i_pv6_address : i_pv6_address option;
    (*

    [Network Load Balancers] The IPv6 address.

    *)
  3. private_i_pv4_address : private_i_pv4_address option;
    (*

    [Network Load Balancers] The private IPv4 address for an internal load balancer.

    *)
  4. allocation_id : allocation_id option;
    (*

    [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.

    *)
  5. subnet_id : subnet_id option;
    (*

    The ID of the subnet.

    *)
}

Information about a subnet mapping.

type nonrec subnet_mappings = subnet_mapping list
type nonrec string_ = string
type nonrec ssl_protocol = string
type nonrec ssl_protocols = ssl_protocol list
type nonrec ssl_policy_name = string
type nonrec ssl_policy_names = ssl_policy_name list
type nonrec cipher_name = string
type nonrec cipher_priority = int
type nonrec cipher = {
  1. priority : cipher_priority option;
    (*

    The priority of the cipher.

    *)
  2. name : cipher_name option;
    (*

    The name of the cipher.

    *)
}

Information about a cipher used in a policy.

type nonrec ciphers = cipher list
type nonrec list_of_string = string_value list
type nonrec ssl_policy = {
  1. supported_load_balancer_types : list_of_string option;
    (*

    The supported load balancers.

    *)
  2. name : ssl_policy_name option;
    (*

    The name of the policy.

    *)
  3. ciphers : ciphers option;
    (*

    The ciphers.

    *)
  4. ssl_protocols : ssl_protocols option;
    (*

    The protocols.

    *)
}

Information about a policy used for SSL negotiation.

type nonrec ssl_policies = ssl_policy list
type nonrec source_nat_ipv6_prefixes = source_nat_ipv6_prefix list
type nonrec source_ip_condition_config = {
  1. values : list_of_string option;
    (*

    The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.

    If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use an HTTP header condition.

    The total number of values must be less than, or equal to five.

    *)
}

Information about a source IP condition.

You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.

type nonrec outpost_id = string
type nonrec ip_address = string
type nonrec load_balancer_address = {
  1. i_pv6_address : i_pv6_address option;
    (*

    [Network Load Balancers] The IPv6 address.

    *)
  2. private_i_pv4_address : private_i_pv4_address option;
    (*

    [Network Load Balancers] The private IPv4 address for an internal load balancer.

    *)
  3. allocation_id : allocation_id option;
    (*

    [Network Load Balancers] The allocation ID of the Elastic IP address for an internal-facing load balancer.

    *)
  4. ip_address : ip_address option;
    (*

    The static IP address.

    *)
}

Information about a static IP address for a load balancer.

type nonrec load_balancer_addresses = load_balancer_address list
type nonrec availability_zone = {
  1. source_nat_ipv6_prefixes : source_nat_ipv6_prefixes option;
    (*

    [Network Load Balancers with UDP listeners] The IPv6 prefixes to use for source NAT. For each subnet, specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.

    *)
  2. load_balancer_addresses : load_balancer_addresses option;
    (*

    [Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.

    *)
  3. outpost_id : outpost_id option;
    (*

    [Application Load Balancers on Outposts] The ID of the Outpost.

    *)
  4. subnet_id : subnet_id option;
    (*

    The ID of the subnet. You can specify one subnet per Availability Zone.

    *)
  5. zone_name : zone_name option;
    (*

    The name of the Availability Zone.

    *)
}

Information about an Availability Zone.

type nonrec availability_zones = availability_zone list
type nonrec ip_address_type =
  1. | DUALSTACK_WITHOUT_PUBLIC_IPV4
  2. | DUALSTACK
  3. | IPV4
type nonrec enable_prefix_for_ipv6_source_nat_enum =
  1. | OFF
  2. | ON
type nonrec set_subnets_output = {
  1. enable_prefix_for_ipv6_source_nat : enable_prefix_for_ipv6_source_nat_enum option;
    (*

    [Network Load Balancers] Indicates whether to use an IPv6 prefix from each subnet for source NAT.

    *)
  2. ip_address_type : ip_address_type option;
    (*

    The IP address type.

    *)
  3. availability_zones : availability_zones option;
    (*

    Information about the subnets.

    *)
}
type nonrec set_subnets_input = {
  1. enable_prefix_for_ipv6_source_nat : enable_prefix_for_ipv6_source_nat_enum option;
    (*

    [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be dualstack. The default value is off.

    *)
  2. ip_address_type : ip_address_type option;
    (*

    The IP address type.

    [Application Load Balancers] The possible values are ipv4 (IPv4 addresses), dualstack (IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (public IPv6 addresses and private IPv4 and IPv6 addresses).

    [Network Load Balancers and Gateway Load Balancers] The possible values are ipv4 (IPv4 addresses) and dualstack (IPv4 and IPv6 addresses).

    *)
  3. subnet_mappings : subnet_mappings option;
    (*

    The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.

    [Application Load Balancers] You must specify subnets from at least two Availability Zones. You can't specify Elastic IP addresses for your subnets.

    [Application Load Balancers on Outposts] You must specify one Outpost subnet.

    [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.

    [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.

    [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.

    *)
  4. subnets : subnets option;
    (*

    The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.

    [Application Load Balancers] You must specify subnets from at least two Availability Zones.

    [Application Load Balancers on Outposts] You must specify one Outpost subnet.

    [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.

    [Network Load Balancers] You can specify subnets from one or more Availability Zones.

    [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.

    *)
  5. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec load_balancer_not_found_exception = {
  1. message : error_description option;
}

The specified load balancer does not exist.

type nonrec invalid_subnet_exception = {
  1. message : error_description option;
}

The specified subnet is out of available addresses.

type nonrec invalid_configuration_request_exception = {
  1. message : error_description option;
}

The requested configuration is not valid.

type nonrec capacity_reservation_pending_exception = {
  1. message : error_description option;
}

There is a pending capacity reservation.

type nonrec availability_zone_not_supported_exception = {
  1. message : error_description option;
}

The specified Availability Zone is not supported.

type nonrec allocation_id_not_found_exception = {
  1. message : error_description option;
}

The specified allocation ID does not exist.

type nonrec security_group_id = string
type nonrec security_groups = security_group_id list
type nonrec set_security_groups_output = {
  1. security_group_ids : security_groups option;
    (*

    The IDs of the security groups associated with the load balancer.

    *)
}
type nonrec set_security_groups_input = {
  1. security_groups : security_groups;
    (*

    The IDs of the security groups.

    *)
  2. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec invalid_security_group_exception = {
  1. message : error_description option;
}

The specified security group does not exist.

type nonrec rule_arn = string
type nonrec condition_field_name = string
type nonrec host_header_condition_config = {
  1. regex_values : list_of_string option;
    (*

    The regular expressions to compare against the host header. The maximum length of each string is 128 characters.

    *)
  2. values : list_of_string option;
    (*

    The host names. The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). You must include at least one "." character. You can include only alphabetical characters after the final "." character.

    If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.

    *)
}

Information about a host header condition.

type nonrec path_pattern_condition_config = {
  1. regex_values : list_of_string option;
    (*

    The regular expressions to compare against the request URL. The maximum length of each string is 128 characters.

    *)
  2. values : list_of_string option;
    (*

    The path patterns to compare against the request URL. The maximum length of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

    If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a query string condition.

    *)
}

Information about a path pattern condition.

type nonrec http_header_condition_name = string
type nonrec http_header_condition_config = {
  1. regex_values : list_of_string option;
    (*

    The regular expression to compare against the HTTP header. The maximum length of each string is 128 characters.

    *)
  2. values : list_of_string option;
    (*

    The strings to compare against the value of the HTTP header. The maximum length of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

    If the same header appears multiple times in the request, we search them in order until a match is found.

    If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.

    *)
  3. http_header_name : http_header_condition_name option;
    (*

    The name of the HTTP header field. The maximum length is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.

    You can't use an HTTP header condition to specify the host header. Instead, use a host condition.

    *)
}

Information about an HTTP header condition.

There is a set of standard HTTP header fields. You can also define custom HTTP header fields.

type nonrec query_string_key_value_pair = {
  1. value : string_value option;
    (*

    The value.

    *)
  2. key : string_value option;
    (*

    The key. You can omit the key.

    *)
}

Information about a key/value pair.

type nonrec query_string_key_value_pair_list = query_string_key_value_pair list
type nonrec query_string_condition_config = {
  1. values : query_string_key_value_pair_list option;
    (*

    The key/value pairs or values to find in the query string. The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '\' character.

    If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.

    *)
}

Information about a query string condition.

The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.

type nonrec http_request_method_condition_config = {
  1. values : list_of_string option;
    (*

    The name of the request method. The maximum length is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.

    If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.

    *)
}

Information about an HTTP method condition.

HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the HTTP Method Registry. You can also define custom HTTP methods.

type nonrec rule_condition = {
  1. regex_values : list_of_string option;
    (*

    The regular expressions to match against the condition field. The maximum length of each string is 128 characters. Specify only when Field is http-header, host-header, or path-pattern.

    *)
  2. source_ip_config : source_ip_condition_config option;
    (*

    Information for a source IP condition. Specify only when Field is source-ip.

    *)
  3. http_request_method_config : http_request_method_condition_config option;
    (*

    Information for an HTTP method condition. Specify only when Field is http-request-method.

    *)
  4. query_string_config : query_string_condition_config option;
    (*

    Information for a query string condition. Specify only when Field is query-string.

    *)
  5. http_header_config : http_header_condition_config option;
    (*

    Information for an HTTP header condition. Specify only when Field is http-header.

    *)
  6. path_pattern_config : path_pattern_condition_config option;
    (*

    Information for a path pattern condition. Specify only when Field is path-pattern.

    *)
  7. host_header_config : host_header_condition_config option;
    (*

    Information for a host header condition. Specify only when Field is host-header.

    *)
  8. values : list_of_string option;
    (*

    The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

    If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

    • A-Z, a-z, 0-9
      • .
    • * (matches 0 or more characters)
    • ? (matches exactly 1 character)

    If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/*) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

    • A-Z, a-z, 0-9
    • _ - . $ / ~ " ' @ : +
    • & (using &)
    • * (matches 0 or more characters)
    • ? (matches exactly 1 character)
    *)
  9. field : condition_field_name option;
    (*

    The field in the HTTP request. The following are the possible values:

    • http-header
    • http-request-method
    • host-header
    • path-pattern
    • query-string
    • source-ip
    *)
}

Information about a condition for a rule.

Each rule can optionally include up to one of each of the following conditions: http-request-method, host-header, path-pattern, and source-ip. Each rule can also optionally include one or more of each of the following conditions: http-header and query-string. Note that the value for a condition can't be empty.

For more information, see Quotas for your Application Load Balancers.

type nonrec rule_condition_list = rule_condition list
type nonrec action_type_enum =
  1. | JWT_VALIDATION
  2. | FIXED_RESPONSE
  3. | REDIRECT
  4. | AUTHENTICATE_COGNITO
  5. | AUTHENTICATE_OIDC
  6. | FORWARD
type nonrec authenticate_oidc_action_issuer = string
type nonrec authenticate_oidc_action_authorization_endpoint = string
type nonrec authenticate_oidc_action_token_endpoint = string
type nonrec authenticate_oidc_action_user_info_endpoint = string
type nonrec authenticate_oidc_action_client_id = string
type nonrec authenticate_oidc_action_client_secret = string
type nonrec authenticate_oidc_action_scope = string
type nonrec authenticate_oidc_action_session_timeout = Smaws_Lib.CoreTypes.Int64.t
type nonrec authenticate_oidc_action_authentication_request_param_value = string
type nonrec authenticate_oidc_action_authentication_request_param_name = string
type nonrec authenticate_oidc_action_authentication_request_extra_params = (authenticate_oidc_action_authentication_request_param_name * authenticate_oidc_action_authentication_request_param_value) list
type nonrec authenticate_oidc_action_conditional_behavior_enum =
  1. | AUTHENTICATE
  2. | ALLOW
  3. | DENY
type nonrec authenticate_oidc_action_use_existing_client_secret = bool
type nonrec authenticate_oidc_action_config = {
  1. use_existing_client_secret : authenticate_oidc_action_use_existing_client_secret option;
    (*

    Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.

    *)
  2. on_unauthenticated_request : authenticate_oidc_action_conditional_behavior_enum option;
    (*

    The behavior if the user is not authenticated. The following are possible values:

    • deny - Return an HTTP 401 Unauthorized error.
    • allow - Allow the request to be forwarded to the target.
    • authenticate - Redirect the request to the IdP authorization endpoint. This is the default value.
    *)
  3. authentication_request_extra_params : authenticate_oidc_action_authentication_request_extra_params option;
    (*

    The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

    *)
  4. session_timeout : authenticate_oidc_action_session_timeout option;
    (*

    The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

    *)
  5. scope : authenticate_oidc_action_scope option;
    (*

    The set of user claims to be requested from the IdP. The default is openid.

    To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.

    *)
  6. client_secret : authenticate_oidc_action_client_secret option;
    (*

    The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecret to true.

    *)
  7. client_id : authenticate_oidc_action_client_id;
    (*

    The OAuth 2.0 client identifier.

    *)
  8. user_info_endpoint : authenticate_oidc_action_user_info_endpoint;
    (*

    The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

    *)
  9. token_endpoint : authenticate_oidc_action_token_endpoint;
    (*

    The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

    *)
  10. authorization_endpoint : authenticate_oidc_action_authorization_endpoint;
    (*

    The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

    *)
  11. issuer : authenticate_oidc_action_issuer;
    (*

    The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.

    *)
}

Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.

type nonrec authenticate_cognito_action_user_pool_arn = string
type nonrec authenticate_cognito_action_user_pool_client_id = string
type nonrec authenticate_cognito_action_user_pool_domain = string
type nonrec authenticate_cognito_action_scope = string
type nonrec authenticate_cognito_action_session_timeout = Smaws_Lib.CoreTypes.Int64.t
type nonrec authenticate_cognito_action_authentication_request_param_value = string
type nonrec authenticate_cognito_action_authentication_request_param_name = string
type nonrec authenticate_cognito_action_authentication_request_extra_params = (authenticate_cognito_action_authentication_request_param_name * authenticate_cognito_action_authentication_request_param_value) list
type nonrec authenticate_cognito_action_conditional_behavior_enum =
  1. | AUTHENTICATE
  2. | ALLOW
  3. | DENY
type nonrec authenticate_cognito_action_config = {
  1. on_unauthenticated_request : authenticate_cognito_action_conditional_behavior_enum option;
    (*

    The behavior if the user is not authenticated. The following are possible values:

    • deny - Return an HTTP 401 Unauthorized error.
    • allow - Allow the request to be forwarded to the target.
    • authenticate - Redirect the request to the IdP authorization endpoint. This is the default value.
    *)
  2. authentication_request_extra_params : authenticate_cognito_action_authentication_request_extra_params option;
    (*

    The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

    *)
  3. session_timeout : authenticate_cognito_action_session_timeout option;
    (*

    The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

    *)
  4. scope : authenticate_cognito_action_scope option;
    (*

    The set of user claims to be requested from the IdP. The default is openid.

    To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.

    *)
  5. user_pool_domain : authenticate_cognito_action_user_pool_domain;
    (*

    The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.

    *)
  6. user_pool_client_id : authenticate_cognito_action_user_pool_client_id;
    (*

    The ID of the Amazon Cognito user pool client.

    *)
  7. user_pool_arn : authenticate_cognito_action_user_pool_arn;
    (*

    The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

    *)
}

Request parameters to use when integrating with Amazon Cognito to authenticate users.

type nonrec action_order = int
type nonrec redirect_action_protocol = string
type nonrec redirect_action_port = string
type nonrec redirect_action_host = string
type nonrec redirect_action_path = string
type nonrec redirect_action_query = string
type nonrec redirect_action_status_code_enum =
  1. | HTTP_302
  2. | HTTP_301
type nonrec redirect_action_config = {
  1. status_code : redirect_action_status_code_enum;
    (*

    The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

    *)
  2. query : redirect_action_query option;
    (*

    The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

    *)
  3. path : redirect_action_path option;
    (*

    The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

    *)
  4. host : redirect_action_host option;
    (*

    The hostname. This component is not percent-encoded. The hostname can contain #{host}.

    *)
  5. port : redirect_action_port option;
    (*

    The port. You can specify a value from 1 to 65535 or #{port}.

    *)
  6. protocol : redirect_action_protocol option;
    (*

    The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.

    *)
}

Information about a redirect action.

A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.

You can reuse URI components using the following reserved keywords:

  • #{protocol}
  • #{host}
  • #{port}
  • #{path} (the leading "/" is removed)
  • #{query}

For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".

type nonrec fixed_response_action_message = string
type nonrec fixed_response_action_status_code = string
type nonrec fixed_response_action_content_type = string
type nonrec fixed_response_action_config = {
  1. content_type : fixed_response_action_content_type option;
    (*

    The content type.

    Valid Values: text/plain | text/css | text/html | application/javascript | application/json

    *)
  2. status_code : fixed_response_action_status_code;
    (*

    The HTTP response code (2XX, 4XX, or 5XX).

    *)
  3. message_body : fixed_response_action_message option;
    (*

    The message.

    *)
}

Information about an action that returns a custom HTTP response.

type nonrec forward_action_config = {
  1. target_group_stickiness_config : target_group_stickiness_config option;
    (*

    The target group stickiness for the rule.

    *)
  2. target_groups : target_group_list option;
    (*

    The target groups.

    *)
}

Information about a forward action.

type nonrec jwt_validation_action_jwks_endpoint = string
type nonrec jwt_validation_action_issuer = string
type nonrec jwt_validation_action_additional_claim_format_enum =
  1. | SPACE_SEPARATED_VALUES
  2. | STRING_ARRAY
  3. | SINGLE_STRING
type nonrec jwt_validation_action_additional_claim_name = string
type nonrec jwt_validation_action_additional_claim_value = string
type nonrec jwt_validation_action_additional_claim_values = jwt_validation_action_additional_claim_value list
type nonrec jwt_validation_action_additional_claim = {
  1. values : jwt_validation_action_additional_claim_values;
    (*

    The claim value. The maximum size of the list is 10. Each value can be up to 256 characters in length. If the format is space-separated-values, the values can't include spaces.

    *)
  2. name : jwt_validation_action_additional_claim_name;
    (*

    The name of the claim. You can't specify exp, iss, nbf, or iat because we validate them by default.

    *)
  3. format : jwt_validation_action_additional_claim_format_enum;
    (*

    The format of the claim value.

    *)
}

Information about an additional claim to validate.

type nonrec jwt_validation_action_additional_claims = jwt_validation_action_additional_claim list
type nonrec jwt_validation_action_config = {
  1. additional_claims : jwt_validation_action_additional_claims option;
    (*

    Additional claims to validate. The maximum size of the list is 10. We validate the exp, iss, nbf, and iat claims by default.

    *)
  2. issuer : jwt_validation_action_issuer;
    (*

    The issuer of the JWT. The maximum length is 256 characters.

    *)
  3. jwks_endpoint : jwt_validation_action_jwks_endpoint;
    (*

    The JSON Web Key Set (JWKS) endpoint. This endpoint contains JSON Web Keys (JWK) that are used to validate signatures from the provider.

    This must be a full URL, including the HTTPS protocol, the domain, and the path. The maximum length is 256 characters.

    *)
}

Information about a JSON Web Token (JWT) validation action.

type nonrec action = {
  1. jwt_validation_config : jwt_validation_action_config option;
    (*

    [HTTPS listeners] Information for validating JWT access tokens in client requests. Specify only when Type is jwt-validation.

    *)
  2. forward_config : forward_action_config option;
    (*

    Information for creating an action that distributes requests among multiple target groups. Specify only when Type is forward.

    If you specify both ForwardConfig and TargetGroupArn, you can specify only one target group using ForwardConfig and it must be the same target group specified in TargetGroupArn.

    *)
  3. fixed_response_config : fixed_response_action_config option;
    (*

    [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Type is fixed-response.

    *)
  4. redirect_config : redirect_action_config option;
    (*

    [Application Load Balancer] Information for creating a redirect action. Specify only when Type is redirect.

    *)
  5. order : action_order option;
    (*

    The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.

    *)
  6. authenticate_cognito_config : authenticate_cognito_action_config option;
    (*

    [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when Type is authenticate-cognito.

    *)
  7. authenticate_oidc_config : authenticate_oidc_action_config option;
    (*

    [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Type is authenticate-oidc.

    *)
  8. target_group_arn : target_group_arn option;
    (*

    The Amazon Resource Name (ARN) of the target group. Specify only when Type is forward and you want to route to a single target group. To route to multiple target groups, you must use ForwardConfig instead.

    *)
  9. type_ : action_type_enum;
    (*

    The type of action.

    *)
}

Information about an action.

Each rule must include exactly one of the following routing actions: forward, fixed-response, or redirect, and it must be the last action to be performed.

Optionally, a rule for an HTTPS listener can also include one of the following user authentication actions: authenticate-oidc, authenticate-cognito, or jwt-validation.

type nonrec actions = action list
type nonrec is_default = bool
type nonrec host_header_rewrite_config = {
  1. rewrites : rewrite_config_list option;
    (*

    The host header rewrite transform. Each transform consists of a regular expression to match and a replacement string.

    *)
}

Information about a host header rewrite transform. This transform matches a pattern in the host header in an HTTP request and replaces it with the specified string.

type nonrec rule_transform = {
  1. url_rewrite_config : url_rewrite_config option;
    (*

    Information about a URL rewrite transform. This transform modifies the request URL. Specify only when Type is url-rewrite.

    *)
  2. host_header_rewrite_config : host_header_rewrite_config option;
    (*

    Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only when Type is host-header-rewrite.

    *)
  3. type_ : transform_type_enum;
    (*

    The type of transform.

    • host-header-rewrite - Rewrite the host header.
    • url-rewrite - Rewrite the request URL.
    *)
}

Information about a transform to apply to requests that match a rule. Transforms are applied to requests before they are sent to targets.

type nonrec rule_transform_list = rule_transform list
type nonrec rule = {
  1. transforms : rule_transform_list option;
    (*

    The transforms for the rule.

    *)
  2. is_default : is_default option;
    (*

    Indicates whether this is the default rule.

    *)
  3. actions : actions option;
    (*

    The actions. Each rule must include exactly one of the following types of actions: forward, redirect, or fixed-response, and it must be the last action to be performed.

    *)
  4. conditions : rule_condition_list option;
    (*

    The conditions. Each rule can include zero or one of the following conditions: http-request-method, host-header, path-pattern, and source-ip, and zero or more of the following conditions: http-header and query-string.

    *)
  5. priority : string_ option;
    (*

    The priority.

    *)
  6. rule_arn : rule_arn option;
    (*

    The Amazon Resource Name (ARN) of the rule.

    *)
}

Information about a rule.

type nonrec rules = rule list
type nonrec set_rule_priorities_output = {
  1. rules : rules option;
    (*

    Information about the rules.

    *)
}
type nonrec rule_priority = int
type nonrec rule_priority_pair = {
  1. priority : rule_priority option;
    (*

    The rule priority.

    *)
  2. rule_arn : rule_arn option;
    (*

    The Amazon Resource Name (ARN) of the rule.

    *)
}

Information about the priorities for the rules for a listener.

type nonrec rule_priority_list = rule_priority_pair list
type nonrec set_rule_priorities_input = {
  1. rule_priorities : rule_priority_list;
    (*

    The rule priorities.

    *)
}
type nonrec rule_not_found_exception = {
  1. message : error_description option;
}

The specified rule does not exist.

type nonrec priority_in_use_exception = {
  1. message : error_description option;
}

The specified priority is in use.

type nonrec operation_not_permitted_exception = {
  1. message : error_description option;
}

This operation is not allowed.

type nonrec set_ip_address_type_output = {
  1. ip_address_type : ip_address_type option;
    (*

    The IP address type.

    *)
}
type nonrec set_ip_address_type_input = {
  1. ip_address_type : ip_address_type;
    (*

    The IP address type. Internal load balancers must use ipv4.

    [Application Load Balancers] The possible values are ipv4 (IPv4 addresses), dualstack (IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (public IPv6 addresses and private IPv4 and IPv6 addresses).

    Application Load Balancer authentication supports IPv4 addresses only when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer can't complete the authentication process, resulting in HTTP 500 errors.

    [Network Load Balancers and Gateway Load Balancers] The possible values are ipv4 (IPv4 addresses) and dualstack (IPv4 and IPv6 addresses).

    *)
  2. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec ssl_policy_not_found_exception = {
  1. message : error_description option;
}

The specified SSL policy does not exist.

type nonrec s3_object_version = string
type nonrec s3_key = string
type nonrec s3_bucket = string
type nonrec rule_arns = rule_arn list
type nonrec revocation_ids = revocation_id list
type nonrec revocation_id_not_found_exception = {
  1. message : error_description option;
}

The specified revocation ID does not exist.

type nonrec revocation_content = {
  1. revocation_type : revocation_type option;
    (*

    The type of revocation file.

    *)
  2. s3_object_version : s3_object_version option;
    (*

    The Amazon S3 object version of the revocation file.

    *)
  3. s3_key : s3_key option;
    (*

    The Amazon S3 path for the revocation file.

    *)
  4. s3_bucket : s3_bucket option;
    (*

    The Amazon S3 bucket for the revocation file.

    *)
}

Information about a revocation file.

type nonrec revocation_contents = revocation_content list
type nonrec revocation_content_not_found_exception = {
  1. message : error_description option;
}

The specified revocation file does not exist.

type nonrec resource_not_found_exception = {
  1. message : error_description option;
}

The specified resource does not exist.

type nonrec resource_in_use_exception = {
  1. message : error_description option;
}

A specified resource is in use.

type nonrec resource_arns = resource_arn list
type nonrec reset_transforms = bool
type nonrec reset_capacity_reservation = bool
type nonrec remove_trust_store_revocations_output = unit
type nonrec remove_trust_store_revocations_input = {
  1. revocation_ids : revocation_ids;
    (*

    The revocation IDs of the revocation files you want to remove.

    *)
  2. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec remove_tags_output = unit
type nonrec remove_tags_input = {
  1. tag_keys : tag_keys;
    (*

    The tag keys for the tags to remove.

    *)
  2. resource_arns : resource_arns;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec listener_not_found_exception = {
  1. message : error_description option;
}

The specified listener does not exist.

type nonrec remove_listener_certificates_output = unit
type nonrec listener_arn = string
type nonrec certificate_arn = string
type nonrec default = bool
type nonrec certificate = {
  1. is_default : default option;
    (*

    Indicates whether the certificate is the default certificate. Do not set this value when specifying a certificate as an input. This value is not included in the output when describing a listener, but is included when describing listener certificates.

    *)
  2. certificate_arn : certificate_arn option;
    (*

    The Amazon Resource Name (ARN) of the certificate.

    *)
}

Information about an SSL server certificate.

type nonrec certificate_list = certificate list
type nonrec remove_listener_certificates_input = {
  1. certificates : certificate_list;
    (*

    The certificate to remove. You can specify one certificate per call. Set CertificateArn to the certificate ARN but do not set IsDefault.

    *)
  2. listener_arn : listener_arn;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}
type nonrec remove_ipam_pool_enum =
  1. | Ipv4
type nonrec remove_ipam_pools = remove_ipam_pool_enum list
type nonrec register_targets_output = unit
type nonrec register_targets_input = {
  1. targets : target_descriptions;
    (*

    The targets.

    *)
  2. target_group_arn : target_group_arn;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}
type nonrec invalid_target_exception = {
  1. message : error_description option;
}

The specified target does not exist, is not in the same VPC as the target group, or has an unsupported instance type.

type nonrec prior_request_not_complete_exception = {
  1. message : error_description option;
}

This operation is not allowed while a prior request has not been completed.

type nonrec policy = string
type nonrec page_size = int
type nonrec name = string
type nonrec mode = string
type nonrec ignore_client_certificate_expiry = bool
type nonrec advertise_trust_store_ca_names_enum =
  1. | Off
  2. | On
type nonrec mutual_authentication_attributes = {
  1. advertise_trust_store_ca_names : advertise_trust_store_ca_names_enum option;
    (*

    Indicates whether trust store CA certificate names are advertised.

    *)
  2. trust_store_association_status : trust_store_association_status_enum option;
    (*

    Indicates a shared trust stores association status.

    *)
  3. ignore_client_certificate_expiry : ignore_client_certificate_expiry option;
    (*

    Indicates whether expired client certificates are ignored.

    *)
  4. trust_store_arn : trust_store_arn option;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
  5. mode : mode option;
    (*

    The client certificate handling method. Options are off, passthrough or verify. The default value is off.

    *)
}

Information about the mutual authentication attributes of a listener.

type nonrec modify_trust_store_output = {
  1. trust_stores : trust_stores option;
    (*

    Information about the modified trust store.

    *)
}
type nonrec modify_trust_store_input = {
  1. ca_certificates_bundle_s3_object_version : s3_object_version option;
    (*

    The Amazon S3 object version for the ca certificates bundle. If undefined the current version is used.

    *)
  2. ca_certificates_bundle_s3_key : s3_key;
    (*

    The Amazon S3 path for the ca certificates bundle.

    *)
  3. ca_certificates_bundle_s3_bucket : s3_bucket;
    (*

    The Amazon S3 bucket for the ca certificates bundle.

    *)
  4. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec invalid_ca_certificates_bundle_exception = {
  1. message : error_description option;
}

The specified ca certificate bundle is in an invalid format, or corrupt.

type nonrec ca_certificates_bundle_not_found_exception = {
  1. message : error_description option;
}

The specified ca certificate bundle does not exist.

type nonrec modify_target_group_output = {
  1. target_groups : target_groups option;
    (*

    Information about the modified target group.

    *)
}
type nonrec modify_target_group_input = {
  1. matcher : matcher option;
    (*

    [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.

    *)
  2. unhealthy_threshold_count : health_check_threshold_count option;
    (*

    The number of consecutive health check failures required before considering the target unhealthy.

    *)
  3. healthy_threshold_count : health_check_threshold_count option;
    (*

    The number of consecutive health checks successes required before considering an unhealthy target healthy.

    *)
  4. health_check_timeout_seconds : health_check_timeout_seconds option;
    (*

    [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.

    *)
  5. health_check_interval_seconds : health_check_interval_seconds option;
    (*

    The approximate amount of time, in seconds, between health checks of an individual target.

    *)
  6. health_check_enabled : health_check_enabled option;
    (*

    Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance, ip, or alb, health checks are always enabled and can't be disabled.

    *)
  7. health_check_path : path option;
    (*

    [HTTP/HTTPS health checks] The destination for health checks on the targets.

    [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

    [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

    *)
  8. health_check_port : health_check_port option;
    (*

    The port the load balancer uses when performing health checks on targets.

    *)
  9. health_check_protocol : protocol_enum option;
    (*

    The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, TCP_UDP, QUIC, and TCP_QUIC protocols are not supported for health checks.

    *)
  10. target_group_arn : target_group_arn;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}
type nonrec modify_target_group_attributes_output = {
  1. attributes : target_group_attributes option;
    (*

    Information about the target group attributes.

    *)
}
type nonrec modify_target_group_attributes_input = {
  1. attributes : target_group_attributes;
    (*

    The target group attributes.

    *)
  2. target_group_arn : target_group_arn;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}
type nonrec modify_rule_output = {
  1. rules : rules option;
    (*

    Information about the modified rule.

    *)
}
type nonrec modify_rule_input = {
  1. reset_transforms : reset_transforms option;
    (*

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

    *)
  2. transforms : rule_transform_list 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.

    *)
  3. actions : actions option;
    (*

    The actions.

    *)
  4. conditions : rule_condition_list option;
    (*

    The conditions.

    *)
  5. rule_arn : rule_arn;
    (*

    The Amazon Resource Name (ARN) of the rule.

    *)
}
type nonrec invalid_load_balancer_action_exception = {
  1. message : error_description option;
}

The requested action is not valid.

type nonrec incompatible_protocols_exception = {
  1. message : error_description option;
}

The specified configuration is not valid with this protocol.

type nonrec load_balancer_attribute_key = string
type nonrec load_balancer_attribute_value = string
type nonrec load_balancer_attribute = {
  1. value : load_balancer_attribute_value option;
    (*

    The value of the attribute.

    *)
  2. key : load_balancer_attribute_key option;
    (*

    The name of the attribute.

    The following attributes are supported by all load balancers:

    • deletion_protection.enabled - Indicates whether deletion protection is enabled. The value is true or false. The default is false.
    • load_balancing.cross_zone.enabled - Indicates whether cross-zone load balancing is enabled. The possible values are true and false. The default for Network Load Balancers and Gateway Load Balancers is false. The default for Application Load Balancers is true, and can't be changed.

    The following attributes are supported by both Application Load Balancers and Network Load Balancers:

    • access_logs.s3.enabled - Indicates whether access logs are enabled. The value is true or false. The default is false.
    • access_logs.s3.bucket - The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.
    • access_logs.s3.prefix - The prefix for the location in the S3 bucket for the access logs.
    • ipv6.deny_all_igw_traffic - Blocks internet gateway (IGW) access to the load balancer. It is set to false for internet-facing load balancers and true for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway.
    • zonal_shift.config.enabled - Indicates whether zonal shift is enabled. The possible values are true and false. The default is false.

    The following attributes are supported by only Application Load Balancers:

    • idle_timeout.timeout_seconds - The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds.
    • client_keep_alive.seconds - The client keep alive value, in seconds. The valid range is 60-604800 seconds. The default is 3600 seconds.
    • connection_logs.s3.enabled - Indicates whether connection logs are enabled. The value is true or false. The default is false.
    • connection_logs.s3.bucket - The name of the S3 bucket for the connection logs. This attribute is required if connection logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.
    • connection_logs.s3.prefix - The prefix for the location in the S3 bucket for the connection logs.
    • health_check_logs.s3.enabled - Indicates whether health check logs are enabled. The value is true or false. The default is false.
    • health_check_logs.s3.bucket - The name of the S3 bucket for the health check logs. This attribute is required if health check logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.
    • health_check_logs.s3.prefix - The prefix for the location in the S3 bucket for the health check logs.
    • routing.http.desync_mitigation_mode - Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor, defensive, and strictest. The default is defensive.
    • routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true) or routed to targets (false). The default is false.
    • routing.http.preserve_host_header.enabled - Indicates whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. The possible values are true and false. The default is false.
    • routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates whether the two headers (x-amzn-tls-version and x-amzn-tls-cipher-suite), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are true and false. The default is false.
    • routing.http.xff_client_port.enabled - Indicates whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer. The possible values are true and false. The default is false.
    • routing.http.xff_header_processing.mode - Enables you to modify, preserve, or remove the X-Forwarded-For header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are append, preserve, and remove. The default is append.

      • If the value is append, the Application Load Balancer adds the client IP address (of the last hop) to the X-Forwarded-For header in the HTTP request before it sends it to targets.
      • If the value is preserve the Application Load Balancer preserves the X-Forwarded-For header in the HTTP request, and sends it to targets without any change.
      • If the value is remove, the Application Load Balancer removes the X-Forwarded-For header in the HTTP request before it sends it to targets.
    • routing.http2.enabled - Indicates whether clients can connect to the load balancer using HTTP/2. If true, clients can connect using HTTP/2 or HTTP/1.1. However, all client requests are subject to the stricter HTTP/2 header validation rules. For example, message header names must contain only alphanumeric characters and hyphens. If false, clients must connect using HTTP/1.1. The default is true.
    • waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true and false. The default is false.

    The following attributes are supported by only Network Load Balancers:

    • dns_record.client_routing_policy - Indicates how traffic is distributed among the load balancer Availability Zones. The possible values are availability_zone_affinity with 100 percent zonal affinity, partial_availability_zone_affinity with 85 percent zonal affinity, and any_availability_zone with 0 percent zonal affinity.
    • secondary_ips.auto_assigned.per_subnet - The number of secondary IP addresses to configure for your load balancer nodes. Use to address port allocation errors if you can't add targets. The valid range is 0 to 7. The default is 0. After you set this value, you can't decrease it.
    *)
}

Information about a load balancer attribute.

type nonrec load_balancer_attributes = load_balancer_attribute list
type nonrec modify_load_balancer_attributes_output = {
  1. attributes : load_balancer_attributes option;
    (*

    Information about the load balancer attributes.

    *)
}
type nonrec modify_load_balancer_attributes_input = {
  1. attributes : load_balancer_attributes;
    (*

    The load balancer attributes.

    *)
  2. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec alpn_policy_value = string
type nonrec alpn_policy_name = alpn_policy_value list
type nonrec listener = {
  1. mutual_authentication : mutual_authentication_attributes option;
    (*

    The mutual authentication configuration information.

    *)
  2. alpn_policy : alpn_policy_name option;
    (*

    [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

    *)
  3. default_actions : actions option;
    (*

    The default actions for the listener.

    *)
  4. ssl_policy : ssl_policy_name option;
    (*

    [HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.

    *)
  5. certificates : certificate_list option;
    (*

    [HTTPS or TLS listener] The default certificate for the listener.

    *)
  6. protocol : protocol_enum option;
    (*

    The protocol for connections from clients to the load balancer.

    *)
  7. port : port option;
    (*

    The port on which the load balancer is listening.

    *)
  8. load_balancer_arn : load_balancer_arn option;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
  9. listener_arn : listener_arn option;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}

Information about a listener.

type nonrec listeners = listener list
type nonrec modify_listener_output = {
  1. listeners : listeners option;
    (*

    Information about the modified listener.

    *)
}
type nonrec modify_listener_input = {
  1. mutual_authentication : mutual_authentication_attributes option;
    (*

    [HTTPS listeners] The mutual authentication configuration information.

    *)
  2. alpn_policy : alpn_policy_name option;
    (*

    [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

    • HTTP1Only
    • HTTP2Only
    • HTTP2Optional
    • HTTP2Preferred
    • None

    For more information, see ALPN policies in the Network Load Balancers Guide.

    *)
  3. default_actions : actions option;
    (*

    The actions for the default rule.

    *)
  4. certificates : certificate_list option;
    (*

    [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

    *)
  5. ssl_policy : ssl_policy_name option;
    (*

    [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

    For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

    *)
  6. protocol : protocol_enum option;
    (*

    The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, TCP_UDP, QUIC, and TCP_QUIC protocols. You can’t change the protocol to UDP, TCP_UDP, QUIC, or TCP_QUIC if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.

    *)
  7. port : port option;
    (*

    The port for connections from clients to the load balancer. You can't specify a port for a Gateway Load Balancer.

    *)
  8. listener_arn : listener_arn;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}
type nonrec listener_attribute_key = string
type nonrec listener_attribute_value = string
type nonrec listener_attribute = {
  1. value : listener_attribute_value option;
    (*

    The value of the attribute.

    *)
  2. key : listener_attribute_key option;
    (*

    The name of the attribute.

    The following attribute is supported by Network Load Balancers, and Gateway Load Balancers.

    • tcp.idle_timeout.seconds - The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds.

    The following attributes are only supported by Application Load Balancers.

    • routing.http.request.x_amzn_mtls_clientcert_serial_number.header_name - Enables you to modify the header name of the X-Amzn-Mtls-Clientcert-Serial-Number HTTP request header.
    • routing.http.request.x_amzn_mtls_clientcert_issuer.header_name - Enables you to modify the header name of the X-Amzn-Mtls-Clientcert-Issuer HTTP request header.
    • routing.http.request.x_amzn_mtls_clientcert_subject.header_name - Enables you to modify the header name of the X-Amzn-Mtls-Clientcert-Subject HTTP request header.
    • routing.http.request.x_amzn_mtls_clientcert_validity.header_name - Enables you to modify the header name of the X-Amzn-Mtls-Clientcert-Validity HTTP request header.
    • routing.http.request.x_amzn_mtls_clientcert_leaf.header_name - Enables you to modify the header name of the X-Amzn-Mtls-Clientcert-Leaf HTTP request header.
    • routing.http.request.x_amzn_mtls_clientcert.header_name - Enables you to modify the header name of the X-Amzn-Mtls-Clientcert HTTP request header.
    • routing.http.request.x_amzn_tls_version.header_name - Enables you to modify the header name of the X-Amzn-Tls-Version HTTP request header.
    • routing.http.request.x_amzn_tls_cipher_suite.header_name - Enables you to modify the header name of the X-Amzn-Tls-Cipher-Suite HTTP request header.
    • routing.http.response.server.enabled - Enables you to allow or remove the HTTP response server header.
    • routing.http.response.strict_transport_security.header_value - Informs browsers that the site should only be accessed using HTTPS, and that any future attempts to access it using HTTP should automatically be converted to HTTPS.
    • routing.http.response.access_control_allow_origin.header_value - Specifies which origins are allowed to access the server.
    • routing.http.response.access_control_allow_methods.header_value - Returns which HTTP methods are allowed when accessing the server from a different origin.
    • routing.http.response.access_control_allow_headers.header_value - Specifies which headers can be used during the request.
    • routing.http.response.access_control_allow_credentials.header_value - Indicates whether the browser should include credentials such as cookies or authentication when making requests.
    • routing.http.response.access_control_expose_headers.header_value - Returns which headers the browser can expose to the requesting client.
    • routing.http.response.access_control_max_age.header_value - Specifies how long the results of a preflight request can be cached, in seconds.
    • routing.http.response.content_security_policy.header_value - Specifies restrictions enforced by the browser to help minimize the risk of certain types of security threats.
    • routing.http.response.x_content_type_options.header_value - Indicates whether the MIME types advertised in the Content-Type headers should be followed and not be changed.
    • routing.http.response.x_frame_options.header_value - Indicates whether the browser is allowed to render a page in a frame, iframe, embed or object.
    *)
}

Information about a listener attribute.

type nonrec listener_attributes = listener_attribute list
type nonrec modify_listener_attributes_output = {
  1. attributes : listener_attributes option;
    (*

    Information about the listener attributes.

    *)
}
type nonrec modify_listener_attributes_input = {
  1. attributes : listener_attributes;
    (*

    The listener attributes.

    *)
  2. listener_arn : listener_arn;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}
type nonrec duplicate_listener_exception = {
  1. message : error_description option;
}

A listener with the specified port already exists.

type nonrec certificate_not_found_exception = {
  1. message : error_description option;
}

The specified certificate does not exist.

type nonrec alpn_policy_not_supported_exception = {
  1. message : error_description option;
}

The specified ALPN policy is not supported.

type nonrec ipam_pool_id = string
type nonrec ipam_pools = {
  1. ipv4_ipam_pool_id : ipam_pool_id option;
    (*

    The ID of the IPv4 IPAM pool.

    *)
}

An IPAM pool is a collection of IP address CIDRs. IPAM pools enable you to organize your IP addresses according to your routing and security needs.

type nonrec modify_ip_pools_output = {
  1. ipam_pools : ipam_pools option;
    (*

    The IPAM pool ID.

    *)
}
type nonrec modify_ip_pools_input = {
  1. remove_ipam_pools : remove_ipam_pools option;
    (*

    Remove the IP pools in use by the load balancer.

    *)
  2. ipam_pools : ipam_pools option;
    (*

    The IPAM pools to be modified.

    *)
  3. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec last_modified_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec decrease_requests_remaining = int
type nonrec capacity_units = int
type nonrec minimum_load_balancer_capacity = {
  1. capacity_units : capacity_units option;
    (*

    The number of capacity units.

    *)
}

The minimum capacity for a load balancer.

type nonrec modify_capacity_reservation_output = {
  1. capacity_reservation_state : zonal_capacity_reservation_states option;
    (*

    The state of the capacity reservation.

    *)
  2. minimum_load_balancer_capacity : minimum_load_balancer_capacity option;
    (*

    The requested minimum capacity reservation for the load balancer

    *)
  3. decrease_requests_remaining : decrease_requests_remaining option;
    (*

    The amount of daily capacity decreases remaining.

    *)
  4. last_modified_time : last_modified_time option;
    (*

    The last time the capacity reservation was modified.

    *)
}
type nonrec modify_capacity_reservation_input = {
  1. reset_capacity_reservation : reset_capacity_reservation option;
    (*

    Resets the capacity reservation.

    *)
  2. minimum_load_balancer_capacity : minimum_load_balancer_capacity option;
    (*

    The minimum load balancer capacity reserved.

    *)
  3. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec insufficient_capacity_exception = {
  1. message : error_description option;
}

There is insufficient capacity to reserve.

type nonrec capacity_units_limit_exceeded_exception = {
  1. message : error_description option;
}

You've exceeded the capacity units limit.

type nonrec capacity_decrease_requests_limit_exceeded_exception = {
  1. message : error_description option;
}

You've exceeded the daily capacity decrease limit for this reservation.

type nonrec max = string
type nonrec marker = string
type nonrec location = string
type nonrec dns_name = string
type nonrec canonical_hosted_zone_id = string
type nonrec created_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec load_balancer_name = string
type nonrec load_balancer_scheme_enum =
  1. | INTERNAL
  2. | INTERNET_FACING
type nonrec load_balancer_state_enum =
  1. | FAILED
  2. | ACTIVE_IMPAIRED
  3. | PROVISIONING
  4. | ACTIVE
type nonrec load_balancer_state = {
  1. reason : state_reason option;
    (*

    A description of the state.

    *)
  2. code : load_balancer_state_enum option;
    (*

    The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer could not be set up, its state is failed.

    *)
}

Information about the state of the load balancer.

type nonrec load_balancer_type_enum =
  1. | GATEWAY
  2. | NETWORK
  3. | APPLICATION
type nonrec customer_owned_ipv4_pool = string
type nonrec load_balancer = {
  1. ipam_pools : ipam_pools option;
    (*

    [Application Load Balancers] The IPAM pool in use by the load balancer, if configured.

    *)
  2. enable_prefix_for_ipv6_source_nat : enable_prefix_for_ipv6_source_nat_enum option;
    (*

    [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be dualstack. The default value is off.

    *)
  3. customer_owned_ipv4_pool : customer_owned_ipv4_pool option;
    (*

    [Application Load Balancers on Outposts] The ID of the customer-owned address pool.

    *)
  4. ip_address_type : ip_address_type option;
    (*

    The type of IP addresses used for public or private connections by the subnets attached to your load balancer.

    [Application Load Balancers] The possible values are ipv4 (IPv4 addresses), dualstack (IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (public IPv6 addresses and private IPv4 and IPv6 addresses).

    [Network Load Balancers and Gateway Load Balancers] The possible values are ipv4 (IPv4 addresses) and dualstack (IPv4 and IPv6 addresses).

    *)
  5. security_groups : security_groups option;
    (*

    The IDs of the security groups for the load balancer.

    *)
  6. availability_zones : availability_zones option;
    (*

    The subnets for the load balancer.

    *)
  7. type_ : load_balancer_type_enum option;
    (*

    The type of load balancer.

    *)
  8. state : load_balancer_state option;
    (*

    The state of the load balancer.

    *)
  9. vpc_id : vpc_id option;
    (*

    The ID of the VPC for the load balancer.

    *)
  10. scheme : load_balancer_scheme_enum option;
    (*

    The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.

    The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.

    *)
  11. load_balancer_name : load_balancer_name option;
    (*

    The name of the load balancer.

    *)
  12. created_time : created_time option;
    (*

    The date and time the load balancer was created.

    *)
  13. canonical_hosted_zone_id : canonical_hosted_zone_id option;
    (*

    The ID of the Amazon Route 53 hosted zone associated with the load balancer.

    *)
  14. dns_name : dns_name option;
    (*

    The public DNS name of the load balancer.

    *)
  15. load_balancer_arn : load_balancer_arn option;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}

Information about a load balancer.

type nonrec load_balancers = load_balancer list
type nonrec load_balancer_names = load_balancer_name list
type nonrec listener_arns = listener_arn list
type nonrec describe_target_health_input_include_enum =
  1. | ALL
  2. | ANOMALY
type nonrec list_of_describe_target_health_include_options = describe_target_health_input_include_enum list
type nonrec limit = {
  1. max : max option;
    (*

    The maximum value of the limit.

    *)
  2. name : name option;
    (*

    The name of the limit.

    *)
}

Information about an Elastic Load Balancing resource limit for your Amazon Web Services account.

For more information, see the following:

type nonrec limits = limit list
type nonrec invalid_scheme_exception = {
  1. message : error_description option;
}

The requested scheme is not valid.

type nonrec invalid_revocation_content_exception = {
  1. message : error_description option;
}

The provided revocation file is an invalid format, or uses an incorrect algorithm.

type nonrec health_unavailable_exception = {
  1. message : error_description option;
}

The health of the specified targets could not be retrieved due to an internal error.

type nonrec get_trust_store_revocation_content_output = {
  1. location : location option;
    (*

    The revocation files Amazon S3 URI.

    *)
}
type nonrec get_trust_store_revocation_content_input = {
  1. revocation_id : revocation_id;
    (*

    The revocation ID of the revocation file.

    *)
  2. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec get_trust_store_ca_certificates_bundle_output = {
  1. location : location option;
    (*

    The ca certificate bundles Amazon S3 URI.

    *)
}
type nonrec get_trust_store_ca_certificates_bundle_input = {
  1. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec get_resource_policy_output = {
  1. policy : policy option;
    (*

    The content of the resource policy.

    *)
}
type nonrec get_resource_policy_input = {
  1. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec describe_trust_stores_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. trust_stores : trust_stores option;
    (*

    Information about the trust stores.

    *)
}
type nonrec describe_trust_stores_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  3. names : trust_store_names option;
    (*

    The names of the trust stores.

    *)
  4. trust_store_arns : trust_store_arns option;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec describe_trust_store_revocation = {
  1. number_of_revoked_entries : number_of_revoked_entries option;
    (*

    The number of revoked certificates.

    *)
  2. revocation_type : revocation_type option;
    (*

    The type of revocation file.

    *)
  3. revocation_id : revocation_id option;
    (*

    The revocation ID of a revocation file in use.

    *)
  4. trust_store_arn : trust_store_arn option;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}

Information about the revocations used by a trust store.

type nonrec describe_trust_store_revocation_response = describe_trust_store_revocation list
type nonrec describe_trust_store_revocations_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. trust_store_revocations : describe_trust_store_revocation_response option;
    (*

    Information about the revocation file in the trust store.

    *)
}
type nonrec describe_trust_store_revocations_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  3. revocation_ids : revocation_ids option;
    (*

    The revocation IDs of the revocation files you want to describe.

    *)
  4. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec describe_trust_store_associations_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. trust_store_associations : trust_store_associations option;
    (*

    Information about the resources the trust store is associated to.

    *)
}
type nonrec describe_trust_store_associations_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  3. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec describe_target_health_output = {
  1. target_health_descriptions : target_health_descriptions option;
    (*

    Information about the health of the targets.

    *)
}
type nonrec describe_target_health_input = {
  1. include_ : list_of_describe_target_health_include_options option;
    (*

    Used to include anomaly detection information.

    *)
  2. targets : target_descriptions option;
    (*

    The targets.

    *)
  3. target_group_arn : target_group_arn;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}
type nonrec describe_target_groups_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. target_groups : target_groups option;
    (*

    Information about the target groups.

    *)
}
type nonrec describe_target_groups_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  3. names : target_group_names option;
    (*

    The names of the target groups.

    *)
  4. target_group_arns : target_group_arns option;
    (*

    The Amazon Resource Names (ARN) of the target groups.

    *)
  5. load_balancer_arn : load_balancer_arn option;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec describe_target_group_attributes_output = {
  1. attributes : target_group_attributes option;
    (*

    Information about the target group attributes

    *)
}
type nonrec describe_target_group_attributes_input = {
  1. target_group_arn : target_group_arn;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}
type nonrec describe_tags_output = {
  1. tag_descriptions : tag_descriptions option;
    (*

    Information about the tags.

    *)
}
type nonrec describe_tags_input = {
  1. resource_arns : resource_arns;
    (*

    The Amazon Resource Names (ARN) of the resources. You can specify up to 20 resources in a single call.

    *)
}
type nonrec describe_ssl_policies_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. ssl_policies : ssl_policies option;
    (*

    Information about the security policies.

    *)
}
type nonrec describe_ssl_policies_input = {
  1. load_balancer_type : load_balancer_type_enum option;
    (*

    The type of load balancer. The default lists the SSL policies for all load balancers.

    *)
  2. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  3. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  4. names : ssl_policy_names option;
    (*

    The names of the policies.

    *)
}
type nonrec describe_rules_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. rules : rules option;
    (*

    Information about the rules.

    *)
}
type nonrec describe_rules_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  3. rule_arns : rule_arns option;
    (*

    The Amazon Resource Names (ARN) of the rules.

    *)
  4. listener_arn : listener_arn option;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}
type nonrec describe_load_balancers_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. load_balancers : load_balancers option;
    (*

    Information about the load balancers.

    *)
}
type nonrec describe_load_balancers_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  3. names : load_balancer_names option;
    (*

    The names of the load balancers.

    *)
  4. load_balancer_arns : load_balancer_arns option;
    (*

    The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a single call.

    *)
}
type nonrec describe_load_balancer_attributes_output = {
  1. attributes : load_balancer_attributes option;
    (*

    Information about the load balancer attributes.

    *)
}
type nonrec describe_load_balancer_attributes_input = {
  1. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec describe_listeners_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. listeners : listeners option;
    (*

    Information about the listeners.

    *)
}
type nonrec describe_listeners_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  3. listener_arns : listener_arns option;
    (*

    The Amazon Resource Names (ARN) of the listeners.

    *)
  4. load_balancer_arn : load_balancer_arn option;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec describe_listener_certificates_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. certificates : certificate_list option;
    (*

    Information about the certificates.

    *)
}
type nonrec describe_listener_certificates_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
  3. listener_arn : listener_arn;
    (*

    The Amazon Resource Names (ARN) of the listener.

    *)
}
type nonrec describe_listener_attributes_output = {
  1. attributes : listener_attributes option;
    (*

    Information about the listener attributes.

    *)
}
type nonrec describe_listener_attributes_input = {
  1. listener_arn : listener_arn;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}
type nonrec describe_capacity_reservation_output = {
  1. capacity_reservation_state : zonal_capacity_reservation_states option;
    (*

    The state of the capacity reservation.

    *)
  2. minimum_load_balancer_capacity : minimum_load_balancer_capacity option;
    (*

    The requested minimum capacity reservation for the load balancer

    *)
  3. decrease_requests_remaining : decrease_requests_remaining option;
    (*

    The amount of daily capacity decreases remaining.

    *)
  4. last_modified_time : last_modified_time option;
    (*

    The last time the capacity reservation was modified.

    *)
}
type nonrec describe_capacity_reservation_input = {
  1. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec describe_account_limits_output = {
  1. next_marker : marker option;
    (*

    If there are additional results, this is the marker for the next set of results. Otherwise, this is null.

    *)
  2. limits : limits option;
    (*

    Information about the limits.

    *)
}
type nonrec describe_account_limits_input = {
  1. page_size : page_size option;
    (*

    The maximum number of results to return with this call.

    *)
  2. marker : marker option;
    (*

    The marker for the next set of results. (You received this marker from a previous call.)

    *)
}
type nonrec deregister_targets_output = unit
type nonrec deregister_targets_input = {
  1. targets : target_descriptions;
    (*

    The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.

    *)
  2. target_group_arn : target_group_arn;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}
type nonrec delete_trust_store_output = unit
type nonrec delete_trust_store_input = {
  1. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec delete_target_group_output = unit
type nonrec delete_target_group_input = {
  1. target_group_arn : target_group_arn;
    (*

    The Amazon Resource Name (ARN) of the target group.

    *)
}
type nonrec delete_association_same_account_exception = {
  1. message : error_description option;
}

The specified association can't be within the same account.

type nonrec delete_shared_trust_store_association_output = unit
type nonrec delete_shared_trust_store_association_input = {
  1. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
  2. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec delete_rule_output = unit
type nonrec delete_rule_input = {
  1. rule_arn : rule_arn;
    (*

    The Amazon Resource Name (ARN) of the rule.

    *)
}
type nonrec delete_load_balancer_output = unit
type nonrec delete_load_balancer_input = {
  1. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec delete_listener_output = unit
type nonrec delete_listener_input = {
  1. listener_arn : listener_arn;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}
type nonrec duplicate_trust_store_name_exception = {
  1. message : error_description option;
}

A trust store with the specified name already exists.

type nonrec duplicate_tag_keys_exception = {
  1. message : error_description option;
}

A tag key was specified more than once.

type nonrec create_trust_store_output = {
  1. trust_stores : trust_stores option;
    (*

    Information about the trust store created.

    *)
}
type nonrec create_trust_store_input = {
  1. tags : tag_list option;
    (*

    The tags to assign to the trust store.

    *)
  2. ca_certificates_bundle_s3_object_version : s3_object_version option;
    (*

    The Amazon S3 object version for the ca certificates bundle. If undefined the current version is used.

    *)
  3. ca_certificates_bundle_s3_key : s3_key;
    (*

    The Amazon S3 path for the ca certificates bundle.

    *)
  4. ca_certificates_bundle_s3_bucket : s3_bucket;
    (*

    The Amazon S3 bucket for the ca certificates bundle.

    *)
  5. name : trust_store_name;
    (*

    The name of the trust store.

    This name must be unique per region and can't be changed after creation.

    *)
}
type nonrec duplicate_target_group_name_exception = {
  1. message : error_description option;
}

A target group with the specified name already exists.

type nonrec create_target_group_output = {
  1. target_groups : target_groups option;
    (*

    Information about the target group.

    *)
}
type nonrec create_target_group_input = {
  1. target_control_port : target_control_port option;
    (*

    The port on which the target control agent and application load balancer exchange management traffic for the target optimizer feature.

    *)
  2. ip_address_type : target_group_ip_address_type_enum option;
    (*

    The IP address type. The default value is ipv4.

    *)
  3. tags : tag_list option;
    (*

    The tags to assign to the target group.

    *)
  4. target_type : target_type_enum option;
    (*

    The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

    • instance - Register targets by instance ID. This is the default value.
    • ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.
    • lambda - Register a single Lambda function as a target.
    • alb - Register a single Application Load Balancer as a target.
    *)
  5. matcher : matcher option;
    (*

    [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP, QUIC, TCP_QUIC, or TLS the range is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target groups with a protocol of GENEVE, the range is 200-399.

    *)
  6. unhealthy_threshold_count : health_check_threshold_count option;
    (*

    The number of consecutive health check failures required before considering a target unhealthy. The range is 2-10. If the target group protocol is TCP, TCP_UDP, UDP, TLS, QUIC, TCP_QUIC, HTTP or HTTPS, the default is 2. For target groups with a protocol of GENEVE, the default is 2. If the target type is lambda, the default is 5.

    *)
  7. healthy_threshold_count : health_check_threshold_count option;
    (*

    The number of consecutive health check successes required before considering a target healthy. The range is 2-10. If the target group protocol is TCP, TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 5. For target groups with a protocol of GENEVE, the default is 5. If the target type is lambda, the default is 5.

    *)
  8. health_check_timeout_seconds : health_check_timeout_seconds option;
    (*

    The amount of time, in seconds, during which no response from a target means a failed health check. The range is 2–120 seconds. For target groups with a protocol of HTTP, the default is 6 seconds. For target groups with a protocol of TCP, TLS or HTTPS, the default is 10 seconds. For target groups with a protocol of GENEVE, the default is 5 seconds. If the target type is lambda, the default is 30 seconds.

    *)
  9. health_check_interval_seconds : health_check_interval_seconds option;
    (*

    The approximate amount of time, in seconds, between health checks of an individual target. The range is 5-300. If the target group protocol is TCP, TLS, UDP, TCP_UDP, QUIC, TCP_QUIC, HTTP or HTTPS, the default is 30 seconds. If the target group protocol is GENEVE, the default is 10 seconds. If the target type is lambda, the default is 35 seconds.

    *)
  10. health_check_path : path option;
    (*

    [HTTP/HTTPS health checks] The destination for health checks on the targets.

    [HTTP1 or HTTP2 protocol version] The ping path. The default is /.

    [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.

    *)
  11. health_check_enabled : health_check_enabled option;
    (*

    Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance, ip, or alb, health checks are always enabled and can't be disabled.

    *)
  12. health_check_port : health_check_port option;
    (*

    The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, QUIC, or TCP_QUIC the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

    *)
  13. health_check_protocol : protocol_enum option;
    (*

    The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, TCP_UDP, QUIC, and TCP_QUIC protocols are not supported for health checks.

    *)
  14. vpc_id : vpc_id option;
    (*

    The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

    *)
  15. port : port option;
    (*

    The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.

    *)
  16. protocol_version : protocol_version option;
    (*

    [HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

    *)
  17. protocol : protocol_enum option;
    (*

    The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, TCP_UDP, QUIC, or TCP_QUIC. For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. A TCP_QUIC listener must be associated with a TCP_QUIC target group. If the target is a Lambda function, this parameter does not apply.

    *)
  18. name : target_group_name;
    (*

    The name of the target group.

    This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

    *)
}
type nonrec create_rule_output = {
  1. rules : rules option;
    (*

    Information about the rule.

    *)
}
type nonrec create_rule_input = {
  1. transforms : rule_transform_list option;
    (*

    The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform.

    *)
  2. tags : tag_list option;
    (*

    The tags to assign to the rule.

    *)
  3. actions : actions;
    (*

    The actions.

    *)
  4. priority : rule_priority;
    (*

    The rule priority. A listener can't have multiple rules with the same priority.

    *)
  5. conditions : rule_condition_list;
    (*

    The conditions.

    *)
  6. listener_arn : listener_arn;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}
type nonrec duplicate_load_balancer_name_exception = {
  1. message : error_description option;
}

A load balancer with the specified name already exists.

type nonrec create_load_balancer_output = {
  1. load_balancers : load_balancers option;
    (*

    Information about the load balancer.

    *)
}
type nonrec create_load_balancer_input = {
  1. ipam_pools : ipam_pools option;
    (*

    [Application Load Balancers] The IPAM pools to use with the load balancer.

    *)
  2. enable_prefix_for_ipv6_source_nat : enable_prefix_for_ipv6_source_nat_enum option;
    (*

    [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be dualstack. The default value is off.

    *)
  3. customer_owned_ipv4_pool : customer_owned_ipv4_pool option;
    (*

    [Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP pool).

    *)
  4. ip_address_type : ip_address_type option;
    (*

    The IP address type. Internal load balancers must use ipv4.

    [Application Load Balancers] The possible values are ipv4 (IPv4 addresses), dualstack (IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (public IPv6 addresses and private IPv4 and IPv6 addresses).

    [Network Load Balancers and Gateway Load Balancers] The possible values are ipv4 (IPv4 addresses) and dualstack (IPv4 and IPv6 addresses).

    *)
  5. type_ : load_balancer_type_enum option;
    (*

    The type of load balancer. The default is application.

    *)
  6. tags : tag_list option;
    (*

    The tags to assign to the load balancer.

    *)
  7. scheme : load_balancer_scheme_enum option;
    (*

    The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.

    The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.

    The default is an Internet-facing load balancer.

    You can't specify a scheme for a Gateway Load Balancer.

    *)
  8. security_groups : security_groups option;
    (*

    [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.

    *)
  9. subnet_mappings : subnet_mappings option;
    (*

    The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both.

    [Application Load Balancers] You must specify subnets from at least two Availability Zones. You can't specify Elastic IP addresses for your subnets.

    [Application Load Balancers on Outposts] You must specify one Outpost subnet.

    [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.

    [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.

    [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You can't specify Elastic IP addresses for your subnets.

    *)
  10. subnets : subnets option;
    (*

    The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets.

    [Application Load Balancers] You must specify subnets from at least two Availability Zones.

    [Application Load Balancers on Outposts] You must specify one Outpost subnet.

    [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.

    [Network Load Balancers and Gateway Load Balancers] You can specify subnets from one or more Availability Zones.

    *)
  11. name : load_balancer_name;
    (*

    The name of the load balancer.

    This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with "internal-".

    *)
}
type nonrec create_listener_output = {
  1. listeners : listeners option;
    (*

    Information about the listener.

    *)
}
type nonrec create_listener_input = {
  1. mutual_authentication : mutual_authentication_attributes option;
    (*

    [HTTPS listeners] The mutual authentication configuration information.

    *)
  2. tags : tag_list option;
    (*

    The tags to assign to the listener.

    *)
  3. alpn_policy : alpn_policy_name option;
    (*

    [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

    • HTTP1Only
    • HTTP2Only
    • HTTP2Optional
    • HTTP2Preferred
    • None

    For more information, see ALPN policies in the Network Load Balancers Guide.

    *)
  4. default_actions : actions;
    (*

    The actions for the default rule.

    *)
  5. certificates : certificate_list option;
    (*

    [HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

    *)
  6. ssl_policy : ssl_policy_name option;
    (*

    [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

    For more information, see Security policies in the Application Load Balancers Guide and Security policies in the Network Load Balancers Guide.

    *)
  7. port : port option;
    (*

    The port on which the load balancer is listening. You can't specify a port for a Gateway Load Balancer.

    *)
  8. protocol : protocol_enum option;
    (*

    The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, TCP_UDP, QUIC, and TCP_QUIC. You can’t specify the UDP, TCP_UDP, QUIC, or TCP_QUIC protocol if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.

    *)
  9. load_balancer_arn : load_balancer_arn;
    (*

    The Amazon Resource Name (ARN) of the load balancer.

    *)
}
type nonrec add_trust_store_revocations_output = {
  1. trust_store_revocations : trust_store_revocations option;
    (*

    Information about the revocation file added to the trust store.

    *)
}
type nonrec add_trust_store_revocations_input = {
  1. revocation_contents : revocation_contents option;
    (*

    The revocation file to add.

    *)
  2. trust_store_arn : trust_store_arn;
    (*

    The Amazon Resource Name (ARN) of the trust store.

    *)
}
type nonrec add_tags_output = unit
type nonrec add_tags_input = {
  1. tags : tag_list;
    (*

    The tags.

    *)
  2. resource_arns : resource_arns;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec add_listener_certificates_output = {
  1. certificates : certificate_list option;
    (*

    Information about the certificates in the certificate list.

    *)
}
type nonrec add_listener_certificates_input = {
  1. certificates : certificate_list;
    (*

    The certificate to add. You can specify one certificate per call. Set CertificateArn to the certificate ARN but do not set IsDefault.

    *)
  2. listener_arn : listener_arn;
    (*

    The Amazon Resource Name (ARN) of the listener.

    *)
}