import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListReviewTemplateAnswersInput, ListReviewTemplateAnswersOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListReviewTemplateAnswersCommand}. */ export interface ListReviewTemplateAnswersCommandInput extends ListReviewTemplateAnswersInput { } /** * @public * * The output of {@link ListReviewTemplateAnswersCommand}. */ export interface ListReviewTemplateAnswersCommandOutput extends ListReviewTemplateAnswersOutput, __MetadataBearer { } declare const ListReviewTemplateAnswersCommand_base: { new (input: ListReviewTemplateAnswersCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListReviewTemplateAnswersCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

List the answers of a review template.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WellArchitectedClient, ListReviewTemplateAnswersCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import * // const { WellArchitectedClient, ListReviewTemplateAnswersCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected"; * const config = {}; // type is WellArchitectedClientConfig * const client = new WellArchitectedClient(config); * const input = { // ListReviewTemplateAnswersInput * TemplateArn: "STRING_VALUE", // required * LensAlias: "STRING_VALUE", // required * PillarId: "STRING_VALUE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListReviewTemplateAnswersCommand(input); * const response = await client.send(command); * // { // ListReviewTemplateAnswersOutput * // TemplateArn: "STRING_VALUE", * // LensAlias: "STRING_VALUE", * // AnswerSummaries: [ // ReviewTemplateAnswerSummaries * // { // ReviewTemplateAnswerSummary * // QuestionId: "STRING_VALUE", * // PillarId: "STRING_VALUE", * // QuestionTitle: "STRING_VALUE", * // Choices: [ // Choices * // { // Choice * // ChoiceId: "STRING_VALUE", * // Title: "STRING_VALUE", * // Description: "STRING_VALUE", * // HelpfulResource: { // ChoiceContent * // DisplayText: "STRING_VALUE", * // Url: "STRING_VALUE", * // }, * // ImprovementPlan: { * // DisplayText: "STRING_VALUE", * // Url: "STRING_VALUE", * // }, * // AdditionalResources: [ // AdditionalResourcesList * // { // AdditionalResources * // Type: "HELPFUL_RESOURCE" || "IMPROVEMENT_PLAN", * // Content: [ // Urls * // { * // DisplayText: "STRING_VALUE", * // Url: "STRING_VALUE", * // }, * // ], * // }, * // ], * // }, * // ], * // SelectedChoices: [ // SelectedChoices * // "STRING_VALUE", * // ], * // ChoiceAnswerSummaries: [ // ChoiceAnswerSummaries * // { // ChoiceAnswerSummary * // ChoiceId: "STRING_VALUE", * // Status: "SELECTED" || "NOT_APPLICABLE" || "UNSELECTED", * // Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE", * // }, * // ], * // IsApplicable: true || false, * // AnswerStatus: "UNANSWERED" || "ANSWERED", * // Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE", * // QuestionType: "PRIORITIZED" || "NON_PRIORITIZED", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListReviewTemplateAnswersCommandInput - {@link ListReviewTemplateAnswersCommandInput} * @returns {@link ListReviewTemplateAnswersCommandOutput} * @see {@link ListReviewTemplateAnswersCommandInput} for command's `input` shape. * @see {@link ListReviewTemplateAnswersCommandOutput} for command's `response` shape. * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User does not have sufficient access to perform this action.

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

There is a problem with the Well-Architected Tool API service.

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

The requested resource was not found.

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

Request was denied due to request throttling.

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

The user input is not valid.

* * @throws {@link WellArchitectedServiceException} *

Base exception class for all service exceptions from WellArchitected service.

* * * @public */ export declare class ListReviewTemplateAnswersCommand extends ListReviewTemplateAnswersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListReviewTemplateAnswersInput; output: ListReviewTemplateAnswersOutput; }; sdk: { input: ListReviewTemplateAnswersCommandInput; output: ListReviewTemplateAnswersCommandOutput; }; }; }