Amazon Elastic Load Balancing Load Balancers API

Operations for creating and managing load balancers

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /?Action=CreateLoadBalancer Create an Application, Network or Gateway Load Balancer · Create Load Balancer #
Ask an LLM
“How do I create an Application Load Balancer in a VPC?”
“Can I create a load balancer that uses customer-owned IPv4 addresses?”
Tell an agent
Create a load balancer named {name} of type {type}.
Create a load balancer {name} in subnets {subnets}.
POST /?Action=DeleteLoadBalancer Delete a load balancer · Delete Load Balancer #
Ask an LLM
“How do I delete an Application Load Balancer?”
“Does deleting a load balancer also remove its listeners?”
Tell an agent destructive · confirm first
Delete load balancer {load_balancer_arn}.
Remove the Application Load Balancer {load_balancer_arn}.
POST /?Action=DescribeLoadBalancers List or describe load balancers · Describe Load Balancers #
Ask an LLM
“Which Application Load Balancers do I have?”
“Can I look up a load balancer by name?”
Tell an agent
Describe load balancers {names}.
Show the load balancers with ARNs {load_balancer_arns}.
POST /?Action=AttachLoadBalancerToSubnets Add subnets to a load balancer · Attach Load Balancer To Subnets #
Ask an LLM
“How do I add more subnets to an existing load balancer?”
“Can I attach a load balancer to a subnet in another Availability Zone?”
Tell an agent
Attach load balancer {load_balancer_name} to subnets {subnets}.
Add subnets {subnets} to the load balancer {load_balancer_name}.
POST /?Action=DetachLoadBalancerFromSubnets Remove subnets from a load balancer · Detach Load Balancer From Subnets #
Ask an LLM
“How do I remove a subnet from a load balancer?”
“What happens to targets in a subnet I detach?”
Tell an agent
Detach subnets {subnets} from load balancer {load_balancer_name}.
Remove load balancer {load_balancer_name} from subnets {subnets}.
POST /?Action=ModifyLoadBalancerAttributes Change a load balancer's attributes · Modify Load Balancer Attributes #
Ask an LLM
“How do I change the attributes of an Application Load Balancer?”
“Can I modify load balancer attributes without recreating it?”
Tell an agent
Modify the attributes of load balancer {load_balancer_arn} to {attributes}.
Update load balancer {load_balancer_arn} with attributes {attributes}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-elastic-load-balancing:amazon-elastic-load-balancing-load-balancers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-elastic-load-balancing-load-balancers-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Elastic Load Balancing Load Balancers API
  version: '2015-12-01'
  description: Generated from AWS's published Smithy model for Elastic Load Balancing. 6 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://elasticloadbalancing.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /?Action=CreateLoadBalancer:
    post:
      operationId: CreateLoadBalancer
      summary: Create Load Balancer
      description: 'Creates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. For more information,
        see the following: Application Load Balancers Network Load Balancers Gateway Load Balancers This operation is idempotent,
        which means that it completes at most one time. If you attempt to create multiple load balancers with the same settings,
        each call succeeds.'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/CreateLoadBalancerOutput'
              example:
                LoadBalancers:
                - VpcId: vpc-3ac0fb5f
                  LoadBalancerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
                  State:
                    Code: provisioning
                  DNSName: my-load-balancer-424835706.us-west-2.elb.amazonaws.com
                  SecurityGroups:
                  - sg-5943793c
                  LoadBalancerName: my-load-balancer
                  CreatedTime: '2016-03-25T21:26:12.920Z'
                  Scheme: internet-facing
                  Type: application
                  CanonicalHostedZoneId: Z2P70J7EXAMPLE
                  AvailabilityZones:
                  - SubnetId: subnet-8360a9e7
                    ZoneName: us-west-2a
                  - SubnetId: subnet-b7d581c0
                    ZoneName: us-west-2b
        '400':
          description: AllocationIdNotFoundException; AvailabilityZoneNotSupportedException; DuplicateLoadBalancerNameException;
            DuplicateTagKeysException; InvalidConfigurationRequestException; InvalidSchemeException; InvalidSecurityGroupException;
            InvalidSubnetException; OperationNotPermittedException; ResourceInUseException; SubnetNotFoundException; TooManyLoadBalancersException;
            TooManyTagsException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AllocationIdNotFoundException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: CreateLoadBalancer
                  Version:
                    type: string
                    const: '2015-12-01'
              - $ref: '#/components/schemas/CreateLoadBalancerInput'
            example:
              Name: my-load-balancer
              Subnets:
              - subnet-b7d581c0
              - subnet-8360a9e7
      tags:
      - Load Balancers
  /?Action=DeleteLoadBalancer:
    post:
      operationId: DeleteLoadBalancer
      summary: Delete Load Balancer
      description: Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting
        a load balancer also deletes its listeners. You can't delete a load balancer if deletion protection is enabled. If
        the load balancer does not exist or has already been deleted, the call succeeds. Deleting a load balancer does not
        affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target
        groups. If you no longer need these EC2 instances, you can stop or terminate them.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DeleteLoadBalancerOutput'
        '400':
          description: LoadBalancerNotFoundException; OperationNotPermittedException; ResourceInUseException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/LoadBalancerNotFoundException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteLoadBalancer
                  Version:
                    type: string
                    const: '2015-12-01'
              - $ref: '#/components/schemas/DeleteLoadBalancerInput'
            example:
              LoadBalancerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
      tags:
      - Load Balancers
  /?Action=DescribeLoadBalancers:
    post:
      operationId: DescribeLoadBalancers
      summary: Describe Load Balancers
      description: Describes the specified load balancers or all of your load balancers.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DescribeLoadBalancersOutput'
              example:
                LoadBalancers:
                - VpcId: vpc-3ac0fb5f
                  LoadBalancerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
                  State:
                    Code: active
                  DNSName: my-load-balancer-424835706.us-west-2.elb.amazonaws.com
                  SecurityGroups:
                  - sg-5943793c
                  LoadBalancerName: my-load-balancer
                  CreatedTime: '2016-03-25T21:26:12.920Z'
                  Scheme: internet-facing
                  Type: application
                  CanonicalHostedZoneId: Z2P70J7EXAMPLE
                  AvailabilityZones:
                  - SubnetId: subnet-8360a9e7
                    ZoneName: us-west-2a
                  - SubnetId: subnet-b7d581c0
                    ZoneName: us-west-2b
        '400':
          description: LoadBalancerNotFoundException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/LoadBalancerNotFoundException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DescribeLoadBalancers
                  Version:
                    type: string
                    const: '2015-12-01'
              - $ref: '#/components/schemas/DescribeLoadBalancersInput'
            example:
              LoadBalancerArns:
              - arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
      tags:
      - Load Balancers
  /?Action=AttachLoadBalancerToSubnets:
    post:
      operationId: AttachLoadBalancerToSubnets
      summary: Attach Load Balancer To Subnets
      description: Adds one or more subnets to the set of configured subnets for the specified load balancer. The load balancer
        evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your
        Load Balancer in a VPC in the Classic Load Balancers Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AttachLoadBalancerToSubnetsOutput'
              example:
                Subnets:
                - subnet-15aaab61
                - subnet-0ecac448
        '400':
          description: AccessPointNotFoundException; InvalidSubnetException; SubnetNotFoundException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AccessPointNotFoundException'
        '409':
          description: InvalidConfigurationRequestException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidConfigurationRequestException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: AttachLoadBalancerToSubnets
                  Version:
                    type: string
                    const: '2012-06-01'
              - $ref: '#/components/schemas/AttachLoadBalancerToSubnetsInput'
            example:
              LoadBalancerName: my-load-balancer
              Subnets:
              - subnet-0ecac448
      tags:
      - Load Balancers
      servers:
      - url: https://elasticloadbalancing.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
  /?Action=DetachLoadBalancerFromSubnets:
    post:
      operationId: DetachLoadBalancerFromSubnets
      summary: Detach Load Balancer From Subnets
      description: Removes the specified subnets from the set of configured subnets for the load balancer. After a subnet
        is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state.
        Then, the load balancer balances the traffic among the remaining routable subnets.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DetachLoadBalancerFromSubnetsOutput'
              example:
                Subnets:
                - subnet-15aaab61
        '400':
          description: AccessPointNotFoundException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/AccessPointNotFoundException'
        '409':
          description: InvalidConfigurationRequestException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidConfigurationRequestException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DetachLoadBalancerFromSubnets
                  Version:
                    type: string
                    const: '2012-06-01'
              - $ref: '#/components/schemas/DetachLoadBalancerFromSubnetsInput'
            example:
              LoadBalancerName: my-load-balancer
              Subnets:
              - subnet-0ecac448
      tags:
      - Load Balancers
      servers:
      - url: https://elasticloadbalancing.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
  /?Action=ModifyLoadBalancerAttributes:
    post:
      operationId: ModifyLoadBalancerAttributes
      summary: Modify Load Balancer Attributes
      description: Modifies the specified attributes of the specified Application Load Balancer, Network Load Balancer, or
        Gateway Load Balancer. If any of the specified attributes can't be modified as requested, the call fails. Any existing
        attributes that you do not modify retain their current values.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ModifyLoadBalancerAttributesOutput'
              example:
                Attributes:
                - Value: 'true'
                  Key: deletion_protection.enabled
                - Value: 'false'
                  Key: access_logs.s3.enabled
                - Value: '60'
                  Key: idle_timeout.timeout_seconds
                - Value: ''
                  Key: access_logs.s3.prefix
                - Value: ''
                  Key: access_logs.s3.bucket
        '400':
          description: InvalidConfigurationRequestException; LoadBalancerNotFoundException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidConfigurationRequestException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ModifyLoadBalancerAttributes
                  Version:
                    type: string
                    const: '2015-12-01'
              - $ref: '#/components/schemas/ModifyLoadBalancerAttributesInput'
            example:
              LoadBalancerArn: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188
              Attributes:
              - Key: deletion_protection.enabled
                Value: 'true'
      tags:
      - Load Balancers
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: elasticloadbalancing
  schemas:
    AccessPointNotFoundException:
      type: object
      properties:
        Message:
          type: string
    AllocationIdNotFoundException:
      type: object
      properties:
        Message:
          type: string
    AttachLoadBalancerToSubnetsInput:
      type: object
      properties:
        LoadBalancerName:
          type: string
          description: The name of the load balancer.
        Subnets:
          type: array
          items:
            type: string
          description: The IDs of the subnets to add. You can add only one subnet per Availability Zone.
      required:
      - LoadBalancerName
      - Subnets
    AttachLoadBalancerToSubnetsOutput:
      type: object
      properties:
        Subnets:
          type: array
          items:
            type: string
          description: The IDs of the subnets attached to the load balancer.
    AvailabilityZone:
      type: object
      properties:
        ZoneName:
          type: string
          description: The name of the Availability Zone.
        SubnetId:
          type: string
          description: The ID of the subnet. You can specify one subnet per Availability Zone.
        OutpostId:
          type: string
          description: '[Application Load Balancers on Outposts] The ID of the Outpost.'
        LoadBalancerAddresses:
          type: array
          items:
            $ref: '#/components/schemas/LoadBalancerAddress'
          description: '[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.'
        SourceNatIpv6Prefixes:
          type: array
          items:
            type: string
          description: '[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.'
    CreateLoadBalancerInput:
      type: object
      properties:
        Name:
          type: string
          description: 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-".
        Subnets:
          type: array
          items:
            type: string
          description: 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 Zon
        SubnetMappings:
          type: array
          items:
            $ref: '#/components/schemas/SubnetMapping'
          description: 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 s
        SecurityGroups:
          type: array
          items:
            type: string
          description: '[Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load
            balancer.'
        Scheme:
          type: string
          enum:
          - internet-facing
          - internal
          description: 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
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The tags to assign to the load balancer.
        Type:
          type: string
          enum:
          - application
          - network
          - gateway
          description: The type of load balancer. The default is application.
        IpAddressType:
          type: string
          enum:
          - ipv4
          - dualstack
          - dualstack-without-public-ipv4
          description: 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).
        CustomerOwnedIpv4Pool:
          type: string
          description: '[Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP pool).'
        EnablePrefixForIpv6SourceNat:
          type: string
          enum:
          - 'on'
          - 'off'
          description: '[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.'
        IpamPools:
          $ref: '#/components/schemas/IpamPools'
      required:
      - Name
    CreateLoadBalancerOutput:
      type: object
      properties:
        LoadBalancers:
          type: array
          items:
            $ref: '#/components/schemas/LoadBalancer'
          description: Information about the load balancer.
    DeleteLoadBalancerInput:
      type: object
      properties:
        LoadBalancerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the load balancer.
      required:
      - LoadBalancerArn
    DeleteLoadBalancerOutput:
      type: object
      properties: {}
    DescribeLoadBalancersInput:
      type: object
      properties:
        LoadBalancerArns:
          type: array
          items:
            type: string
          description: The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20 load balancers in a
            single call.
        Names:
          type: array
          items:
            type: string
          description: The names of the load balancers.
        Marker:
          type: string
          description: The marker for the next set of results. (You received this marker from a previous call.)
        PageSize:
          type: integer
          description: The maximum number of results to return with this call.
    DescribeLoadBalancersOutput:
      type: object
      properties:
        LoadBalancers:
          type: array
          items:
            $ref: '#/components/schemas/LoadBalancer'
          description: Information about the load balancers.
        NextMarker:
          type: string
          description: If there are additional results, this is the marker for the next set of results. Otherwise, this is
            null.
    DetachLoadBalancerFromSubnetsInput:
      type: object
      properties:
        LoadBalancerName:
          type: string
          description: The name of the load balancer.
        Subnets:
          type: array
          items:
            type: string
          description: The IDs of the subnets.
      required:
      - LoadBalancerName
      - Subnets
    DetachLoadBalancerFromSubnetsOutput:
      type: object
      properties:
        Subnets:
          type: array
          items:
            type: string
          description: The IDs of the remaining subnets for the load balancer.
    InvalidConfigurationRequestException:
      type: object
      properties:
        Message:
          type: string
    IpamPools:
      type: object
      properties:
        Ipv4IpamPoolId:
          type: string
          description: The ID of the IPv4 IPAM pool.
    LoadBalancer:
      type: object
      properties:
        LoadBalancerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the load balancer.
        DNSName:
          type: string
          description: The public DNS name of the load balancer.
        CanonicalHostedZoneId:
          type: string
          description: The ID of the Amazon Route 53 hosted zone associated with the load balancer.
        CreatedTime:
          type: string
          format: date-time
          description: The date and time the load balancer was created.
        LoadBalancerName:
          type: string
          description: The name of the load balancer.
        Scheme:
          type: string
          enum:
          - internet-facing
          - internal
          description: 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.
        VpcId:
          type: string
          description: The ID of the VPC for the load balancer.
        State:
          $ref: '#/components/schemas/LoadBalancerState'
        Type:
          type: string
          enum:
          - application
          - network
          - gateway
          description: The type of load balancer.
        AvailabilityZones:
          type: array
          items:
            $ref: '#/components/schemas/AvailabilityZone'
          description: The subnets for the load balancer.
        SecurityGroups:
          type: array
          items:
            type: string
          description: The IDs of the security groups for the load balancer.
        IpAddressType:
          type: string
          enum:
          - ipv4
          - dualstack
          - dualstack-without-public-ipv4
          description: 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).
        CustomerOwnedIpv4Pool:
          type: string
          description: '[Application Load Balancers on Outposts] The ID of the customer-owned address pool.'
        EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic:
          type: string
          description: Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer
            through Amazon Web Services PrivateLink.
        EnablePrefixForIpv6SourceNat:
          type: string
          enum:
          - 'on'
          - 'off'
          description: '[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.'
        IpamPools:
          $ref: '#/components/schemas/IpamPools'
    LoadBalancerAddress:
      type: object
      properties:
        IpAddress:
          type: string
          description: The static IP address.
        AllocationId:
          type: string
          description: '[Network Load Balancers] The allocation ID of the Elastic IP address for an internal-facing load balancer.'
        PrivateIPv4Address:
          type: string
          description: '[Network Load Balancers] The private IPv4 address for an internal load balancer.'
        IPv6Address:
          type: string
          description: '[Network Load Balancers] The IPv6 address.'
    LoadBalancerAttribute:
      type: object
      properties:
        Key:
          type: string
          description: '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 Balancer'
        Value:
          type: string
          description: The value of the attribute.
    LoadBalancerNotFoundException:
      type: object
      properties:
        Message:
          type: string
    LoadBalancerState:
      type: object
      properties:
        Code:
          type: string
          enum:
          - active
          - provisioning
          - active_impaired
          - failed
          description: 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.
        Reason:
          type: string
          description: A description of the state.
    ModifyLoadBalancerAttributesInput:
      type: object
      properties:
        LoadBalancerArn:
          type: string
          description: The Amazon Resource Name (ARN) of the load balancer.
        Attributes:
          type: array
          items:
            $ref: '#/components/schemas/LoadBalancerAttribute'
          description: The load balancer attributes.
      required:
      - LoadBalancerArn
      - Attributes
    ModifyLoadBalancerAttributesOutput:
      type: object
      properties:
        Attributes:
          type: array
          items:
            $ref: '#/components/schemas/LoadBalancerAttribute'
          description: Information about the load balancer attributes.
    SubnetMapping:
      type: object
      properties:
        SubnetId:
          type: string
          description: The ID of the subnet.
        AllocationId:
          type: string
          description: '[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.'
        PrivateIPv4Address:
          type: string
          description: '[Network Load Balancers] The private IPv4 address for an internal load balancer.'
        IPv6Address:
          type: string
          description: '[Network Load Balancers] The IPv6 address.'
        SourceNatIpv6Prefix:
          type: string
          description: '[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.'
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key of the tag.
        Value:
          type: string
          description: The value of the tag.
      required:
      - Key
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/elastic-load-balancing-v2/service/2015-12-01/elastic-load-balancing-v2-2015-12-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)
  sources:
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/elastic-load-balancing-v2/service/2015-12-01/elastic-load-balancing-v2-2015-12-01.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/elastic-load-balancing/service/2012-06-01/elastic-load-balancing-2012-06-01.json