{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2-auto-scaling/json-schema/amazon-ec2-auto-scaling-describe-load-balancers-response-schema.json",
  "title": "DescribeLoadBalancersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-auto-scaling-load-balancer-api-openapi.yml#/components/schemas/DescribeLoadBalancersResponse",
  "type": "object",
  "properties": {
    "LoadBalancers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LoadBalancerState"
      },
      "description": "The load balancers."
    },
    "NextToken": {
      "type": "string",
      "description": "A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return."
    }
  },
  "$defs": {
    "LoadBalancerState": {
      "type": "object",
      "properties": {
        "LoadBalancerName": {
          "type": "string",
          "description": "The name of the load balancer."
        },
        "State": {
          "type": "string",
          "description": "One of the following load balancer states: Adding - The Auto Scaling instances are being registered with the load balancer. Added - All Auto Scaling instances are registered with the load balancer. InService - At least one Auto Scaling instance passed an ELB health check. Note that the load balancer enters this state immediately if you attach it in the CreateAutoScalingGroup API call. Removing - The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the ins"
        }
      }
    }
  }
}