{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2-image-builder/json-schema/amazon-ec2-image-builder-list-components-request-schema.json",
  "title": "ListComponentsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-image-builder-list-components-api-openapi.yml#/components/schemas/ListComponentsRequest",
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "enum": [
        "Self",
        "Shared",
        "Amazon",
        "ThirdParty",
        "AWSMarketplace"
      ],
      "description": "Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, components from the Amazon Web Services Marketplace, third party components, or components that other accounts have shared with you."
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "Use the following filters to streamline results: description name platform productCodes status supportedOsVersion type version"
    },
    "byName": {
      "type": "boolean",
      "description": "Specifies whether to return one entry per component name, with all versions of each component aggregated. Defaults to false, which returns one entry per component version. You can't combine this option with the version filter."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of items to return in a single request."
    },
    "nextToken": {
      "type": "string",
      "description": "A token to specify where to start paginating. Use the nextToken value from a previously truncated response."
    }
  },
  "$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."
        }
      }
    }
  }
}