import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListTestRecommendationsRequest, ListTestRecommendationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListTestRecommendationsCommand}. */ export interface ListTestRecommendationsCommandInput extends ListTestRecommendationsRequest { } /** * @public * * The output of {@link ListTestRecommendationsCommand}. */ export interface ListTestRecommendationsCommandOutput extends ListTestRecommendationsResponse, __MetadataBearer { } declare const ListTestRecommendationsCommand_base: { new (input: ListTestRecommendationsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListTestRecommendationsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the test recommendations for the Resilience Hub application.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ResiliencehubClient, ListTestRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import * // const { ResiliencehubClient, ListTestRecommendationsCommand } = 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 = { // ListTestRecommendationsRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), * assessmentArn: "STRING_VALUE", // required * }; * const command = new ListTestRecommendationsCommand(input); * const response = await client.send(command); * // { // ListTestRecommendationsResponse * // nextToken: "STRING_VALUE", * // testRecommendations: [ // TestRecommendationList // required * // { // TestRecommendation * // recommendationId: "STRING_VALUE", * // referenceId: "STRING_VALUE", // required * // appComponentId: "STRING_VALUE", * // appComponentName: "STRING_VALUE", * // name: "STRING_VALUE", * // intent: "STRING_VALUE", * // risk: "Small" || "Medium" || "High", * // type: "Software" || "Hardware" || "AZ" || "Region", * // description: "STRING_VALUE", * // items: [ // RecommendationItemList * // { // RecommendationItem * // resourceId: "STRING_VALUE", * // targetAccountId: "STRING_VALUE", * // targetRegion: "STRING_VALUE", * // alreadyImplemented: true || false, * // excluded: true || false, * // excludeReason: "AlreadyImplemented" || "NotRelevant" || "ComplexityOfImplementation", * // latestDiscoveredExperiment: { // Experiment * // experimentArn: "STRING_VALUE", * // experimentTemplateId: "STRING_VALUE", * // }, * // discoveredAlarm: { // Alarm * // alarmArn: "STRING_VALUE", * // source: "STRING_VALUE", * // }, * // }, * // ], * // prerequisite: "STRING_VALUE", * // dependsOnAlarms: [ // AlarmReferenceIdList * // "STRING_VALUE", * // ], * // recommendationStatus: "Implemented" || "Inactive" || "NotImplemented" || "Excluded", * // }, * // ], * // }; * * ``` * * @param ListTestRecommendationsCommandInput - {@link ListTestRecommendationsCommandInput} * @returns {@link ListTestRecommendationsCommandOutput} * @see {@link ListTestRecommendationsCommandInput} for command's `input` shape. * @see {@link ListTestRecommendationsCommandOutput} 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 ConflictException} (client fault) *

This exception occurs when a conflict with a previous successful write is detected. This generally occurs * when the previous write did not have time to propagate to the host serving the current * request. A retry (with appropriate backoff logic) is the recommended response to this * exception.

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

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

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

This exception occurs when the specified resource could not be found.

* * @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 ListTestRecommendationsCommand extends ListTestRecommendationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListTestRecommendationsRequest; output: ListTestRecommendationsResponse; }; sdk: { input: ListTestRecommendationsCommandInput; output: ListTestRecommendationsCommandOutput; }; }; }