Amazon EC2 Image Builder List Components API

The List Components API from Amazon EC2 Image Builder — 1 operation(s) for list components.

GitHub OpenAPI

Operations 1

POST /ListComponents List Components #

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-ec2-image-builder:amazon-ec2-image-builder-list-components-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-ec2-image-builder-list-components-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: EC2 Image Builder List Components API
  version: '2019-12-02'
  description: Generated from AWS's published Smithy model for EC2 Image Builder. 1 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://imagebuilder.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /ListComponents:
    post:
      operationId: ListComponents
      summary: List Components
      description: 'Returns the list of components that you have access to. By default, the response doesn''t include components
        in the DEPRECATED state. To list deprecated components, use the status filter with the value DEPRECATED. The semantic
        version has four nodes: ../. You can assign values for the first three, and can filter on all of them. Filtering:
        You can use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components
        for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListComponentsResponse'
              example:
                componentVersionList:
                - arn: arn:aws:imagebuilder:us-west-2:111122223333:component/my-example-component/1.0.0
                  name: my-example-component
                  version: 1.0.0
                  description: Installs my example application
                  platform: Linux
                  supportedOsVersions:
                  - Amazon Linux 2023
                  type: BUILD
                  owner: '111122223333'
                  dateCreated: '2026-09-09T18:31:49.661Z'
                  status: ACTIVE
                - arn: arn:aws:imagebuilder:us-west-2:111122223333:component/my-example-imported-component/1.0.0
                  name: my-example-imported-component
                  version: 1.0.0
                  description: Installs my application from an imported shell script
                  platform: Linux
                  type: BUILD
                  owner: '111122223333'
                  dateCreated: '2026-09-09T18:31:21.941Z'
                  status: ACTIVE
                - arn: arn:aws:imagebuilder:us-west-2:111122223333:component/my-example-test-component/1.0.0
                  name: my-example-test-component
                  version: 1.0.0
                  description: Verifies that my example application is installed
                  platform: Linux
                  type: TEST
                  owner: '111122223333'
                  dateCreated: '2026-09-09T18:31:52.888Z'
                  status: ACTIVE
                requestId: fc51d989-ca0a-4ac7-9ca6-fb7786e70955
        '429':
          description: CallRateLimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallRateLimitExceededException'
        '400':
          description: ClientException; InvalidPaginationTokenException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      requestBody:
        content:
          application/json:
            schema:
              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: '#/components/schemas/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. If you don't specify a value, Image
                    Builder returns up to 25 items. The largest page size that you can request is 100 items. A page can contain
                    fewer items than the maximum, with a nextToken to continue paging.
                nextToken:
                  type: string
                  description: A token to specify where to start paginating. Use the nextToken value from a previously truncated
                    response.
            example:
              owner: Self
              filters:
              - name: platform
                values:
                - Linux
      tags:
      - List Components
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: imagebuilder
  schemas:
    CallRateLimitExceededException:
      type: object
      properties:
        message:
          type: string
    ClientException:
      type: object
      properties:
        message:
          type: string
    ComponentVersion:
      type: object
      properties:
        arn:
          type: string
          description: 'The Amazon Resource Name (ARN) of the component. Semantic versioning is included in each object''s
            Amazon Resource Name (ARN), at the level that applies to that object as follows: Versionless ARNs and Name ARNs
            do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified
            as wildcards, for example: x.x.x. Version ARNs have only the first three nodes: .. Build version ARNs have all
            four nodes, and point to a specific build for a specific version of an object.'
        name:
          type: string
          description: The name of the component.
        version:
          type: string
          description: 'The semantic version of the component. The semantic version has four nodes: ../. You can assign values
            for the first three, and can filter on all of them. Assignment: For the first three nodes, you can assign any
            positive integer value, including zero. The upper limit is 2^30-1, or 1073741823, for each node. Image Builder
            automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres
            to the assignment requirements for the nodes that you can assign. For example, you might choose a software version
            pattern, such as 1.0.0, or a date, such as 2021'
        description:
          type: string
          description: The description of the component.
        platform:
          type: string
          enum:
          - Windows
          - Linux
          - macOS
          description: The platform of the component.
        supportedOsVersions:
          type: array
          items:
            type: string
          description: The operating system (OS) version supported by the component. If OS information is available, Image
            Builder performs a prefix match against the base image OS version during image recipe creation.
        type:
          type: string
          enum:
          - BUILD
          - TEST
          description: The type of the component denotes whether the component is used to build the image or only to test
            it.
        owner:
          type: string
          description: The owner of the component. The value is your account ID for components that you own, the sharing account's
            ID for shared components, or Amazon, ThirdParty, or AWSMarketplace.
        dateCreated:
          type: string
          description: The date that the component was created.
        status:
          type: string
          enum:
          - DEPRECATED
          - DISABLED
          - ACTIVE
          description: Describes the current status of the component version.
        productCodes:
          type: array
          items:
            $ref: '#/components/schemas/ProductCodeListItem'
          description: Contains product codes that are used for billing purposes for Amazon Web Services Marketplace components.
    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. The name filter can use a wildcard: web* matches
            names that begin with web, and *web* matches names that contain web. The wildcard isn''t supported in other positions
            or in other filters.'
    ForbiddenException:
      type: object
      properties:
        message:
          type: string
    ListComponentsResponse:
      type: object
      properties:
        requestId:
          type: string
          description: The request ID that uniquely identifies this request.
        componentVersionList:
          type: array
          items:
            $ref: '#/components/schemas/ComponentVersion'
          description: 'The list of component semantic versions. The semantic version has four nodes: ../. You can assign
            values for the first three, and can filter on all of them.'
        nextToken:
          type: string
          description: The next token used for paginated responses. When this field isn't empty, there are additional elements
            that the service hasn't included in this request. Use this token with the next request to retrieve additional
            objects.
    ProductCodeListItem:
      type: object
      properties:
        productCodeId:
          type: string
          description: For Amazon Web Services Marketplace components, this contains the product code ID that can be stamped
            onto an EC2 AMI to ensure that components are billed correctly. If this property is empty, it might mean that
            the component is not published.
        productCodeType:
          type: string
          enum:
          - marketplace
          description: The owner of the product code that's billed. If this property is empty, it might mean that the component
            is not published.
      required:
      - productCodeId
      - productCodeType
    ServiceException:
      type: object
      properties:
        message:
          type: string
    ServiceUnavailableException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/imagebuilder/service/2019-12-02/imagebuilder-2019-12-02.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)