---
title: "POST /ListImagePackages"
method: POST
path: "/ListImagePackages"
---

# POST /ListImagePackages

`POST /ListImagePackages`

List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.

## Query parameters

- `maxResults` string
- `nextToken` string

## Request body

- object
  - `imageBuildVersionArn` string, required — Filter results for the ListImagePackages request by the Image Build Version ARN
  - `maxResults` integer — The maximum items to return in a request.
  - `nextToken` string — A token to specify where to start paginating. This is the NextToken from a previously truncated response.

## Response `200`

Success

- ListImagePackagesResponse
  - `requestId` string — The request ID that uniquely identifies this request.
  - `imagePackageList` ImagePackage[] — The list of Image Packages returned in the response.
    - `packageName` string — The name of the package as reported to the operating system package manager.
    - `packageVersion` string — The version of the package as reported to the operating system package manager.
  - `nextToken` string — The next token used for paginated responses. When this field isn't empty, there are additional elements that the service has'ot included in this request. Use this token with the next request to retrieve additional objects.

## Other responses

- `480` — ServiceException
- `481` — ClientException
- `482` — ServiceUnavailableException
- `483` — InvalidRequestException
- `484` — InvalidPaginationTokenException
- `485` — ResourceNotFoundException
- `486` — ForbiddenException
- `487` — CallRateLimitExceededException

---

[API](https://skmtc.net/aws/apis/imagebuilder.md) · [All operations](https://skmtc.net/aws/apis/imagebuilder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/imagebuilder/versions/cfe68d8f8262/schema)
