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

# POST /ListTemplateActions

`POST /ListTemplateActions`

List template post migration custom actions.

## Query parameters

- `maxResults` string
- `nextToken` string

## Request body

- object
  - `filters` object — Template post migration custom action filters.
    - `actionIDs` ActionID[] — Action IDs to filter template post migration custom actions by.
  - `launchConfigurationTemplateID` string, required — Launch configuration template ID.
  - `maxResults` integer — Maximum amount of items to return when listing template post migration custom actions.
  - `nextToken` string — Next token to use when listing template post migration custom actions.

## Response `200`

Success

- ListTemplateActionsResponse
  - `items` TemplateActionDocument[] — List of template post migration custom actions.
    - `actionID` string — Template post migration custom action ID.
    - `actionName` string — Template post migration custom action name.
    - `active` boolean — Template post migration custom action active status.
    - `category` 'DISASTER_RECOVERY' | 'OPERATING_SYSTEM' | 'LICENSE_AND_SUBSCRIPTION' | 'VALIDATION' | 'OBSERVABILITY' | 'SECURITY' | 'NETWORKING' | 'CONFIGURATION' | 'BACKUP' | 'OTHER' — Template post migration custom action category.
    - `description` string — Template post migration custom action description.
    - `documentIdentifier` string — Template post migration custom action document identifier.
    - `documentVersion` string — Template post migration custom action document version.
    - `externalParameters` object — Template post migration custom action external parameters.
    - `mustSucceedForCutover` boolean — Template post migration custom action must succeed for cutover.
    - `operatingSystem` string — Operating system eligible for this template post migration custom action.
    - `order` integer — Template post migration custom action order.
    - `parameters` object — Template post migration custom action parameters.
    - `timeoutSeconds` integer — Template post migration custom action timeout in seconds.
  - `nextToken` string — Next token returned when listing template post migration custom actions.

## Other responses

- `480` — UninitializedAccountException
- `481` — ResourceNotFoundException

---

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