---
title: "GET /list-recommendation-templates"
method: GET
path: "/list-recommendation-templates"
---

# GET /list-recommendation-templates

`GET /list-recommendation-templates`

Lists the recommendation templates for the Resilience Hub applications.

## Query parameters

- `assessmentArn` string
- `maxResults` integer
- `name` string
- `nextToken` string
- `recommendationTemplateArn` string
- `reverseOrder` boolean
- `status` RecommendationTemplateStatus[]

## Response `200`

Success

- ListRecommendationTemplatesResponse
  - `nextToken` string — Token for the next set of results, or null if there are no more results.
  - `recommendationTemplates` RecommendationTemplate[] — The recommendation templates for the Resilience Hub applications.
    - `appArn` string — Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.
    - `assessmentArn` string, required — Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app-assessment/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.
    - `endTime` string, date-time — The end time for the action.
    - `format` 'CfnYaml' | 'CfnJson', required — <p>Format of the recommendation template.</p> <dl> <dt>CfnJson</dt> <dd> <p>The template is CloudFormation JSON.</p> </dd> <dt>CfnYaml</dt> <dd> <p>The template is CloudFormation YAML.</p> </dd> </dl>
    - `message` string — Message for the recommendation template.
    - `name` string, required — Name for the recommendation template.
    - `needsReplacements` boolean — Indicates if replacements are needed.
    - `recommendationIds` Uuid[] — Identifiers for the recommendations used in the recommendation template.
    - `recommendationTemplateArn` string, required — Amazon Resource Name (ARN) for the recommendation template.
    - `recommendationTypes` RenderRecommendationType[], required — <p>An array of strings that specify the recommendation template type or types.</p> <dl> <dt>Alarm</dt> <dd> <p>The template is an <a>AlarmRecommendation</a> template.</p> </dd> <dt>Sop</dt> <dd> <p>The template is a <a>SopRecommendation</a> template.</p> </dd> <dt>Test</dt> <dd> <p>The template is a <a>TestRecommendation</a> template.</p> </dd> </dl>
    - `startTime` string, date-time — The start time for the action.
    - `status` 'Pending' | 'InProgress' | 'Failed' | 'Success', required — Status of the action.
    - `tags` object — Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
    - `templatesLocation` object — The file location of the template.
      - `bucket` string — The name of the Amazon S3 bucket.
      - `prefix` string — The prefix for the Amazon S3 bucket.

## Other responses

- `480` — InternalServerException
- `481` — ThrottlingException
- `482` — ValidationException
- `483` — AccessDeniedException

---

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