{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-describe-internet-gateways-request-schema.json",
  "title": "DescribeInternetGatewaysRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-internet-gateway-api-openapi.yml#/components/schemas/DescribeInternetGatewaysRequest",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination."
    },
    "DryRun": {
      "type": "boolean",
      "description": "Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation."
    },
    "InternetGatewayIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IDs of the internet gateways. Default: Describes all your internet gateways."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "The filters. attachment.state - The current state of the attachment between the gateway and the VPC (available). Present only if a VPC is attached. attachment.vpc-id - The ID of an attached VPC. internet-gateway-id - The ID of the Internet gateway. owner-id - The ID of the Amazon Web Services account that owns the internet gateway. tag - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter n"
    }
  },
  "$defs": {
    "Filter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the filter. Filter names are case-sensitive."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values."
        }
      }
    }
  }
}