{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-describe-customer-gateways-request-schema.json",
  "title": "DescribeCustomerGatewaysRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-customer-gateway-api-openapi.yml#/components/schemas/DescribeCustomerGatewaysRequest",
  "type": "object",
  "properties": {
    "CustomerGatewayIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "One or more customer gateway IDs. Default: Describes all your customer gateways."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "One or more filters. bgp-asn - The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). customer-gateway-id - The ID of the customer gateway. ip-address - The IP address of the customer gateway device's external interface. state - The state of the customer gateway (pending | available | deleting | deleted). type - The type of customer gateway. Currently, the only supported type is ipsec.1. 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 th"
    },
    "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."
    }
  },
  "$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."
        }
      }
    }
  }
}