import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateReviewTemplateAnswerInput, UpdateReviewTemplateAnswerOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateReviewTemplateAnswerCommand}. */ export interface UpdateReviewTemplateAnswerCommandInput extends UpdateReviewTemplateAnswerInput { } /** * @public * * The output of {@link UpdateReviewTemplateAnswerCommand}. */ export interface UpdateReviewTemplateAnswerCommandOutput extends UpdateReviewTemplateAnswerOutput, __MetadataBearer { } declare const UpdateReviewTemplateAnswerCommand_base: { new (input: UpdateReviewTemplateAnswerCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateReviewTemplateAnswerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Update a review template answer.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WellArchitectedClient, UpdateReviewTemplateAnswerCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import * // const { WellArchitectedClient, UpdateReviewTemplateAnswerCommand } = 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 = { // UpdateReviewTemplateAnswerInput * TemplateArn: "STRING_VALUE", // required * LensAlias: "STRING_VALUE", // required * QuestionId: "STRING_VALUE", // required * SelectedChoices: [ // SelectedChoices * "STRING_VALUE", * ], * ChoiceUpdates: { // ChoiceUpdates * "": { // ChoiceUpdate * Status: "SELECTED" || "NOT_APPLICABLE" || "UNSELECTED", // required * Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE", * Notes: "STRING_VALUE", * }, * }, * Notes: "STRING_VALUE", * IsApplicable: true || false, * Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE", * }; * const command = new UpdateReviewTemplateAnswerCommand(input); * const response = await client.send(command); * // { // UpdateReviewTemplateAnswerOutput * // TemplateArn: "STRING_VALUE", * // LensAlias: "STRING_VALUE", * // Answer: { // ReviewTemplateAnswer * // QuestionId: "STRING_VALUE", * // PillarId: "STRING_VALUE", * // QuestionTitle: "STRING_VALUE", * // QuestionDescription: "STRING_VALUE", * // ImprovementPlanUrl: "STRING_VALUE", * // HelpfulResourceUrl: "STRING_VALUE", * // HelpfulResourceDisplayText: "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", * // ], * // ChoiceAnswers: [ // ChoiceAnswers * // { // ChoiceAnswer * // ChoiceId: "STRING_VALUE", * // Status: "SELECTED" || "NOT_APPLICABLE" || "UNSELECTED", * // Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE", * // Notes: "STRING_VALUE", * // }, * // ], * // IsApplicable: true || false, * // AnswerStatus: "UNANSWERED" || "ANSWERED", * // Notes: "STRING_VALUE", * // Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE", * // }, * // }; * * ``` * * @param UpdateReviewTemplateAnswerCommandInput - {@link UpdateReviewTemplateAnswerCommandInput} * @returns {@link UpdateReviewTemplateAnswerCommandOutput} * @see {@link UpdateReviewTemplateAnswerCommandInput} for command's `input` shape. * @see {@link UpdateReviewTemplateAnswerCommandOutput} 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 ConflictException} (client fault) *

The resource has already been processed, was deleted, or is too large.

* * @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 UpdateReviewTemplateAnswerCommand extends UpdateReviewTemplateAnswerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateReviewTemplateAnswerInput; output: UpdateReviewTemplateAnswerOutput; }; sdk: { input: UpdateReviewTemplateAnswerCommandInput; output: UpdateReviewTemplateAnswerCommandOutput; }; }; }