import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListRecommendationTemplatesRequest, ListRecommendationTemplatesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListRecommendationTemplatesCommand}. */ export interface ListRecommendationTemplatesCommandInput extends ListRecommendationTemplatesRequest { } /** * @public * * The output of {@link ListRecommendationTemplatesCommand}. */ export interface ListRecommendationTemplatesCommandOutput extends ListRecommendationTemplatesResponse, __MetadataBearer { } declare const ListRecommendationTemplatesCommand_base: { new (input: ListRecommendationTemplatesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListRecommendationTemplatesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the recommendation templates for the Resilience Hub applications.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ResiliencehubClient, ListRecommendationTemplatesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import * // const { ResiliencehubClient, ListRecommendationTemplatesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import * // import type { ResiliencehubClientConfig } from "@aws-sdk/client-resiliencehub"; * const config = {}; // type is ResiliencehubClientConfig * const client = new ResiliencehubClient(config); * const input = { // ListRecommendationTemplatesRequest * assessmentArn: "STRING_VALUE", * reverseOrder: true || false, * status: [ // RecommendationTemplateStatusList * "Pending" || "InProgress" || "Failed" || "Success", * ], * recommendationTemplateArn: "STRING_VALUE", * name: "STRING_VALUE", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListRecommendationTemplatesCommand(input); * const response = await client.send(command); * // { // ListRecommendationTemplatesResponse * // nextToken: "STRING_VALUE", * // recommendationTemplates: [ // RecommendationTemplateList * // { // RecommendationTemplate * // templatesLocation: { // S3Location * // bucket: "STRING_VALUE", * // prefix: "STRING_VALUE", * // }, * // assessmentArn: "STRING_VALUE", // required * // appArn: "STRING_VALUE", * // recommendationIds: [ // RecommendationIdList * // "STRING_VALUE", * // ], * // recommendationTypes: [ // RenderRecommendationTypeList // required * // "Alarm" || "Sop" || "Test", * // ], * // format: "CfnYaml" || "CfnJson", // required * // recommendationTemplateArn: "STRING_VALUE", // required * // message: "STRING_VALUE", * // status: "Pending" || "InProgress" || "Failed" || "Success", // required * // name: "STRING_VALUE", // required * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // needsReplacements: true || false, * // }, * // ], * // }; * * ``` * * @param ListRecommendationTemplatesCommandInput - {@link ListRecommendationTemplatesCommandInput} * @returns {@link ListRecommendationTemplatesCommandOutput} * @see {@link ListRecommendationTemplatesCommandInput} for command's `input` shape. * @see {@link ListRecommendationTemplatesCommandOutput} for command's `response` shape. * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have permissions to perform the requested operation. The user or role that is * making the request must have at least one IAM permissions policy attached that grants the * required permissions.

* * @throws {@link InternalServerException} (server fault) *

This exception occurs when there is an internal failure in the Resilience Hub * service.

* * @throws {@link ThrottlingException} (client fault) *

This exception occurs when you have exceeded the limit on the number of requests per second.

* * @throws {@link ValidationException} (client fault) *

This exception occurs when a request is not valid.

* * @throws {@link ResiliencehubServiceException} *

Base exception class for all service exceptions from Resiliencehub service.

* * * @public */ export declare class ListRecommendationTemplatesCommand extends ListRecommendationTemplatesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListRecommendationTemplatesRequest; output: ListRecommendationTemplatesResponse; }; sdk: { input: ListRecommendationTemplatesCommandInput; output: ListRecommendationTemplatesCommandOutput; }; }; }