{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-list-connectors-request-schema.json",
  "title": "ListConnectorsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-connector-api-openapi.yml#/components/schemas/ListConnectorsRequest",
  "type": "object",
  "properties": {
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the nextToken value returned from this request."
    },
    "nextToken": {
      "type": "string",
      "description": "A token to use for paginating results. Set this value to null for the first request. For subsequent calls, use the nextToken value returned from the previous request."
    },
    "filterCriteria": {
      "$ref": "#/$defs/ConnectorFilterCriteria"
    }
  },
  "$defs": {
    "AwsConfigConnectorArnFilter": {
      "type": "object",
      "properties": {
        "comparison": {
          "type": "string",
          "enum": [
            "EQUALS"
          ],
          "description": "The comparison operator for the Amazon Web Services Config connector ARN filter."
        },
        "value": {
          "type": "string",
          "description": "The Amazon Web Services Config connector ARN value to filter by."
        }
      },
      "required": [
        "comparison",
        "value"
      ]
    },
    "ConnectorArnFilter": {
      "type": "object",
      "properties": {
        "comparison": {
          "type": "string",
          "enum": [
            "EQUALS"
          ],
          "description": "The comparison operator for the connector ARN filter."
        },
        "value": {
          "type": "string",
          "description": "The connector ARN value to filter by."
        }
      },
      "required": [
        "comparison",
        "value"
      ]
    },
    "ConnectorFilterCriteria": {
      "type": "object",
      "properties": {
        "connectorArns": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConnectorArnFilter"
          },
          "description": "Filter by connector ARNs."
        },
        "accounts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringFilter"
          },
          "description": "Filter by Amazon Web Services account IDs."
        },
        "awsConfigConnectorArns": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AwsConfigConnectorArnFilter"
          },
          "description": "Filter by Amazon Web Services Config connector ARNs."
        },
        "connectorType": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConnectorTypeFilter"
          },
          "description": "Filter by connector type."
        },
        "provider": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProviderFilter"
          },
          "description": "Filter by cloud provider."
        }
      }
    },
    "ConnectorTypeFilter": {
      "type": "object",
      "properties": {
        "comparison": {
          "type": "string",
          "enum": [
            "EQUALS"
          ],
          "description": "The comparison operator for the connector type filter."
        },
        "value": {
          "type": "string",
          "enum": [
            "CUSTOMER_MANAGED",
            "SERVICE_LINKED"
          ],
          "description": "The connector type value to filter by."
        }
      },
      "required": [
        "comparison",
        "value"
      ]
    },
    "ProviderFilter": {
      "type": "object",
      "properties": {
        "comparison": {
          "type": "string",
          "enum": [
            "EQUALS"
          ],
          "description": "The comparison operator for the provider filter."
        },
        "value": {
          "type": "string",
          "enum": [
            "AZURE"
          ],
          "description": "The cloud provider value to filter by."
        }
      },
      "required": [
        "comparison",
        "value"
      ]
    },
    "StringFilter": {
      "type": "object",
      "properties": {
        "comparison": {
          "type": "string",
          "description": "The operator to use when comparing values in the filter."
        },
        "value": {
          "type": "string",
          "description": "The value to filter on."
        }
      },
      "required": [
        "comparison",
        "value"
      ]
    }
  }
}